Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/19/11 02:22:45 (14 years ago)
Author:
mkommend
Message:

#1418:

  • Worked on IntRange and DoubleRange
  • Updated evaluators, analyzers, problems and problem data to use IntRanges
  • Removed properties to access the value of LookupParameter
  • Corrected files.txt
Location:
branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine/SupportVectorClassification.cs

    r5690 r5759  
    2121
    2222using System;
     23using System.Collections.Generic;
    2324using System.Linq;
    2425using HeuristicLab.Common;
     
    2930using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3031using HeuristicLab.Problems.DataAnalysis;
    31 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    32 using System.Collections.Generic;
    33 using HeuristicLab.Problems.DataAnalysis.Symbolic;
    3432
    3533namespace HeuristicLab.Algorithms.DataAnalysis {
     
    124122      Dataset dataset = problemData.Dataset;
    125123      string targetVariable = problemData.TargetVariable;
    126       int start = problemData.TrainingPartitionStart.Value;
    127       int end = problemData.TrainingPartitionEnd.Value;
     124      int start = problemData.TrainingPartition.Start;
     125      int end = problemData.TrainingPartition.End;
    128126      IEnumerable<int> rows = Enumerable.Range(start, end - start);
    129127
  • branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine/SupportVectorRegression.cs

    r5649 r5759  
    132132      Dataset dataset = problemData.Dataset;
    133133      string targetVariable = problemData.TargetVariable;
    134       int start = problemData.TrainingPartitionStart.Value;
    135       int end = problemData.TrainingPartitionEnd.Value;
     134      int start = problemData.TrainingPartition.Start;
     135      int end = problemData.TrainingPartition.End;
    136136      IEnumerable<int> rows = Enumerable.Range(start, end - start);
    137137
Note: See TracChangeset for help on using the changeset viewer.