// // C++: static Ptr_LogisticRegression cv::ml::LogisticRegression::load(String filepath, String nodeName = String()) // //javadoc: LogisticRegression::load(filepath, nodeName) public static LogisticRegression load(string filepath, string nodeName) { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER LogisticRegression retVal = LogisticRegression.__fromPtr__(ml_LogisticRegression_load_10(filepath, nodeName)); return(retVal); #else return(null); #endif }
// // C++: static Ptr_LogisticRegression cv::ml::LogisticRegression::create() // //javadoc: LogisticRegression::create() public static LogisticRegression create() { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER LogisticRegression retVal = LogisticRegression.__fromPtr__(ml_LogisticRegression_create_10()); return(retVal); #else return(null); #endif }
/** * Loads and creates a serialized LogisticRegression from a file * * Use LogisticRegression::save to serialize and store an LogisticRegression to disk. * Load the LogisticRegression 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 LogisticRegression * return automatically generated */ public static LogisticRegression load(string filepath) { return(LogisticRegression.__fromPtr__(ml_LogisticRegression_load_11(filepath))); }
// // C++: static Ptr_LogisticRegression cv::ml::LogisticRegression::create() // /** * Creates empty model. * * Creates Logistic Regression model with parameters given. * return automatically generated */ public static LogisticRegression create() { return(LogisticRegression.__fromPtr__(ml_LogisticRegression_create_10())); }
// // C++: static Ptr_LogisticRegression cv::ml::LogisticRegression::load(String filepath, String nodeName = String()) // /** * Loads and creates a serialized LogisticRegression from a file * * Use LogisticRegression::save to serialize and store an LogisticRegression to disk. * Load the LogisticRegression 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 LogisticRegression * param nodeName name of node containing the classifier * return automatically generated */ public static LogisticRegression load(string filepath, string nodeName) { return(LogisticRegression.__fromPtr__(ml_LogisticRegression_load_10(filepath, nodeName))); }