// // C++: static Ptr_SVMSGD cv::ml::SVMSGD::load(String filepath, String nodeName = String()) // //javadoc: SVMSGD::load(filepath, nodeName) public static SVMSGD load(string filepath, string nodeName) { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER SVMSGD retVal = SVMSGD.__fromPtr__(ml_SVMSGD_load_10(filepath, nodeName)); return(retVal); #else return(null); #endif }
// // C++: static Ptr_SVMSGD cv::ml::SVMSGD::create() // //javadoc: SVMSGD::create() public static SVMSGD create() { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER SVMSGD retVal = SVMSGD.__fromPtr__(ml_SVMSGD_create_10()); return(retVal); #else return(null); #endif }
/** * Loads and creates a serialized SVMSGD from a file * * Use SVMSGD::save to serialize and store an SVMSGD to disk. * Load the SVMSGD from this file again, by calling this function with the path to the file. * Optionally specify the node for the file containing the classifier * * param filepath path to serialized SVMSGD * return automatically generated */ public static SVMSGD load(string filepath) { return(SVMSGD.__fromPtr__(ml_SVMSGD_load_11(filepath))); }
// // C++: static Ptr_SVMSGD cv::ml::SVMSGD::create() // /** * Creates empty model. * Use StatModel::train to train the model. Since %SVMSGD has several parameters, you may want to * find the best parameters for your problem or use setOptimalParameters() to set some default parameters. * return automatically generated */ public static SVMSGD create() { return(SVMSGD.__fromPtr__(ml_SVMSGD_create_10())); }
// // C++: static Ptr_SVMSGD cv::ml::SVMSGD::load(String filepath, String nodeName = String()) // /** * Loads and creates a serialized SVMSGD from a file * * Use SVMSGD::save to serialize and store an SVMSGD to disk. * Load the SVMSGD from this file again, by calling this function with the path to the file. * Optionally specify the node for the file containing the classifier * * param filepath path to serialized SVMSGD * param nodeName name of node containing the classifier * return automatically generated */ public static SVMSGD load(string filepath, string nodeName) { return(SVMSGD.__fromPtr__(ml_SVMSGD_load_10(filepath, nodeName))); }