Re: [scikit-learn] Vote on SLEP009: keyword only arguments

2019-09-16 Thread Albert Thomas
Hi all, Just a few comments about this SLEP from a contributor and user of the library :). I think it is important for users to be able to quickly and easily know/learn which arguments should be keyword arguments when they use scikit-learn. As a user, I do not want to have to double check each

Re: [scikit-learn] Variable kernel density estimation

2019-07-08 Thread Albert Thomas
Hi, The default score used by GridSearchCV is the one of the estimator; for KernelDensity it’s the total log likelihood. As far as I know it is not possible to have different bandwidths. Albert On Mon 8 Jul 2019 at 15:50, Naiping Dong wrote: > How sklearn perform cross validation

Re: [scikit-learn] Isolation forests

2018-05-22 Thread Albert Thomas
Hi Sergio, In IsolationForest, BaseBagging is applied with ExtraTreeRegressor as base_estimator. Algorithm 2 (iTree) of the original paper is thus implemented in ExtaTreeRegressor. The forest is implemented thanks to the bagging procedure. HTH, Albert On Sun 20 May 2018 at 09:56, Sergio

Re: [scikit-learn] Error while running 'python setup.py build_ext --inplace'

2017-12-04 Thread Albert Thomas
Maybe run ‘make clean’ before running pip install ... Albert On Mon 4 Dec 2017 at 16:11, Aniket Meshram wrote: > I updated all the packages before running install. > > On Mon, Dec 4, 2017 at 6:07 PM, Olivier Grisel > wrote: > >> Maybe

Re: [scikit-learn] OneClassSvm | Different results on different runs

2017-08-04 Thread Albert Thomas
I opened an issue https://github.com/scikit-learn/scikit-learn/issues/9497 Albert On Thu, Aug 3, 2017 at 6:16 PM Andreas Mueller <t3k...@gmail.com> wrote: > > > On 08/03/2017 09:17 AM, Albert Thomas wrote: > > Yes, in fact, changing the random_state might have an influe

Re: [scikit-learn] OneClassSvm | Different results on different runs

2017-08-03 Thread Albert Thomas
here some randomness in SMO which could influence > the result if the tolerance parameter is too large? > > On Aug 3, 2017 1:28 PM, "Albert Thomas" <albertthoma...@gmail.com> wrote: > >> Hi Abhishek, >> >> Could you provide a small code snippet? I don't think th

Re: [scikit-learn] OneClassSvm | Different results on different runs

2017-08-03 Thread Albert Thomas
Hi Abhishek, Could you provide a small code snippet? I don't think the random_state parameter should influence the result of the OneClassSVM as there is no probability estimation for this estimator. Albert On Thu, Aug 3, 2017 at 12:41 PM Jaques Grobler wrote: > Hi, >

Re: [scikit-learn] R user trying to learn Python

2017-06-20 Thread Albert Thomas
You can also have a look at "Effective Computation in Physics" by Anthony Scopatz and Kathryn D. Huff. It gives a very good overview of Python/numpy/pandas... Albert Thomas On Tue, 20 Jun 2017 at 07:25, C W <tmrs...@gmail.com> wrote: > I am catching up to all the

Re: [scikit-learn] develop install with pip?

2017-05-31 Thread Albert Thomas
In fact `pip install --editable .` is the instruction given at the end of the Advanced installation instructions http://scikit-learn.org/stable/developers/advanced_installation.html#testing . I will submit a PR to recommend this in the Contributing section as well. Albert On Wed, May 31, 2017

[scikit-learn] develop install with pip?

2017-05-31 Thread Albert Thomas
Hi all, For a develop install it is suggested in the contributing section of the website http://scikit-learn.org/stable/developers/contributing.html to do: python setup.py develop However I read on stackoverflow that the preferred way to do this is now to use pip instead of using setuptools

Re: [scikit-learn] Multiple normal scenario for OCSVM

2017-04-05 Thread Albert Thomas
Hi Ady, Overfitting is a possible explanation. If your model learnt your normal scenarios too well then every abnormal data will be predicted as abnormal (so you will have a good performance for anomalies) however none of the normal instances of the test set will be in the normal region (so you

Re: [scikit-learn] Supervised anomaly detection in time series

2016-08-05 Thread Albert Thomas
Hi, About your question on how to learn the parameters of anomaly detection algorithms using only the negative samples in your case, Nicolas and I worked on this aspect recently. If you are interested you can have look at: - Learning hyperparameters for unsupervised anomaly detection:

Re: [scikit-learn] about svdd model

2016-07-23 Thread Albert Thomas
Hi, There was a pull request for the svdd https://github.com/scikit-learn/scikit-learn/pull/5899 But it has been closed recently... Note that if you apply the OCSVM with the rbf kernel it is equivalent to the svdd. Albert On sam. 23 juil. 2016 at 10:39, fengyanghe