nbClassifierFree

Frees memory allocated to an Imsls_d_nb_classifier data structure.

Synopsis

nbClassifierFree (nbClassifier)

Required Arguments

Imsls_d_nb_classifier nbClassifier (Input)
A structure of the type Imsls_d_nb_classifier from naiveBayesTrainer.

Description

An Imsls_d_nb_classifier data structure is created by naiveBayesTrainer or nbClassifierRead. This function frees the memory allocated to this structure when it is no longer needed.