I have not found any questions like this, but I enjoy the way Sklearn is setup and there is a lot of online help with it. In sklearn I could use decision tree classifier and it would decide based on data I put in for a label


data = [1, 1, 1, 1], [2, 2, 2, 2]
labels = [1, 2]
data_input = [1, 2, 1, 2]

and I could be told what label the data_input would fall into

Is there something like sklearn in Java? I have seen weka but that is not what I want, if anyone has any suggestions let me know! Sorry if this has been a repeat. Be sure to leave any links that may be useful

  • Also if there is not a good answer, I know this should be in a new question but, currently in java I am calling an external python script that saves text to a file, and instantly my program calls that text. The whole situation takes about two seconds to finish and I would rather have that be faster. If there are any suggestions on how to make that better let me know! – loooser Apr 6 '19 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.