Changeset 2242


Ignore:
Timestamp:
08/05/09 13:11:07 (12 years ago)
Author:
gkronber
Message:

Changed variable impact calculation operators to use the actual training sub-set instead of the full training set. #717 (SVM regression engine takes a very long time to finish)

Location:
trunk/sources
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/BaseClasses/AlgorithmBase.cs

    r2235 r2242  
    427427      // calculate and set variable impacts
    428428      VariableEvaluationImpactCalculator evaluationImpactCalculator = new VariableEvaluationImpactCalculator();
     429      evaluationImpactCalculator.GetVariableInfo("TrainingSamplesStart").ActualName = "ActualTrainingSamplesStart";
     430      evaluationImpactCalculator.GetVariableInfo("TrainingSamplesEnd").ActualName = "ActualTrainingSamplesEnd";
    429431      VariableQualityImpactCalculator qualityImpactCalculator = new VariableQualityImpactCalculator();
     432      qualityImpactCalculator.GetVariableInfo("TrainingSamplesStart").ActualName = "ActualTrainingSamplesStart";
     433      qualityImpactCalculator.GetVariableInfo("TrainingSamplesEnd").ActualName = "ActualTrainingSamplesEnd";
     434       
    430435
    431436      evaluationImpactCalculator.Apply(bestModelScope);
  • trunk/sources/HeuristicLab.LinearRegression/3.2/LinearRegression.cs

    r2223 r2242  
    238238
    239239      HeuristicLab.GP.StructureIdentification.VariableEvaluationImpactCalculator evalImpactCalc = new HeuristicLab.GP.StructureIdentification.VariableEvaluationImpactCalculator();
     240      evalImpactCalc.GetVariableInfo("TrainingSamplesStart").ActualName = "ActualTrainingSamplesStart";
     241      evalImpactCalc.GetVariableInfo("TrainingSamplesEnd").ActualName = "ActualTrainingSamplesEnd";
    240242      evalImpactCalc.GetVariableInfo("FunctionTree").ActualName = "LinearRegressionModel";
    241243      HeuristicLab.Modeling.VariableQualityImpactCalculator qualImpactCalc = new HeuristicLab.GP.StructureIdentification.VariableQualityImpactCalculator();
     244      qualImpactCalc.GetVariableInfo("TrainingSamplesStart").ActualName = "ActualTrainingSamplesStart";
     245      qualImpactCalc.GetVariableInfo("TrainingSamplesEnd").ActualName = "ActualTrainingSamplesEnd";
    242246      qualImpactCalc.GetVariableInfo("FunctionTree").ActualName = "LinearRegressionModel";
    243247      seqProc.AddSubOperator(trainingMSE);
  • trunk/sources/HeuristicLab.SupportVectorMachines/3.2/SupportVectorRegression.cs

    r2223 r2242  
    404404      SequentialProcessor seqProc = new SequentialProcessor();
    405405      VariableEvaluationImpactCalculator evalImpactCalc = new VariableEvaluationImpactCalculator();
     406      evalImpactCalc.GetVariableInfo("TrainingSamplesStart").ActualName = "ActualTrainingSamplesStart";
     407      evalImpactCalc.GetVariableInfo("TrainingSamplesEnd").ActualName = "ActualTrainingSamplesEnd";
    406408      evalImpactCalc.GetVariableInfo("SVMModel").ActualName = "Model";
    407409      VariableQualityImpactCalculator qualImpactCalc = new VariableQualityImpactCalculator();
     410      qualImpactCalc.GetVariableInfo("TrainingSamplesStart").ActualName = "ActualTrainingSamplesStart";
     411      qualImpactCalc.GetVariableInfo("TrainingSamplesEnd").ActualName = "ActualTrainingSamplesEnd";
    408412      qualImpactCalc.GetVariableInfo("SVMModel").ActualName = "Model";
    409413
Note: See TracChangeset for help on using the changeset viewer.