6 #ifndef TURI_BOOSTED_TREES_H_ 7 #define TURI_BOOSTED_TREES_H_ 9 #include <toolkits/supervised_learning/xgboost.hpp> 10 #include <toolkits/coreml_export/mlmodel_wrapper.hpp> 12 #include <core/export.hpp> 15 namespace supervised {
34 void init_options(
const std::map<std::string,flexible_type>& _opts)
override;
41 void configure(
void)
override;
43 std::shared_ptr<coreml::MLModelWrapper> export_to_coreml()
override;
66 void model_specific_init(
const ml_data& data,
67 const ml_data& valid_data)
override;
77 void init_options(
const std::map<std::string, flexible_type>& _opts)
override;
84 void configure(
void)
override;
90 set_evaluation_metric({
106 set_tracking_metric({
107 "accuracy",
"log_loss" 111 std::shared_ptr<coreml::MLModelWrapper> export_to_coreml()
override;
#define BEGIN_CLASS_MEMBER_REGISTRATION(python_facing_classname)
bool is_classifier() const override
#define IMPORT_BASE_CLASS_REGISTRATION(base_class)
#define END_CLASS_MEMBER_REGISTRATION
void set_default_evaluation_metric() override
bool is_classifier() const override
void set_default_tracking_metric() override