[scikit-learn] question for using GridSearchCV on LocalOutlierFactor

2017-10-05 Thread Lifan Xu
Hi, I was trying to train a model for anomaly detection. I only have the normal data which are all labeled as 1. Here is my code: clf = sklearn.model_selection.GridSearchCV(sklearn.neighbors.LocalOutlierFactor(), parameters, scoring="acc

Re: [scikit-learn] error from import sklearn

2016-07-29 Thread Lifan Xu
u get these installation instructions from? > The Readme? > > Best, > Andy > > > On 07/28/2016 08:50 PM, Lifan Xu wrote: > > Hi guys, > > I am sorry to bother you. But I have a question about using > scikit-learn in ubuntu. > > I installed scikit using:

[scikit-learn] error from import sklearn

2016-07-28 Thread Lifan Xu
Hi guys, I am sorry to bother you. But I have a question about using scikit-learn in ubuntu. I installed scikit using: sudo apt-get install build-essential python-dev python-numpy python-numpy-dev python-scipy libatlas-dev g++ python-matplotlib ipython sudo pip install -U sciki