I am using LinearSVC from svm. I want to know how much memory the classifiers take after being trained.
from sklearn.svm import LinearSVC
clf_svm = LinearSVC()
clf_svm.fit(xtrain,ytrain)
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?