6 #ifndef TURI_EVALUATION_H_ 7 #define TURI_EVALUATION_H_ 12 #include <core/storage/sframe_data/sarray.hpp> 13 #include <core/storage/sframe_data/sframe.hpp> 14 #include <core/data/sframe/gl_sarray.hpp> 15 #include <core/data/sframe/gl_sframe.hpp> 16 #include <toolkits/evaluation/evaluation_constants.hpp> 17 #include <toolkits/evaluation/evaluation_interface-inl.hpp> 20 namespace evaluation {
33 std::shared_ptr<unity_sarray> unity_targets,
34 std::shared_ptr<unity_sarray> unity_predictions,
36 std::map<std::string, flexible_type> kwargs =
37 std::map<std::string, flexible_type>());
68 variant_map_type compute_classifier_metrics_from_probability_vectors(
69 std::vector<std::string> metrics, gl_sframe input,
70 std::string target_column_name, std::string prediction_probs_column_name,
73 variant_map_type compute_classifier_metrics(
74 gl_sframe data, std::string target_column_name, std::string metric,
75 gl_sarray predictions, std::map<std::string, flexible_type> opts);
77 variant_map_type compute_object_detection_metrics(
78 gl_sframe data, std::string annotations_column_name,
79 std::string image_column_name, gl_sarray predictions,
80 std::map<std::string, flexible_type> opts);
96 sframe precision_recall_by_user(
97 const sframe& validation_data,
98 const sframe& recommend_output,
99 const std::vector<size_t>& cutoffs);
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
std::vector< flexible_type > flex_list