Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/14/09 19:56:04 (15 years ago)
Author:
gkronber
Message:
  • introduced a variablename to index mapping for SVM models (to make sure we can use the model for prediction in the model analyzer)
  • added support to enable and disable algorithms in the dispatcher and removed DispatcherBase
  • fixed bugs when calculating variable impacts and reading the final model of GP algorithms

#722 (IModel should provide a Predict() method to get predicted values for an input vector)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Server/3.3/ExecuterBase.cs

    r2238 r2290  
    5858    }
    5959
     60    public int CalculatedJobs {
     61      get;
     62      set;
     63    }
     64    public int StoredJobs {
     65      get;
     66      set;
     67    }
     68
    6069    public ExecuterBase(IDispatcher dispatcher, IModelingDatabase databaseService) {
     70      CalculatedJobs = 0;
    6171      maxActiveJobs = 10;
    6272      this.dispatcher = dispatcher;
    6373      this.databaseService = databaseService;
     74      StoredJobs = databaseService.GetAllModels().Count();
    6475    }
    6576
     
    8394
    8495    protected void StoreResults(HeuristicLab.Modeling.IAlgorithm finishedAlgorithm) {
     96      CalculatedJobs++;
    8597      databaseService.Persist(finishedAlgorithm);
     98      StoredJobs++;
     99      OnChanged();
    86100    }
    87101
Note: See TracChangeset for help on using the changeset viewer.