21 #include <cumlprims/opg/matrix/data.hpp>
22 #include <cumlprims/opg/matrix/part_descriptor.hpp>
45 void fit(raft::handle_t& handle,
46 std::vector<MLCommon::Matrix::Data<float>*>& input_data,
47 MLCommon::Matrix::PartDescriptor& input_desc,
48 std::vector<MLCommon::Matrix::Data<float>*>& labels,
60 void fit(raft::handle_t& handle,
61 std::vector<MLCommon::Matrix::Data<double>*>& input_data,
62 MLCommon::Matrix::PartDescriptor& input_desc,
63 std::vector<MLCommon::Matrix::Data<double>*>& labels,
89 MLCommon::Matrix::RankSizePair** rank_sizes,
91 MLCommon::Matrix::Data<float>** input,
96 MLCommon::Matrix::Data<float>** preds,
100 MLCommon::Matrix::RankSizePair** rank_sizes,
102 MLCommon::Matrix::Data<double>** input,
107 MLCommon::Matrix::Data<double>** preds,
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 epochs, float alpha, float l1_ratio, bool shuffle, float tol, bool verbose)
performs MNMG fit operation for the ridge regression
void normalize(value_t *data, value_idx n, size_t m, cudaStream_t stream)
Definition: utils.h:194
void shuffle(std::vector< math_t > &rand_indices, std::mt19937 &g)
Definition: shuffle.h:35
Definition: dbscan.hpp:30