Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/13/09 17:28:07 (15 years ago)
Author:
gkronber
Message:

Worked on #722 (IModel should provide a Predict() method to get predicted values for an input vector).
At the same time removed parameter PunishmentFactor from GP algorithms (this parameter is internal to TreeEvaluators now).

Location:
trunk/sources/HeuristicLab.Modeling/3.2
Files:
3 added
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Modeling/3.2/HeuristicLab.Modeling-3.2.csproj

    r2226 r2285  
    8282  </ItemGroup>
    8383  <ItemGroup>
     84    <Compile Include="AnalyzerModel.cs" />
    8485    <Compile Include="ClassificationProblemInjector.cs" />
    8586    <Compile Include="DoubleExtensions.cs" />
     87    <Compile Include="IAnalyzerModel.cs" />
    8688    <Compile Include="VariableImpactCalculatorBase.cs" />
    8789    <Compile Include="VariableEvaluationImpactCalculator.cs" />
    88     <Compile Include="Model.cs" />
    89     <Compile Include="IModel.cs" />
     90    <Compile Include="IPredictor.cs" />
    9091    <Compile Include="SimpleEvaluatorBase.cs" />
    9192    <Compile Include="ITimeSeriesAlgorithm.cs" />
  • trunk/sources/HeuristicLab.Modeling/3.2/IAlgorithm.cs

    r1922 r2285  
    3434    int TargetVariable { get; set; }
    3535    IEngine Engine { get; }
    36     IModel Model { get; }
     36    IAnalyzerModel Model { get; }
    3737  }
    3838}
  • trunk/sources/HeuristicLab.Modeling/3.2/ProblemInjectorView.cs

    r1856 r2285  
    9696          dataset.Rows = parser.Rows;
    9797          dataset.Columns = parser.Columns;
    98           for (int i = 0; i < parser.VariableNames.Length; i++) {
    99             dataset.SetVariableName(i, parser.VariableNames[i]);
    100           }
    10198          dataset.Name = parser.ProblemName;
    10299          dataset.Samples = new double[dataset.Rows * dataset.Columns];
     
    110107          TrySetVariable("TestSamplesEnd", parser.TestSamplesEnd);
    111108          TrySetVariable("TargetVariable", parser.TargetVariable);
     109
     110          for (int i = 0; i < parser.VariableNames.Length; i++) {
     111            dataset.SetVariableName(i, parser.VariableNames[i]);
     112          }
    112113
    113114          IVariable var = ProblemInjector.GetVariable("AllowedFeatures");
Note: See TracChangeset for help on using the changeset viewer.