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

Clean up AdaptiveRandomForestRegressor. #194

Closed AlbandeCrevoisier closed 4 years ago

AlbandeCrevoisier commented 4 years ago

Directly use an accumulator instead of a vector that ends up being summed anyway. Use this.ensemble.length instead of manually incrementing a variable in the for loop.