Re: [Scikit-learn-general] incrementally update LDA model

2016-02-03 Thread Sebastian Raschka
haha, okay, glad it makes all sense now! For some reason, I thought you referenced sklearn.lda.LDA rather than sklearn.decomposition.LatentDirichletAllocation, but then it’s all good now! > On Feb 3, 2016, at 2:58 AM, Mika S wrote: > > I actually meant latent dirichlet allocation. > > If it'

Re: [Scikit-learn-general] incrementally update LDA model

2016-02-03 Thread Mika S
Okay I think I got confused as well:) So 0.17.1 has partial_fit for latent dirichlet allocation I assume On Tuesday, February 2, 2016, Mika S wrote: > I actually meant latent dirichlet allocation. > > If it's a closed form then it indeed makes sense that we don't have a > partial_fit > > On Thu

Re: [Scikit-learn-general] incrementally update LDA model

2016-02-03 Thread Mika S
I actually meant latent dirichlet allocation. If it's a closed form then it indeed makes sense that we don't have a partial_fit On Thursday, January 28, 2016, Sebastian Raschka wrote: > Sorry to interfere, but I think we are talking about 2 different things > here: > Latent Dirichlet Allocation

Re: [Scikit-learn-general] incrementally update LDA model

2016-01-28 Thread Sebastian Raschka
Sorry to interfere, but I think we are talking about 2 different things here: Latent Dirichlet Allocation vs. Linear Discriminant Analysis. I think the original question was about Linear Discriminant Analysis? Isn't the current implementation the closed-form, thus it doesn't have the partial_fit?

Re: [Scikit-learn-general] incrementally update LDA model

2016-01-28 Thread Andreas Mueller
Gael thought you meant Latent Dirichlet Allocation. The docs you point to are for Linear Discriminant Analysis. Linear Discriminant Analysis has indeed no partial fit. Latent Dirichlet allocation (introduced in 0.17) has. On 01/28/2016 02:05 PM, Mika S wrote: http://scikit-learn.org/0.16/module

Re: [Scikit-learn-general] incrementally update LDA model

2016-01-28 Thread Martin Delzant
It's available in the last stable release : 0.17 http://scikit-learn.org/stable/modules/generated/sklearn.decomposition.LatentDirichletAllocation.html Regards, Martin Delzant On Thu, Jan 28, 2016 at 8:05 PM, Mika S wrote: > http://scikit-learn.org/0.16/modules/generated/sklearn.lda.LDA.html do

Re: [Scikit-learn-general] incrementally update LDA model

2016-01-28 Thread Mika S
http://scikit-learn.org/0.16/modules/generated/sklearn.lda.LDA.html does not have a partial_fit method. Though Is it available in 0.17.1 or in a dev branch? On Wed, Jan 27, 2016 at 11:12 PM, Gael Varoquaux < gael.varoqu...@normalesup.org> wrote: > On Wed, Jan 27, 2016 at 04:13:58PM -0800, Mika S

Re: [Scikit-learn-general] incrementally update LDA model

2016-01-27 Thread Gael Varoquaux
On Wed, Jan 27, 2016 at 04:13:58PM -0800, Mika S wrote: > Is it possible to update an LDA model online incrementally in scikit learn > (stable or dev version)? Yes. Use the "partial_fit" method. Gaël -- Site24x7 APM Insi