Changeset 13368 for branches/PersistenceOverhaul/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneRClassificationModel.cs
- Timestamp:
- 11/24/15 17:08:13 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceOverhaul/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneRClassificationModel.cs
r13098 r13368 1 #region License Information1 #region License Information 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 29 29 30 30 namespace HeuristicLab.Algorithms.DataAnalysis { 31 [StorableClass ]31 [StorableClass("A01F0098-381E-4B8E-80D3-A579A04C50A6")] 32 32 [Item("OneR Classification Model", "A model that uses intervals for one variable to determine the class.")] 33 33 public class OneRClassificationModel : NamedItem, IClassificationModel { … … 83 83 84 84 // uses sorting to return the values in the order of rows, instead of using nested for loops 85 // to avoid O(n ²) runtime85 // to avoid O(n²) runtime 86 86 public IEnumerable<double> GetEstimatedClassValues(IDataset dataset, IEnumerable<int> rows) { 87 87 var values = dataset.GetDoubleValues(Variable, rows).ToArray();
Note: See TracChangeset
for help on using the changeset viewer.