OmniSciDB
a5dc49c757
|
#include "CodeGenerator.h"
#include "QueryEngine/TableFunctions/SystemFunctions/os/ML/MLModel.h"
#include "TreeModelPredictionMgr.h"
#include <tbb/parallel_for.h>
#include <stack>
#include <vector>
Go to the source code of this file.
Functions | |
std::vector< std::shared_ptr < Analyzer::Expr > > | generated_encoded_and_casted_features (const std::vector< std::shared_ptr< Analyzer::Expr >> &feature_exprs, const std::vector< std::vector< std::string >> &cat_feature_keys, const std::vector< int64_t > &feature_permutations, Executor *executor) |
std::vector<std::shared_ptr<Analyzer::Expr> > generated_encoded_and_casted_features | ( | const std::vector< std::shared_ptr< Analyzer::Expr >> & | feature_exprs, |
const std::vector< std::vector< std::string >> & | cat_feature_keys, | ||
const std::vector< int64_t > & | feature_permutations, | ||
Executor * | executor | ||
) |
Definition at line 30 of file MLPredictCodegen.cpp.
References CHECK, Datum::doubleval, Datum::intval, kBOOLEAN, kCAST, kDOUBLE, kEQ, kINT, kISNULL, and kONE.
Referenced by CodeGenerator::codegen(), CodeGenerator::codegenLinRegPredict(), and CodeGenerator::codegenTreeRegPredict().