Question: [ 9 ] :NameErrorCell In [ 9 ] , line 1 Traceback ( most recent call last ) rarr 1 X _ train = vectorizer.fit
:NameErrorCell In line Traceback most recent call lastrarr Xtrain vectorizer.fittransformposts numsamples, numfeatures Xtrain. shape print#samples: d #features: dnumsamples, numfeatures
NameError: name 'posts' is not defined
: printvectorizergetfeaturenamesout
disk 'format' 'hard' 'how' my 'problems' to
::NameErrorCell In line Traceback most recent call lastrarr Xtrain vectorizer.fittransformposts numsamples, numfeatures Xtrain. shape print#samples: d #features: dnumsamples, numfeatures
NameError: name 'posts' is not defined
: printvectorizergetfeaturenamesout
disk 'format' 'hard' 'how' my 'problems' to
:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
