Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/08/09 16:22:35 (15 years ago)
Author:
gkronber
Message:

Fixed bugs related to time series prognosis with SVMs. And fixed an exception when trying to save time-series models to the database. #776 (Error when trying to save time-series prognosis predictors to the database)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Modeling/3.2/AnalyzerModel.cs

    r2371 r2421  
    112112
    113113    public IEnumerable<KeyValuePair<ModelingResult, double>> GetVariableResults(string variableName) {
    114       return variableResults[variableName];
     114      if (variableResults.ContainsKey(variableName))
     115        return variableResults[variableName];
     116      else return new KeyValuePair<ModelingResult, double>[] { };
    115117    }
    116118
Note: See TracChangeset for help on using the changeset viewer.