You are viewing a single comment's thread from:

RE: First experience with Machine Learning and a call for help

in HiveCoding2 years ago

Thank you for contributing in Hive Coding! This is the perfect place to ask these questions.

You should be able to use the predict function on your new 'real_data' as well - and see how well your algorithm performs on unseen data.

Just use this y_predicted = nb.predict(x_test) but instead of using the x_test data used from the training set, use the real_data.


Thanks! I'll give that a try!