Quote:
but it needs a lot more training
That is machine learning 101 for you right there.
Quote:
I would literally just ask the user if the prediction was correct
This does work, and will work just fine. In most production environment this is not ideal scenario as it can lead to so many serious problems. One of the such things is, think of what will happen is the user can input some data and train your model into thinking something that should be wrong. Like, what if the user will enter, "this is a good day", and he labels it as "positive (1)"? Same for other scenarios... Now, in machine learning, if your model has enough data about a particular scenario it would lead to incorrect predictions and would lead to having your data corrupted. Thus, no input goes to the training sets without sanitization.
Quote:
how to transfer the line of text over to the training data
You will use the same training data set that you were using earlier. That file, which Microsoft provided was a zip file, I am not sure what type of file was in it, but you need to
modify that file.
Here are the steps:
- Take input from the user—how much longer you need to take, like statements, labels, etc.
- Add this input to the end of the file—most probably use
File.AppendAllText(string, string)
function. - Once file has the data, restart the training.
Machine learning, and the entire programming domain is about 3 words,
try, and
try again.