Commit 6573130e authored by Olegs NIKISINS's avatar Olegs NIKISINS

Merge branch 'small_fixe' into 'master'

Avoids feature blow-up when std==0.

See merge request !35
parents d006acdc d83cccba
Pipeline #17372 passed with stages
in 22 minutes and 21 seconds
......@@ -270,7 +270,9 @@ def mean_std_normalize(features,
features_mean = np.mean(features, axis=0)
features_std = np.std(features, axis=0)
features_std[features_std==0.0]=1.0
row_norm_list = []
for row in features: # row is a sample
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment