Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/16 19:56:11 (8 years ago)
Author:
bburlacu
Message:

#2604: Revert changes to DataAnalysisSolution and IDataAnalysisSolution and implement the desired properties in model classes that implement IDataAnalysisModel, IRegressionModel and IClassificationModel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisModel.cs

    r12012 r13921  
    2121
    2222using System;
     23using System.Collections.Generic;
    2324using System.Drawing;
     25using System.Linq;
    2426using HeuristicLab.Common;
    2527using HeuristicLab.Core;
     
    5658      get { return interpreter; }
    5759    }
     60
     61    public IEnumerable<string> VariablesUsedForPrediction {
     62      get {
     63        return
     64          SymbolicExpressionTree.IterateNodesPrefix()
     65            .OfType<VariableTreeNode>()
     66            .Select(x => x.VariableName)
     67            .Distinct()
     68            .OrderBy(x => x);
     69      }
     70    }
     71
    5872    #endregion
    5973
     
    160174    }
    161175    #endregion
     176
    162177  }
    163178}
Note: See TracChangeset for help on using the changeset viewer.