-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we train Magpie models with just one word? #158
Comments
For binary classification you can use simpler models search for “binary
classification Scikit-learn”. Can you give an example of your sample input?
On Tue, Sep 25, 2018 at 11:17 PM kaundinya5 ***@***.***> wrote:
I'm trying to use Magpie to classify different alphanumeric numbers into
either policy number, account number. I changed the minimum number of words
in word2vec to 1 to support this. After I trained the model, it always
produces the same probability. Am I doing something wrong or do Magpie
models always be trained with sentences and paragraphs?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#158>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AkdXUpiN1WnVtRe3EEEaaVeRG2sl5MXXks5uexwTgaJpZM4W5-GC>
.
--
Edan Krolewicz
Edan Krolewicz
*Research Automation, **DiscoverOrg*
*P:* +1 360.783.6842 *|*
[email protected]
|
Thank you for your response, I'm not trying to implement binary classification, I just started out with two labels, will be adding more labels once I get this working, I just wanted to try and see if Magpie could work on just two labels first. Here are some example inputs: I have created the appropriate txt and lab files as well. |
@kaudinya5 Magpie is designed to classify free text documents that consist of many words. It's power relies on the fact that it can learn implicit relationships between those words and use them for classification. If your input is a unique alphanumeric character, it's unlikely the model will learn much. |
I'm trying to use Magpie to classify different alphanumeric numbers into either policy number, account number. I changed the minimum number of words in word2vec to 1 to support this. After I trained the model, it always produces the same probability. Am I doing something wrong or do Magpie models always be trained with sentences and paragraphs?
The text was updated successfully, but these errors were encountered: