Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Alternative to scikit-learn for java?

 
Ranch Hand
Posts: 52
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm wondering if anybody can please suggest a good alternative to scikit-learn for java?

I want to be able to use things like KNeighborsClassifier for knn.fit, knn.predict as well as other scikit learning tools like confusion_matrix, LinearSVC, RandomForestClassifier etc.

Any ideas would be appreciated, thanks so much!
 
Bartender
Posts: 1282
39
IBM DB2 Netbeans IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm a big fan of Java, but my warm advice is to learn Python.
The very first time I approached ML, I tried - like you - to start my journey using my own home ground language. At the end I realized it wasn't worth, and that I could put less effort in learning Python as much as enough to use keras, tensorflow and scikit, instead of struggling to search alternatives just to continue to work with my preferred language.
 
Glenda Karen
Ranch Hand
Posts: 52
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks so much! I would definitely use python but I neglected to mention in my previous post that I'm working on a project translating ml python code to java to integrate into a java stack. I was asked specifically to use java but ya otherwise I'd definitely consider using python.
 
Why should I lose weight? They make bigger overalls. And they sure don't make overalls for tiny ads:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic