Ignore:
Timestamp:
02/16/17 12:15:11 (4 years ago)
Author:
mkommend
Message:

#2205: Worked on optimization networks for integrated machine learning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OptimizationNetworks/HeuristicLab.Networks.IntegratedOptimization.MachineLearning/FeatureSelectionNetwork.cs

    r14635 r14675  
    6969
    7070      var regressionAlgorithm = CreateRegressionAlgorithm();
    71       //TODO set empty regression problem
    72 
    7371      RegressionAlgorithmNode = new OrchestratedAlgorithmNode("Regression");
    7472      RegressionAlgorithmNode.Algorithm = regressionAlgorithm;
     
    8179      var problem = new OrchestratedBinaryProblem(Orchestrator, 0, false);
    8280      problem.Encoding.SolutionCreator = new RandomBinaryVectorCreator() { TrueProbability = new DoubleValue(0.2) };
    83 
    8481
    8582      var osga = new OffspringSelectionGeneticAlgorithm();
     
    126123      var msg = FeatureSelectionAlgorithmNode.OrchestrationPort.PrepareMessage();
    127124      msg["OrchestrationMessage"] = new EnumValue<OrchestrationMessage>(OrchestrationMessage.Stop);
    128       FeatureSelectionAlgorithmNode.OrchestrationPort.ReceiveMessage(msg, new CancellationToken()); ;
     125      FeatureSelectionAlgorithmNode.OrchestrationPort.ReceiveMessage(msg, new CancellationToken());
     126      RegressionAlgorithmNode.Algorithm.Runs.Clear();
    129127    }
    130128  }
Note: See TracChangeset for help on using the changeset viewer.