Struct GIFModel

Struct Documentation

struct genif::GIFModel

A struct comprising the model information for Generalized Isolation Forests.

Public Functions

const std::vector<data_t> &getProbabilitiesPerRegion() const

Returns a vector of probabiltities for each found region (higher probability indicate inlierness).

Return

As stated above.

const std::vector<unsigned long> &getCountsPerRegion() const

Returns a vector of values, indicating how many vectors of the training data set fell into a particular region.

Return

As stated above.

Public Members

std::vector<data_t> probabilitiesPerRegion
std::vector<unsigned long> countsPerRegion
std::shared_ptr<MatrixX> dataMatrix
std::shared_ptr<nanoflann::KDTreeEigenMatrixAdaptor<MatrixX>> dataKDTree