How to train a LogisticRegression classifier to read from a second dataset?

81 views Asked by At

I am trying to use scikit-learn to train a LogisticRegression classifier:

  1. My training data has 2 columns: “text”, “category”.

  2. I have a second dataset with 2 columns also: “text”, “category”.

This is what I want to accomplish:

While training the classifier, each time a “text” record from my training data is identical to a record in the second dataset, I want the classifier to assign the second dataset’s “category” to it.

0

There are 0 answers