title: How to calculate size of svm classifier in sklearn-python?
body: <p>I am using LinearSVC from svm. I want to know how much memory the classifiers take after being trained.</p>
  
  <pre><code>from sklearn.svm import LinearSVC
  clf_svm = LinearSVC()
  clf_svm.fit(xtrain,ytrain)
  </code></pre>
  
  <p>I used sys.getsizeof but it always returns 56 as it doesn't take complexity of objects into consideration. Is there a way to calculate exact size the classifier takes in memory? </p>