Forest of Local EXpert Classifiers (FLEX-C) is a semi-supervised framework for fault detection and identification designed to be robust when fault data is scarce and normal operation data is potentially contaminated.
FLEX-C models subclass the scikit-learn IsolationForest to inherit its optimized ensemble implementation. They can be used as a standard Isolation Forest with the usual fit and predict methods.
- Use
inject_knowledgeto supervisedly train the model after the unsupervisedfitinitialization. - Use
predict_labelsto obtain a classification output.
A complete usage example is provided in the publication_experiments folder.