Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~205 People Reached
Favorite Forums
Favorite Tags
c++ x 2
Member Avatar for nirav bhatt

In the following code, how RAND_MAX works and how the poisson distribution value generated??? what will be the value of RAND_MAX in following code?? long poisson(double lambda) { double u = double(rand()) / RAND_MAX; long k = 0; double currentprob; while (u >= (currentprob = pow(lambda,k) * exp(-lambda) / factorial(k))) …

Member Avatar for ArkM
0
87
Member Avatar for nirav bhatt

[CODE] #include <cstdlib> #include <iostream> #include <string> #include <math.h> #include "utils.h" #include <float.h> #include "onboostnn.h" //using namespace std; /* Constructor function. This sets the training example file and number of base models. It also sets to NULL other variables to be used later. */ onboostnn::onboostnn(datafile* examples_to_train, long new_num_base_models, int new_num_epochs, …

Member Avatar for ArkM
0
118