Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/27/11 16:30:49 (13 years ago)
Author:
mkommend
Message:

#1600: Added possibility to create classification solutions from classification models.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourModel.cs

    r6603 r6604  
    183183      return CreateRegressionSolution(problemData);
    184184    }
     185    public INearestNeighbourClassificationSolution CreateClassificationSolution(IClassificationProblemData problemData) {
     186      return new NearestNeighbourClassificationSolution(problemData, this);
     187    }
     188    IClassificationSolution IClassificationModel.CreateClassificationSolution(IClassificationProblemData problemData) {
     189      return CreateClassificationSolution(problemData);
     190    }
    185191
    186192    #region events
Note: See TracChangeset for help on using the changeset viewer.