https://ideas.creativecasinoties.com/post/linear-classification-in-r-5p4kk9