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

Reading ARFF file when using MOA’s API with Scala #165

Closed Reyhanea closed 4 years ago

Reyhanea commented 5 years ago

I will be very grateful if you can help me out how the data with .arff format could be used to the Adaptive Hoeffding tree so that it can get the model accuracy using the prequential method. In the code provided in the "https://moa.cms.waikato.ac.nz/using-moas-api-with-scala/" link, RandomRBFGenerator is utilized as the input data, but to give the .arff formatted data, it is not possible to use the functions used in this code, such as the stream.prepareForUse ().

Is it possible to guide me what functions should be used to give .arff format data as input to the Hoeffding tree model in this code?

fracpete commented 4 years ago

You can use the moa.streams.ArffFileStream stream generator for that.