jep
Deep Java Library (DJL)
jep | Deep Java Library (DJL) | |
---|---|---|
4 | 13 | |
1,254 | 3,853 | |
1.0% | 1.6% | |
7.4 | 9.5 | |
5 months ago | 1 day ago | |
C | Java | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jep
-
How do you use a python model in a java code
You could look toward Java embedded python. I’m using it myself and quite happy with it.
-
Best way to combine Python and Java?
We used https://github.com/ninia/jep for similar thing.
-
How to Draw Beautiful Chart like Matplotlib in Java or Scala?
There is a library in the world that allow you to use CPython from Java code, and this one was a candidate because we can use both Python3 and numpy. However, we had to install a separate environment-dependent library to use JNI, and we also had to install the library from pip on the Python side, which was too much work for something as simple as drawing graphs. So in the end I have decided to implement it independently of these libraries at all.
Deep Java Library (DJL)
-
Is deeplearning4j a good choice?
It seems to have been picked up by Eclipse and there is also Oracle Labs' Tribuo and Deep Java Library. All seem active, but I don't know much about any of them. I agree it's probably best to follow the community and use a more popular tool like PyTorch.
-
Just want to vent a bit
Although it may be a bit more work, you can do both machine learning and AI in Java. If you are doing deep learning, you can use DeepJavaLibrary (I do work on this one at Amazon). If you are looking for other ML algorithms, I have seen Smile, Tribuo, or some around Spark.
-
Best way to combine Python and Java?
Image preprocessing I know less about, but tokenization is something I've dealt with a bunch. There are a few options, either push the tokenizer into the ONNX model and use MS's ONNX Runtime extensions (we've used this when working with sentencepiece tokenizers), port the tokenizer entirely to Java (we did this for BERT), or use a sentencepiece or HF tokenizers wrapper directly (e.g. Amazon's DJL did this - HF, sentencepiece).
-
Anybody here using Java for machine learning?
https://djl.ai/ seems very promising. I've played around with it quite a bit, not in real production though. It's a very well documented (https://d2l.djl.ai/) and active project, with Amazon working on it.
- Good document classification library in Java
-
2021-09 - Plans & Hopes for Clojure Data Science
Here is link number 1 - Previous text "DJL"
-
[D] Java vs Python for Machine learning
To give a contrasting perspective, I think the Java ecosystem is much better suited for many data science tasks, and has a growing and well-maintained set of libraries for general purpose machine learning. I won't list them all, but TF-Java, DJL et al. have implementations of many modern architectures and there are a number of excellent libraries (CoreNLP, Lucene et al.) for working with text.
- Does Java has similar project like this one in C#? (ml, data)
-
If it gets better w age, will java become compatible for machine learning and data science?
I think DJL also use use it for their tutorials - https://docs.djl.ai/jupyter/tutorial/01_create_your_first_network.html.
-
Machine learning on JVM
AWS Deep Learning more deep learning.
What are some alternatives?
matplotlib4j - Matplotlib for java: A simple graph plot library for java, scala and kotlin with powerful python matplotlib
Deeplearning4j - Suite of tools for deploying and training deep learning models using the JVM. Highlights include model import for keras, tensorflow, and onnx/pytorch, a modular and tiny c++ library for running math code and a java based math library on top of the core c++ library. Also includes samediff: a pytorch/tensorflow like library for running deep learning using automatic differentiation.
javacpp-embedded-python - With this library, you can embed Python to your Java or Scala project. The main purpose of this library is to use Python libraries from Java or Scala.
Pytorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration
Pyto - Python IDE for iOS with NumPy, Matplotlib, Pandas, SciPy and SciKit-Learn
mediapipe - Cross-platform, customizable ML solutions for live and streaming media.
Programming - This repo contains my Projects and practice code of various languages which I have learned during my Graduation in Computer engineering.
Tribuo - Tribuo - A Java machine learning library
CoreNLP - CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
onnxruntime-extensions - onnxruntime-extensions: A specialized pre- and post- processing library for ONNX Runtime
Apache Flink - Apache Flink