Zhijing Eu
1 min readSep 26, 2020

--

Looks like a nice piece of work !

Had a look at your github repo and was wondering if you would be willing to post the code you used to construct the classes for 'cv', 'idf_transformer' and logistic regressors that were pickled and re-loaded ?

Were these custom classes or just simple instantiations from the basic classes ?

(e.g. from sklearn.linear_model import LogisticRegression ;

from sklearn.feature_extraction.text import TfidfTransformer;

from sklearn.feature_extraction.text import CountVectorizer )

Also - in the code ...what does " dummy_fn = lambda x:x " actually do ? It is not totally clear as it is referenced nowhere in the rest of the IPYNB file.

--

--

Zhijing Eu
Zhijing Eu

Written by Zhijing Eu

Hi ! I’m “Z”. I am big on sci-fi, tech and digital trends.

Responses (1)