Skip to content

Commit 7c567a7

Browse files
2 parents a9c4a85 + 314bc0c commit 7c567a7

14 files changed

Lines changed: 1543 additions & 461 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/.vs
2+
/packages
23
/Numerics/bin
34
/Numerics/obj
45
/Test_Numerics/bin
Binary file not shown.

‎Numerics/.vs/Numerics/v17/.suo‎

5.5 KB
Binary file not shown.

‎Numerics/.vs/Numerics/v17/.wsuo‎

5 KB
Binary file not shown.

‎Numerics/Data/Regression/LinearRegression.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public List<string> Summary()
229229
/// </summary>
230230
private void FitSVD()
231231
{
232-
double meanY = Statistics.Statistics.Mean(Y.ToArray());
232+
double meanY = Statistics.Statistics.Mean(Y.Array);
233233
int i, j, k, n = X.NumberOfRows, m = X.NumberOfColumns;
234234
double sse = 0.0, sst = 0.0, sum = 0.0;
235235
DegreesOfFreedom = n - m;

0 commit comments

Comments
 (0)