title: TypeError: __init__() got an unexpected keyword argument 'n_components'
body: <p>I'm trying to apply <a href="http://scikit-learn.org/stable/modules/generated/sklearn.decomposition.LatentDirichletAllocation.html" rel="nofollow noreferrer"><code>LatentDirichletAllocation</code></a> on a dataset. When I try to assign a value to the <code>n_component</code> argument of LDA. I get the below error.</p>
  
  <pre><code>TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-25-6f5cf163fcaf&gt; in &lt;module&gt;()
       23 # tfidf = vectorizer.fit_transform(line)
       24 # print(tfidf)
  ---&gt; 25 lda = LatentDirichletAllocation(n_components = 100)
       26 lda.fit(bag_of_words)
       27 tf_feature_names = vector.get_feature_names()
  
  TypeError: __init__() got an unexpected keyword argument 'n_components'
  </code></pre>