All right, everyone.
So now time to test our newly created order, handcrafted created this tasting let.
So for testing purposes on both of this model, random forest and a support vector machine, I have
created a tree tasting sample like this one is.
Hello.
You are learning natural language processing.
Then test two will be hope.
You are doing good and learning new things.
Various tests.
We will be a congratulation.
You won a lottery, offered one million dollar to Klimek.
Call on this particular number.
So as a human, just by looking at this testing dataset, it looks like that the first two are not a
spam.
They are a hard message.
There is nothing wrong you are doing here.
You are not encouraging the user to take some action.
I mean, in terms of money or anything, whereas this three best user that you won some lottery.
So that looks like a kind of spam.
Now our time to test with this to model.
So what do we do?
Let's apply on a fast classifier model.
That is nothing, whatever random forest model.
So let's do predict.
And let me play based on sameway.
Let me for all feet.
And I'm going to apply for test two and three.
Let me execute it.
I think it's this plate.
Whoops.
This is not defined.
All right, now it's on display, the result of all three.
So what we can do, we can just raptly their own print function.
All right.
All right, so first one is ham, ham and his farm, so perfectly, just like us as a human, it has
correctly predicted the first two are not a spam.
The last one is so random for us.
Well, fine on all three example.
Let's try to apply the same thing with the SVM.
So now for SVM instead of classifier, I'm just going to replace it with Asmir.
All right.
And let just executing all.
So far, less VMI, so it has correctly predicted the first two out of ham and at last one is spam,
because it's a increasing use.
It I mean, it looks like he and his family.
So they are claiming to call on this particular number to claim for your one million dollar likely win.
All right.
So that is how you can make a prediction, because I know we've made a prediction out, actually, does
it?
Only now.
This is my cell.
What created this particular messages?
And let me help.
And it looks fine on a boat and forest line support vector machine also.
So, like so see you in the next video.
We will see some more stuff related to natural language processing.