nok / sklearn-porter

Transpile trained scikit-learn estimators to C, Java, JavaScript and others.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Query] Is the isolation forest model for outlier detection supported now?

momo1986 opened this issue · comments

Hello, dear guys!

I have an isolation forest model in Python trained.

Sklearn isolation forest model and pyod isolation forest built on sklearn can both work for me.

https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.IsolationForest.html?highlight=isolation%20forest#sklearn.ensemble.IsolationForest
https://github.com/yzhao062/pyod/blob/master/pyod/models/iforest.py

I want to deploy it in Android platform, thus, I want to run it in Java.

In you documentation README.md, I have not seen the isolation forest declared.

Is such type sklearn model supported now?

Thanks & Regards!

Hello @momo1986 ,

thanks four your hint and question. Until now I don't know this kind of forest algorithm. But I will test whether the computations of inferences are the same. If so I can easily add it. If not I have to dig deeper to understand the differences.

Kind regards,
Darius