Namespaces | Functions
genetic.h File Reference
#include "common.h"
#include "program.h"
#include <raft/core/handle.hpp>
Include dependency graph for genetic.h:

Go to the source code of this file.

Namespaces

 cuml
 
 cuml::genetic
 

Functions

std::string cuml::genetic::stringify (const program &prog)
 Visualize an AST. More...
 
void cuml::genetic::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 &params, program_t &final_progs, std::vector< std::vector< program >> &history)
 Fit either a regressor, classifier or a transformer to the given dataset. More...
 
void cuml::genetic::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. More...
 
void cuml::genetic::symClfPredictProbs (const raft::handle_t &handle, const float *input, const int n_rows, const param &params, const program_t &best_prog, float *output)
 Probability prediction for a symbolic classifier. If a transformer(like sigmoid) is specified, then it is applied on the output before returning it. More...
 
void cuml::genetic::symClfPredict (const raft::handle_t &handle, const float *input, const int n_rows, const param &params, const program_t &best_prog, float *output)
 Return predictions for a binary classification program defining the decision boundary. More...
 
void cuml::genetic::symTransform (const raft::handle_t &handle, const float *input, const param &params, 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. More...