datumbox / datumbox-framework

Datumbox is an open-source Machine Learning framework written in Java which allows the rapid development of Machine Learning and Statistical applications.
http://www.datumbox.com/
Apache License 2.0
1.09k stars 282 forks source link

How can to make datumbox train data in disk #19

Closed SomeOneLikeThat closed 7 years ago

SomeOneLikeThat commented 7 years ago

I already to run datumbox success. Which example in https://github.com/datumbox/datumbox-framework-examples/blob/develop/src/main/java/com/datumbox/examples/TextClassification.java

But I want to build 1 apps when I input some text. I will say is category .

I already to try which data in here : https://github.com/datumbox/datumbox-framework-zoo/tree/develop/TopicClassification

And which code

TextClassifier textClassifier = MLBuilder.load(TextClassifier.class, "TopicClassification", configuration); System.out.println(textClassifier.predict("Datumbox is amazing!").getYPredicted());

Have error : Can't find any object with name 'trainingParameters'

how can I fix it?

datumbox commented 7 years ago

I'm not sure what you mean. Please confirm that your pom.xml is configured properly and that the pretrained models are stored in your local disk as explained on the tutorial. If you continue getting problems post the code snippet that reproduces the problem along with the full error message.