Re: [scikit-learn] New core developer: Tim Head

2023-03-08 Thread Chris Aridas
Congrats Tim! Best, Chris On Wed, Mar 8, 2023 at 5:02 PM Sebastian Raschka wrote: > Awesome news! Congrats Tim! > > Cheers, > Sebastian > > > > > > > > > On Mar 8, 2023, 8:35 AM -0600, Ruchika Nayyar , > wrote: > > Congratulations Tim! Good to see you virtually :) > > Thanks, > Ruchika > > ***

Re: [scikit-learn] Issue regarding Feature Union

2021-05-06 Thread Chris Aridas
Hi, Assuming that you have trained your pipeline, the following piece of code should work. pipeline.named_steps["feature_sel"].transform(X) Best, Chris On Thu, May 6, 2021 at 12:52 PM mitali katoch wrote: > Dear Scikit team, > > I am working with FeatureUnion in the pipeline and best param

Re: [scikit-learn] Any recommend way to encode IP address?

2019-08-16 Thread Chris Aridas
It was just an idea about how you can extract features from IP addresses, not a direction to use that service. Best, Chris On Fri, Aug 16, 2019 at 11:55 AM lampahome wrote: > > > Chris Aridas 於 2019年8月16日 週五 下午3:56寫道: > >> Hey, >> >> Apart from encoding you

Re: [scikit-learn] Any recommend way to encode IP address?

2019-08-16 Thread Chris Aridas
https://mail.python.org/mailman/listinfo/scikit-learn On Fri, Aug 16, 2019 at 11:14 AM Santosh Subedi wrote: > Hi guys, > > How can I unsubscribe myself from Scikit-learn mailing list? > > Thanks. > > On Fri, 16 Aug 2019 at 4:56 PM Chris Aridas wrote: > >> Hey,

Re: [scikit-learn] Any recommend way to encode IP address?

2019-08-16 Thread Chris Aridas
Hey, Apart from encoding you could use feature engineering. Something like this https://ipgeolocation.io/documentation/ip-geolocation-api.html Two IPs might have the same country but different city. So, you could mix and match whatever you want. Best, On Fri, Aug 16, 2019 at 10:46 AM lampahome

Re: [scikit-learn] Question about Kmeans implementation in sklearn

2019-08-05 Thread Chris Aridas
Hey Serafim, In this line https://github.com/scikit-learn/scikit-learn/blob/1495f69242646d239d89a5713982946b8ffcf9d9/sklearn/cluster/k_means_.py#L303 you can see that a randomstate object is constructed and that object is passed in the for loop that you are referring to, not the integer value that

Re: [scikit-learn] imbalanced data

2018-04-11 Thread Chris Aridas
Hola, You should check out http://imbalanced-learn.org Best, Chris On Wed, 11 Apr 2018 11:22 S Hamidizade, wrote: > Hi > > Could you please let me know if the algorithms (including Robust > Under-sampling, Cluster-Classify, MKL for high-class skew, ...) discussed > in the following thesis have

Re: [scikit-learn] Error random_state parameter changed by estimator

2018-04-01 Thread Chris Aridas
Hey Manoj, I think that the following link can help you to solve your problem. http://scikit-learn.org/stable/developers/contributing.html#random-numbers Best, Chris On Sat, Mar 31, 2018 at 5:38 AM, Manoj Karthick wrote: > I am working on adding a new estimator to the scikit-learn library, b

Re: [scikit-learn] Get parameters of classes in a Pipeline within cross_validate

2018-04-01 Thread Chris Aridas
Hi Roberto, One option it could be to make a wrapper and serialize your pipeline in your wrapper's fit method. After the serialization you could load the pipeline anytime and inspect whatever you want. I have coded an example in the following gist. https://gist.github.com/chkoar/2993a6e3f6bae188