Parameter setting
lj17525194100 opened this issue · comments
lj17525194100 commented
How should I set up Mtrain and outF parameters in IOS.M
Zhimin Zhang commented
Thanks for your feedback!
(1) mTrain parameter
mTrain is the number of samples, which are selected as the training set.
(2) outF parameter
outF parameter is the anomaly scores of samples calculated by AnomalyScore function in IsolationForest package.
You can calculate it using this script:
https://github.com/zmzhang/IOS/blob/master/IOS.r
The definition of AnomalyScore function is as following:
https://rdrr.io/rforge/IsolationForest/man/AnomalyScore.html
Regards,
Zhimin