but this is not enoughand it comes at the price of lower classification runtime performance takefor instancethe value of where we have very low test error to classify new postwe need to find the nearest other posts to decide whether the new post is good one or notclearlywe seem to be facing an issue with using the nearest neighbor algorithm for our scenario it also has another real disadvantage over timewe will get more and more posts to our system as the nearest neighbor method is an instance-based approachwe will have to store all the posts in our system the more posts we getthe slower the prediction will be this is different with model-based approaches where you try to derive model from the data so here we arewith enough reasons now to abandon the nearest neighbor approach and look for better places in the classification world of coursewe will never know whether there is the one golden feature we just did not happen to think of but for nowlet' move on to another classification method that is known to work great in text-based classification scenarios using logistic regression contrary to its namelogistic regression is classification methodand is very powerful when it comes to text-based classification it achieves this by first performing regression on logistic functionhence the name