//javadoc: Boost::load(filepath) public static new Boost load(string filepath) { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER Boost retVal = Boost.__fromPtr__(ml_Boost_load_11(filepath)); return(retVal); #else return(null); #endif }
// // C++: static Ptr_Boost cv::ml::Boost::create() // //javadoc: Boost::create() public static new Boost create() { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER Boost retVal = Boost.__fromPtr__(ml_Boost_create_10()); return(retVal); #else return(null); #endif }
// // C++: static Ptr_Boost cv::ml::Boost::load(String filepath, String nodeName = String()) // /** * Loads and creates a serialized Boost from a file * * Use Boost::save to serialize and store an RTree to disk. * Load the Boost 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 Boost * param nodeName name of node containing the classifier * return automatically generated */ public static new Boost load(string filepath, string nodeName) { return(Boost.__fromPtr__(ml_Boost_load_10(filepath, nodeName))); }
/** * Loads and creates a serialized Boost from a file * * Use Boost::save to serialize and store an RTree to disk. * Load the Boost 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 Boost * return automatically generated */ public static new Boost load(string filepath) { return(Boost.__fromPtr__(ml_Boost_load_11(filepath))); }
// // C++: static Ptr_Boost cv::ml::Boost::create() // /** * Creates the empty model. * Use StatModel::train to train the model, Algorithm::load<Boost>(filename) to load the pre-trained model. * return automatically generated */ public static new Boost create() { return(Boost.__fromPtr__(ml_Boost_create_10())); }