22 #include <raft/core/handle.hpp>
58 void symFit(
const raft::handle_t& handle,
61 const float* sample_weights,
66 std::vector<std::vector<program>>& history);
std::string stringify(const program &prog)
Visualize an AST.
void symTransform(const raft::handle_t &handle, const float *input, const param ¶ms, const program_t &final_progs, const int n_rows, const int n_cols, float *output)
Transform the values in the input feature matrix according to the supplied programs.
void symClfPredictProbs(const raft::handle_t &handle, const float *input, const int n_rows, const param ¶ms, const program_t &best_prog, float *output)
Probability prediction for a symbolic classifier. If a transformer(like sigmoid) is specified,...
void symRegPredict(const raft::handle_t &handle, const float *input, const int n_rows, const program_t &best_prog, float *output)
Make predictions for a symbolic regressor.
void symClfPredict(const raft::handle_t &handle, const float *input, const int n_rows, const param ¶ms, const program_t &best_prog, float *output)
Return predictions for a binary classification program defining the decision boundary.
void symFit(const raft::handle_t &handle, const float *input, const float *labels, const float *sample_weights, const int n_rows, const int n_cols, param ¶ms, program_t &final_progs, std::vector< std::vector< program >> &history)
Fit either a regressor, classifier or a transformer to the given dataset.
contains all the hyper-parameters for training
Definition: common.h:94
The main data structure to store the AST that represents a program in the current generation.
Definition: program.h:32