2.1.0
User Documentation for Apache MADlib
madlib_xgboost.sql_in File Reference

SQL functions for xgboost. More...

Functions

bytea __serialize_pandas_dframe_as_bytea__ (text source_table, text id_column, text class_label, text features)
 
xgb_gridsearch_train_results_type __xgboost_train_parallel__ (bytea dframe, text[] features_all, text class_label, text params, text class_weights, numeric train_set_size, text id_column, text train_set_split_var)
 
void xgboost (text source_table, text grid_search_results_tbl, text id_column, text class_label, text list_of_features, text[] list_of_features_to_exclude=NULL, text params_str=NULL, text class_weights=NULL, numeric train_set_size=0.8, text train_set_split_var=NULL)
 
void xgboost_predict (text scoring_tbl, text mdl_table, text predict_output_table, text id_column, text class_label=NULL, integer params_index=1)
 

Detailed Description

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Date
05/12/2022

Function Documentation

◆ __serialize_pandas_dframe_as_bytea__()

bytea __serialize_pandas_dframe_as_bytea__ ( text  source_table,
text  id_column,
text  class_label,
text  features 
)

◆ __xgboost_train_parallel__()

xgb_gridsearch_train_results_type __xgboost_train_parallel__ ( bytea  dframe,
text []  features_all,
text  class_label,
text  params,
text  class_weights,
numeric  train_set_size,
text  id_column,
text  train_set_split_var 
)

◆ xgboost()

void xgboost ( text  source_table,
text  grid_search_results_tbl,
text  id_column,
text  class_label,
text  list_of_features,
text []  list_of_features_to_exclude = NULL,
text  params_str = NULL,
text  class_weights = NULL,
numeric  train_set_size = 0.8,
text  train_set_split_var = NULL 
)

◆ xgboost_predict()

void xgboost_predict ( text  scoring_tbl,
text  mdl_table,
text  predict_output_table,
text  id_column,
text  class_label = NULL,
integer  params_index = 1 
)