Changeset 9021 for trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Clustering/CSV/ClusteringCSVInstanceProvider.cs
- Timestamp:
- 12/11/12 12:27:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Clustering/CSV/ClusteringCSVInstanceProvider.cs
r8877 r9021 100 100 // turn of input variables that are constant in the training partition 101 101 var allowedInputVars = new List<string>(); 102 int trainingPartEnd = (csvFileParser.Rows * type.Training ) / 100;102 int trainingPartEnd = (csvFileParser.Rows * type.TrainingPercentage) / 100; 103 103 var trainingIndizes = Enumerable.Range(0, trainingPartEnd); 104 104 if (trainingIndizes.Count() >= 2) {
Note: See TracChangeset
for help on using the changeset viewer.