bagged_trees_free

Frees the memory associated with an array of decision trees generated in the bagging procedure.

Synopsis

#include <imsls.h>

void imsls_f_bagged_trees_free(int ntrees, Imsls_f_decision_tree **tree)

The type double function is imsls_d_bagged_trees_free.

Required Arguments

int ntrees (Input)
The number of decision tree structures.

imsls_f_decision_tree **trees (Input)
An array of size ntrees containing the decision tree structures.

Description

imsls_f_bagged_trees_free frees the memory associated with an array of decision tree structures.

Example

See imsls_f_decision_tree, Example 7.