Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/16/09 13:13:52 (15 years ago)
Author:
gkronber
Message:

Fixed problems with classification algorithms. #746 (CEDMA server is not compatible with new data-modeling algorithms)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.LinearRegression/3.2/LinearRegression.cs

    r2360 r2363  
    6060      get {
    6161        IOperator main = GetMainOperator();
    62         return main.SubOperators[2];
     62        CombinedOperator probInjector = (CombinedOperator)main.SubOperators[2];
     63        return probInjector.OperatorGraph.InitialOperator.SubOperators[0];
    6364      }
    6465      set {
    6566        IOperator main = GetMainOperator();
    66         main.RemoveSubOperator(2);
    67         main.AddSubOperator(value, 2);
     67        CombinedOperator probInjector = (CombinedOperator)main.SubOperators[2];
     68        probInjector.OperatorGraph.InitialOperator.RemoveSubOperator(0);
     69        probInjector.OperatorGraph.InitialOperator.AddSubOperator(value, 0);
    6870      }
    6971    }
Note: See TracChangeset for help on using the changeset viewer.