[Quantproject-developers] QuantProject/b7_Scripts/WalkForwardTesting/LinearRegression/InSampleChoos
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2011-01-25 21:05:25
|
Update of /cvsroot/quantproject/QuantProject/b7_Scripts/WalkForwardTesting/LinearRegression/InSampleChoosers/FitnessEvaluation In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv5057/b7_Scripts/WalkForwardTesting/LinearRegression/InSampleChoosers/FitnessEvaluation Modified Files: LinearRegressionSetUpManager.cs Log Message: Bug fixed when setting up the constant regressor Index: LinearRegressionSetUpManager.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/WalkForwardTesting/LinearRegression/InSampleChoosers/FitnessEvaluation/LinearRegressionSetUpManager.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** LinearRegressionSetUpManager.cs 28 Mar 2010 16:08:28 -0000 1.1 --- LinearRegressionSetUpManager.cs 25 Jan 2011 21:05:17 -0000 1.2 *************** *** 61,65 **** private void addConstantRegressor( double[,] regressors ) { ! for( int j = 0 ; j < regressors.GetLength( 1 ) ; j++ ) regressors[ j , 0 ] = 1; } --- 61,65 ---- private void addConstantRegressor( double[,] regressors ) { ! for( int j = 0 ; j < regressors.GetLength( 0 ) ; j++ ) regressors[ j , 0 ] = 1; } |