nb_classifier_free

Frees memory allocated to an Imsls_f_nb_classifier data structure.

Synopsis

#include <imsls.h>

void imsls_f_nb_classifier_free ( Imsls_f_nb_classifier  *nb_classifier)

The type double function is imsls_d_nb_classifier_free.

Required Arguments

Imsls_f_nb_classifier *nb_classifier (Input)
Pointer to a structure of the type Imsls_f_nb_classifier from imsls_f_naive_bayes_trainer.

Description

An Imsls_f_nb_classifier data structure is created by imsls_f_naive_bayes_trainer or imsls_f_nb_classifier_read. This function frees the memory allocated to this structure when it is no longer needed.