Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/04/16 22:29:23 (8 years ago)
Author:
gkronber
Message:

#2604: set default target variable to string.Empty in AfterDeserialization hook for regression and classification models and changed a few ctor calls to correctly pass the target variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationModel.cs

    r13941 r13992  
    5555    }
    5656
     57    [StorableHook(HookType.AfterDeserialization)]
     58    private void AfterDeserialization() {
     59      // BackwardsCompatibility3.3
     60      #region Backwards compatible code, remove with 3.4
     61      targetVariable = string.Empty;
     62      #endregion
     63    }
     64
    5765    public abstract IEnumerable<double> GetEstimatedClassValues(IDataset dataset, IEnumerable<int> rows);
    5866    public abstract IClassificationSolution CreateClassificationSolution(IClassificationProblemData problemData);
Note: See TracChangeset for help on using the changeset viewer.