msimms / LibIsolationForest

C++, rust, julia, python2, and python3 implementations of the Isolation Forest anomaly detection algorithm.
MIT License
33 stars 11 forks source link

Request to help me with the format of the data to be used for processing #10

Open GirishG6 opened 3 months ago

GirishG6 commented 3 months ago

Hi Mike,

I am trying to use your C++ code to run, I need your help to understand which format of the data I should use for training and testing.

Kindly help me with this so that I can complete my project.

Thanks, Girish

msimms commented 3 months ago

It's been a while since I looked at that code. However, being a library the input file can be in whatever format you want. There's a Sample class, and each sample has a list of Features. I think the example just uses random numbers as feature values, but you'd replace the feature names and values with things that make sense for application.