Package org.instantsvm.utils
Class LazySVM
- java.lang.Object
-
- org.instantsvm.utils.LazySVM
-
public class LazySVM extends Object
LazySVM either reload an existing model, or train and save a model in InstantSVM library.- Author:
- Martin Pernollet
-
-
Constructor Summary
Constructors Constructor Description LazySVM()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RegressionSVM
loadOrTrainRegression(String name, Parameters params)
static RegressionSVM
loadOrTrainRegression(String name, Parameters params, RegressionInputs inputs)
static RegressionSVM
trainAndSaveRegression(String name, Parameters params, RegressionInputs inputs)
static RegressionSVM
trainAndSaveRegression(String name, RegressionInputs inputs)
-
-
-
Method Detail
-
loadOrTrainRegression
public static RegressionSVM loadOrTrainRegression(String name, Parameters params) throws IOException
- Throws:
IOException
-
loadOrTrainRegression
public static RegressionSVM loadOrTrainRegression(String name, Parameters params, RegressionInputs inputs) throws IOException
- Throws:
IOException
-
trainAndSaveRegression
public static RegressionSVM trainAndSaveRegression(String name, RegressionInputs inputs) throws IOException
- Throws:
IOException
-
trainAndSaveRegression
public static RegressionSVM trainAndSaveRegression(String name, Parameters params, RegressionInputs inputs) throws IOException
- Throws:
IOException
-
-