Function ndpi_alloc_iforest
Defined in File ndpi_api.h
Function Documentation
-
void *ndpi_alloc_iforest(double **data, u_int32_t n_samples, u_int16_t n_features)
Create and fit a new Isolation Forest. This creates the model of the data we’re modelling across all the features.
- Parameters:
data – Row-major matrix [n_samples × n_features]
n_samples – Number of training samples
n_features – Number of features per sample
n_trees – Number of isolation trees (100–500 typical)