Package org.instantsvm.utils
Class LazySVM
java.lang.Object
org.instantsvm.utils.LazySVM
LazySVM either reload an existing model, or train and save a model in InstantSVM library.
- Author:
- Martin Pernollet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
Constructor Details
-
LazySVM
public LazySVM()
-
-
Method Details
-
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
-