Skip to content

Commit 006965d

Browse files
Update NormalizeColumnSng.cs
1 parent 07b273f commit 006965d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.ML.Data/Transforms/NormalizeColumnSng.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,12 +452,12 @@ public Double[] MeanSquareError
452452
{
453453
get { return _m2.Select((m2, i) => m2 / _cnz[i]).ToArray(); }
454454
}
455+
455456
public Double[] SampleVariance
456457
{
457458
get { return _m2.Select((m2, i) => m2 / Math.Max(0, _cnz[i] - 1)).ToArray(); }
458459
}
459460

460-
461461
public Double[] M2
462462
{
463463
get { return _m2; }

0 commit comments

Comments
 (0)