21 #include <cumlprims/opg/matrix/data.hpp>
22 #include <cumlprims/opg/matrix/part_descriptor.hpp>
41 void fit(raft::handle_t& handle,
42 std::vector<MLCommon::Matrix::Data<float>*>& input_data,
43 MLCommon::Matrix::PartDescriptor& input_desc,
44 std::vector<MLCommon::Matrix::Data<float>*>& labels,
52 void fit(raft::handle_t& handle,
53 std::vector<MLCommon::Matrix::Data<double>*>& input_data,
54 MLCommon::Matrix::PartDescriptor& input_desc,
55 std::vector<MLCommon::Matrix::Data<double>*>& labels,
77 MLCommon::Matrix::RankSizePair** rank_sizes,
79 MLCommon::Matrix::Data<float>** input,
84 MLCommon::Matrix::Data<float>** preds,
88 MLCommon::Matrix::RankSizePair** rank_sizes,
90 MLCommon::Matrix::Data<double>** input,
95 MLCommon::Matrix::Data<double>** preds,
void normalize(value_t *data, value_idx n, size_t m, cudaStream_t stream)
Definition: utils.h:194
void predict(raft::handle_t &handle, MLCommon::Matrix::RankSizePair **rank_sizes, size_t n_parts, MLCommon::Matrix::Data< float > **input, size_t n_rows, size_t n_cols, float *coef, float intercept, MLCommon::Matrix::Data< float > **preds, bool verbose)
performs MNMG prediction for OLS
void fit(raft::handle_t &handle, std::vector< MLCommon::Matrix::Data< float > * > &input_data, MLCommon::Matrix::PartDescriptor &input_desc, std::vector< MLCommon::Matrix::Data< float > * > &labels, float *coef, float *intercept, bool fit_intercept, bool normalize, int algo, bool verbose)
performs MNMG fit operation for the ridge regression
Definition: dbscan.hpp:30