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.SupportVectorMachines/3.2/SupportVectorRegression.cs

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