Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/10/09 14:11:37 (15 years ago)
Author:
gkronber
Message:

Added properties for the separation in training/validation/test set to HL.Modeling.IModel. #712

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

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Modeling/3.2/IModel.cs

    r2223 r2270  
    3131    string TargetVariable { get; }
    3232    IEnumerable<string> InputVariables { get; }
     33    int TrainingSamplesStart { get; set; }
     34    int TrainingSamplesEnd { get; set; }
     35    int ValidationSamplesStart { get; set; }
     36    int ValidationSamplesEnd { get; set; }
     37    int TestSamplesStart { get; set; }
     38    int TestSamplesEnd { get; set; }
    3339    double TrainingMeanSquaredError { get; }
    3440    double ValidationMeanSquaredError { get; }
  • trunk/sources/HeuristicLab.Modeling/3.2/Model.cs

    r2223 r2270  
    4646      get { return inputVariables; }
    4747    }
     48
     49    public int TrainingSamplesStart { get; set; }
     50    public int TrainingSamplesEnd { get; set; }
     51    public int ValidationSamplesStart { get; set; }
     52    public int ValidationSamplesEnd { get; set; }
     53    public int TestSamplesStart { get; set; }
     54    public int TestSamplesEnd { get; set; }
    4855
    4956    public void AddInputVariables(string variableName) {
Note: See TracChangeset for help on using the changeset viewer.