Changeset 2312 for trunk/tools/CedmaImporter
- Timestamp:
- 08/26/09 17:40:03 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/CedmaImporter/Importer.cs
r2285 r2312 153 153 } 154 154 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(); 159 160 } else { 160 161 SymbolicExpressionImporter sexpImporter = new SymbolicExpressionImporter();
Note: See TracChangeset
for help on using the changeset viewer.