Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/11 18:07:25 (13 years ago)
Author:
mkommend
Message:

#1418: Added possibility to import data from csv files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/MultiObjective/SymbolicClassificationMultiObjectiveProblem.cs

    r5618 r5623  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
     24using HeuristicLab.Data;
    2425using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    25 using HeuristicLab.Data;
    2626
    2727namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Classification {
     
    3939    public SymbolicClassificationMultiObjectiveProblem()
    4040      : base(new ClassificationProblemData(), new SymbolicClassificationMultiObjectiveMeanSquaredErrorTreeSizeEvaluator(), new SymbolicDataAnalysisExpressionTreeCreator()) {
    41         Maximization = new BoolArray(new bool[] { false, false });
     41      Maximization = new BoolArray(new bool[] { false, false });
    4242      MaximumSymbolicExpressionTreeDepth.Value = 8;
    4343      MaximumSymbolicExpressionTreeLength.Value = 25;
     
    5353      }
    5454    }
     55
     56    public override void ImportProblemDataFromFile(string fileName) {
     57      ClassificationProblemData problemData = ClassificationProblemData.ImportFromFile(fileName);
     58      ProblemData = problemData;
     59    }
    5560  }
    5661}
Note: See TracChangeset for help on using the changeset viewer.