Hi,
due to my need for a good isolation forest algorithm I have downloaded the
sklearn branch containing it. (
https://github.com/ngoix/scikit-learn/tree/iforest)

I have extracted the file in a local folder and I have built it with the
command:
 python3 setup.py build_ext --inplace

Everything seems to be fine but I encounter an error when I try to import
Isolation Forest in my code.

if I use:
import sys
sys.path.insert(0, '/python_externals_function/')
import iforest_sklearn.sklearn.ensemble.bagging

i receive the error:

.....
   from . import _tree
ImportError: cannot import name '_tree'

I am so wondering if I am making something wrong and how can I use this
function without to touch my working version of sklearn?

thanks a lot!
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to