21 #include <cumlprims/opg/matrix/data.hpp>
22 #include <cumlprims/opg/matrix/part_descriptor.hpp>
43 void fit(raft::handle_t& handle,
44 std::vector<MLCommon::Matrix::Data<float>*>& input_data,
45 MLCommon::Matrix::PartDescriptor& input_desc,
46 std::vector<MLCommon::Matrix::Data<float>*>& labels,
56 void fit(raft::handle_t& handle,
57 std::vector<MLCommon::Matrix::Data<double>*>& input_data,
58 MLCommon::Matrix::PartDescriptor& input_desc,
59 std::vector<MLCommon::Matrix::Data<double>*>& labels,
83 MLCommon::Matrix::RankSizePair** rank_sizes,
85 MLCommon::Matrix::Data<float>** input,
90 MLCommon::Matrix::Data<float>** preds,
94 MLCommon::Matrix::RankSizePair** rank_sizes,
96 MLCommon::Matrix::Data<double>** input,
101 MLCommon::Matrix::Data<double>** preds,
void normalize(value_t *data, value_idx n, size_t m, cudaStream_t stream)
Definition: utils.h:194
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 *alpha, int n_alpha, float *coef, float *intercept, bool fit_intercept, bool normalize, int algo, bool verbose)
performs MNMG fit operation for the ridge regression
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
Definition: dbscan.hpp:30