Waikato / moa

MOA is an open source framework for Big Data stream mining. It includes a collection of machine learning algorithms (classification, regression, clustering, outlier detection, concept drift detection and recommender systems) and tools for evaluation.
http://moa.cms.waikato.ac.nz/
GNU General Public License v3.0
609 stars 353 forks source link

EFDT ignores maxByteSizeOption #202

Closed hansblafoo closed 3 years ago

hansblafoo commented 4 years ago

Hi there,

I want to limit the size of the growing EFDT, but its maxByteSizeOption is useless. The problem is that the calculation of the tree size (estimateModelByteSizes()) is only triggered by a method of the nested static inner class VFDT (trainOnInstanceImpl()). However, the VFDT, which is a subclass of EFDT, cannot be instantiated - not even with reflection as there is no constructor.

Best regards

abifet commented 3 years ago

You're right. This is something that needs to be fixed.