Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/27/11 15:31:51 (13 years ago)
Author:
mkommend
Message:

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

File:
1 edited

Legend:

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

    r6584 r6603  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.IO;
    2524using System.Linq;
    26 using System.Text;
    2725using HeuristicLab.Common;
    2826using HeuristicLab.Core;
    2927using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3028using HeuristicLab.Problems.DataAnalysis;
    31 using SVM;
    3229
    3330namespace HeuristicLab.Algorithms.DataAnalysis {
     
    180177    }
    181178
     179    public INearestNeighbourRegressionSolution CreateRegressionSolution(IRegressionProblemData problemData) {
     180      return new NearestNeighbourRegressionSolution(problemData, this);
     181    }
     182    IRegressionSolution IRegressionModel.CreateRegressionSolution(IRegressionProblemData problemData) {
     183      return CreateRegressionSolution(problemData);
     184    }
     185
    182186    #region events
    183187    public event EventHandler Changed;
Note: See TracChangeset for help on using the changeset viewer.