Changeset 2570 for trunk/sources/HeuristicLab.ArtificialNeuralNetworks/3.2
- Timestamp:
- 12/23/09 13:30:40 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ArtificialNeuralNetworks/3.2/MultiLayerPerceptronRegression.cs
r2562 r2570 124 124 if (!engine.Terminated) throw new InvalidOperationException("The algorithm is still running. Wait until the algorithm is terminated to retrieve the result."); 125 125 IScope bestModelScope = engine.GlobalScope; 126 return Create LRModel(bestModelScope);126 return CreateMlpModel(bestModelScope); 127 127 } 128 128 } … … 335 335 336 336 SequentialSubScopesProcessor seqSubScopesProc = new SequentialSubScopesProcessor(); 337 338 337 SequentialProcessor seq = new SequentialProcessor(); 339 340 338 seqSubScopesProc.AddSubOperator(seq); 341 339 … … 369 367 370 368 seq.AddSubOperator(CreateModelAnalyzerOperator()); 371 372 373 374 375 369 op.OperatorGraph.AddOperator(seqSubScopesProc); 376 370 op.OperatorGraph.InitialOperator = seqSubScopesProc; … … 382 376 } 383 377 384 protected virtual IAnalyzerModel Create LRModel(IScope bestModelScope) {378 protected virtual IAnalyzerModel CreateMlpModel(IScope bestModelScope) { 385 379 var model = new AnalyzerModel(); 386 CreateSpecific LRModel(bestModelScope, model);380 CreateSpecificMlpModel(bestModelScope, model); 387 381 #region variable impacts 388 382 ItemList qualityImpacts = bestModelScope.GetVariableValue<ItemList>(ModelingResult.VariableQualityImpact.ToString(), false); … … 397 391 } 398 392 399 protected virtual void CreateSpecific LRModel(IScope bestModelScope, IAnalyzerModel model) {393 protected virtual void CreateSpecificMlpModel(IScope bestModelScope, IAnalyzerModel model) { 400 394 DefaultRegressionOperators.PopulateAnalyzerModel(bestModelScope, model); 401 395 }
Note: See TracChangeset
for help on using the changeset viewer.