yossi-cohen / preferential-attachment

0 stars 0 forks source link

Experiment 3.1: Compute prediction error. #7

Closed yossigil closed 3 years ago

yossigil commented 3 years ago

So far, we computed the error (MSE/MAE) of λ comparing the learned on with the actual one. In this experiment, we check we test the error in prediction. So,

Part I

Let *V = (H[k] - M Poisson(λ,k)|**

Then V is parameterized by

  1. k, the current bin
  2. i=1,...,N; sample number.

All computation must include therefore K*N values of V.

Objective: compute MAE(V), MSE(V), MEAN_BIAS(V), with respect to all these values.

Part II

Repeat with λ computed by the expectation of the sample, i.e., (Σ_{0 <= k <= K) k*H[k])/M

Part III