Here is the dataset to be used to train the model.
data = RandomReal[{-1, 1}, {100, 10}]; (*100 samples with 10 features each*)
(*Normalize each feature to be standard gaussian N(0,1)*)
μ = Mean[data]
σ = StandardDeviation[data]
normaldata = ((# - μ)/σ) & /@ data;
(*Plot one the first feature, but the plot does not look like normal distribution!*)
ListPlot[normaldata[[1]], Joined -> True]
What is the problem?
normaldata[[All, 1]]
? Also, if you want to generate normally distributed multivariate data, you should look intoMultinormalDistribution
:RandomReal
generates uniformly distributed data, as Belisarius mentioned. $\endgroup$Graphics[{Point[{#, 0}] & /@ normaldata[[1]], {Red, PointSize[0.02], Point[{\[Mu][[1]], 0}]}}]
. $\endgroup$