MrDinkleburg - 28 days ago 15

Python Question

So I'm running a SVM classifier (with a linear kernel and probability false) from sklearn on a dataframe with about 120 features and 10,000 observations. The program takes hours to run and keeps crashing due to exceeding computational limits. Just wondering if this dataframe is perhaps too large?

Answer Source

You could try changing the parameters for the algorithm.

Tips on practical use from the documentation.

You could try a different algorithm, here's a cheat sheet you might find helpful: