Turi Create  4.0
automatic_model_creation.hpp
1 #ifndef TURI_AUTOMATIC_SUPERVISED_LEARNING_H_
2 #define TURI_AUTOMATIC_SUPERVISED_LEARNING_H_
3 
4 #include <toolkits/supervised_learning/supervised_learning.hpp>
5 
6 namespace turi {
7 namespace supervised {
8 
9 /**
10  * Rule based better than stupid model selector.
11  */
12 std::string _classifier_model_selector(std::shared_ptr<unity_sframe> _X);
13 
14 /**
15  * Rule-based method for getting a list of potential models.
16  */
17 std::vector<std::string> _classifier_available_models(
18  size_t num_classes, std::shared_ptr<unity_sframe> _X);
19 
20 std::shared_ptr<supervised_learning_model_base> create_automatic_classifier_model(
21  gl_sframe data, const std::string target, const variant_type& validation_data,
22  const std::map<std::string, flexible_type>& options);
23 
24 std::shared_ptr<supervised_learning_model_base> create_automatic_regression_model(
25  gl_sframe data, const std::string target, const variant_type& validation_data,
26  const std::map<std::string, flexible_type>& options);
27 
28 std::pair<gl_sframe, gl_sframe> create_validation_data(
29  gl_sframe data, const variant_type& validation_data, int random_seed);
30 
31 std::pair<gl_sframe, gl_sframe> create_validation_data(
32  gl_sframe data, const variant_type& validation_data);
33 
34 } // namespace supervised
35 } // namespace turi
36 
37 #endif
boost::make_recursive_variant< flexible_type, std::shared_ptr< unity_sgraph_base >, dataframe_t, std::shared_ptr< model_base >, std::shared_ptr< unity_sframe_base >, std::shared_ptr< unity_sarray_base >, std::map< std::string, boost::recursive_variant_ >, std::vector< boost::recursive_variant_ >, boost::recursive_wrapper< function_closure_info > >::type variant_type
Definition: variant.hpp:24