Hey guys, Do you know how to measure the size of an object in Python?! I'm currently using "Pympler", but it's kind of slow for my use. I've been coding an application for data stream mining! I read a data stream instance by instance and train a classifier using them incrementally. I need to measure the size of the classifier as instances are read. "Pympler" makes my code considerably slow; apparently, it is not a suitable choice when you measure memory usage of an object repeatedly or continuously. Do you have any idea how to measure the size of the classifier (or an object) efficiently over time?! Thanks,
You must be logged in to post. Please login or register an account.