Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/15/16 15:07:59 (9 years ago)
Author:
mkommend
Message:

#2590: Added model weights for ensembles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionEnsembleModel.cs

    r13700 r13704  
    2525  public interface IRegressionEnsembleModel : IRegressionModel {
    2626    void Add(IRegressionModel model);
     27    void Add(IRegressionModel model, double weight);
     28    void AddRange(IEnumerable<IRegressionModel> models);
     29    void AddRange(IEnumerable<IRegressionModel> models, IEnumerable<double> weights);
     30
    2731    void Remove(IRegressionModel model);
     32    void RemoveRange(IEnumerable<IRegressionModel> models);
    2833
    2934    IEnumerable<IRegressionModel> Models { get; }
     35    IEnumerable<double> ModelWeights { get; }
     36
     37    double GetModelWeight(IRegressionModel model);
     38    void SetModelWeight(IRegressionModel model, double weight);
    3039
    3140    bool AverageModelEstimates { get; set; }
    32     event EventHandler AverageModelEstimatesChanged;
     41
     42    event EventHandler Changed;
    3343
    3444    IEnumerable<IEnumerable<double>> GetEstimatedValueVectors(IDataset dataset, IEnumerable<int> rows);
Note: See TracChangeset for help on using the changeset viewer.