library(MLFS)
data(data_tree_heights)
data(data_v2)
# A) Example with the BRNN method
h_predictions <- height_prediction(df_fit = data_tree_heights,
df_predict = data_v2,
species_n_threshold = 100,
height_pred_level = 0,
height_model = "brnn",
BRNN_neurons = 3,
eval_model_height = FALSE,
blocked_cv = TRUE, k = 10
)
predicted_df <- h_predictions$data_height_predictions # df with imputed heights
evaluation_df <- h_predictions$data_height_eval # df with evaluation results
Run the code above in your browser using DataLab