Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/26/09 17:40:03 (15 years ago)
Author:
gkronber
Message:

Added CedmaExporter from #715 branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/CedmaImporter/Importer.cs

    r2285 r2312  
    153153      }
    154154      if (algoName == "SupportVectorRegression") {
    155         HeuristicLab.SupportVectorMachines.SVMModel model = new HeuristicLab.SupportVectorMachines.SVMModel();
    156         model.Model = SVM.Model.Read(Path.Combine(dirName, modelFileName) + ".svm.model.txt");
    157         model.RangeTransform = SVM.RangeTransform.Read(Path.Combine(dirName, modelFileName) + ".svm.transform.txt");
    158         return new HeuristicLab.SupportVectorMachines.Predictor(model, targetVariable);
     155        //HeuristicLab.SupportVectorMachines.SVMModel model = new HeuristicLab.SupportVectorMachines.SVMModel();
     156        //model.Model = SVM.Model.Read(Path.Combine(dirName, modelFileName) + ".svm.model.txt");
     157        //model.RangeTransform = SVM.RangeTransform.Read(Path.Combine(dirName, modelFileName) + ".svm.transform.txt");
     158        //return new HeuristicLab.SupportVectorMachines.Predictor(model, targetVariable);
     159        throw new FormatException();
    159160      } else {
    160161        SymbolicExpressionImporter sexpImporter = new SymbolicExpressionImporter();
Note: See TracChangeset for help on using the changeset viewer.