Data Science, Machine Learning, Support Vector Machine, Python.
vectors), but this will give us the distance and not the perpendicular distance to the hyperplane. So how can we do this? Well, we need to remember some basics from Linear Algebra. For this task we will get the help from the norm. The form of a vector represents the length of magnitude of it, so if