dmlfw (Daniyal Machine Learning Framework)
dmlfw_model_accuracy_score.h
Go to the documentation of this file.
1#ifndef __DMLFW__MODEL__ACCURACY__SCORE__
2#define __DMLFW__MODEL__ACCURACY__SCORE__
65#include <dmlfw_vector.h>
66#include <dmlfw_error.h>
67
68
101double dmlfw_get_r2_score(dmlfw_column_vec_double *target_values_vector,
102 dmlfw_column_vec_double *predicted_values_vector);
103
// end of group
105#endif // __DMLFW__MODEL__ACCURACY__SCORE__
Centralized error handling interface for the framework.
double dmlfw_get_r2_score(dmlfw_column_vec_double *target_values_vector, dmlfw_column_vec_double *predicted_values_vector)
Computes the R2 (coefficient of determination) score for regression.
Core vector types and utilities for double and string data.
struct __dmlfw_column_vec_double dmlfw_column_vec_double
Opaque structure representing a column vector of doubles.
Definition dmlfw_vec_double.h:83