Skip to main content

Questions tagged [functions]

4 votes
1 answer
632 views

The concept of a function includes three major components: a set called “domain”, a set called "codomain" and a rule which for each element of a domain points to (puts into a correspondence)...
overexchange's user avatar
3 votes
1 answer
69 views

I'm trying to use Excel to determine the outcomes of hockey games. In the game that I'm simulating, I have each team has a goals for and standard deviation which I call in this function: (NORM.INV(...
user183910's user avatar
0 votes
1 answer
42 views

What are some good sources for learning how to deal with functions in Python and R. I have used them a lot of times and they can be a bit challenging. I like to write out a plan of what I want done ...
Salem Abdulkerim's user avatar
0 votes
0 answers
29 views

I am trying to write a NN for estimating a f:R^n --> R^m. My problem is how to train network. I mean if I want to define a dataloader, how to attach X \in R^n to its related Y \in R^m ? Because ...
Ali.A's user avatar
  • 199
1 vote
3 answers
7k views

I’m coming from a math background and learning some data science. I am very new to some details of this stuff. Working with colab, I’m trying to organize my sample simulating functions in such a way ...
Paul's user avatar
  • 11
1 vote
1 answer
111 views

In pandas, if I use series.apply() to apply a function with an inner function definition, for example: ...
Alex's user avatar
  • 13
1 vote
0 answers
32 views

The function in question is (from Appendix B, Proof of proposition 2.1 from Posterior Regularization for Structured Latent Variable Models): $$q(\textbf{Z}) = \frac{p_{\theta}(\textbf{Z}|\textbf{X})...
Martin G's user avatar
  • 131
0 votes
2 answers
22k views

I have 2 classes model and impute. I am defining a function mode_impute inside ...
spectre's user avatar
  • 2,328