This function combines multiple decision trees and aggregates their results to make predictions.
Random Forest is an ensemble machine learning algorithm that combines multiple decision trees to improve performance and reduce overfitting. It creates a set of decision trees by randomly selecting subsets of the features and data samples, and then aggregates the results of the trees to make predictions.
Sample Request
Build a Random Forest Classification model named, "ClassicModel"
Seed for random number generation. If provided, it ensures reproducibility of the random processes in the algorithm. If not provided, a random seed will be used
n_estimators
int
The number of trees in the forest (ensemble) used by the algorithm. Each tree contributes to the final prediction. Larger values generally improve performance, but also increase computation time.
criterion
String
The function to measure the quality of a split in the decision tree. Common criteria include gini for the Gini impurity and entropy for information gain. The choice of criterion affects how the decision tree grows and splits its nodes.
model_name*
String
Name of previously trained model to be used for prediction
test_data
String
Input data for prediction. Defaults to x_train_url in StateManagment
project_id*
int
ID of the current project
block_id*
int
ID of the current block
parent_id*
int
ID of the previous block
function_code*
String
Function code for the current block
project_id*
int
ID of the current project
parent_id*
int
ID of the previous block
block_id*
int
ID of the current block
function_code*
String
Function code for the current block
model_name*
String
Name of the pre-trained model to be used for evaluation