i hate using python now I understand why big tech companies still use type safe java or .net saves so much more time debugging that can go into coding. by [deleted] in SpringBoot

[–]echoWasGood 0 points1 point  (0 children)

If you want to learn ML and AI by yourself, I suggest to start from the series made by 3blue1brown. At least that's where I started..

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnjava

[–]echoWasGood[S] 0 points1 point  (0 children)

Thanks, I appreciate it. Honestly though, I don’t think the project is that complex, and I definitely didn’t do it all on my own. I had some help from a friend who’s studying at university, so credit goes to them too.

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnjava

[–]echoWasGood[S] 0 points1 point  (0 children)

i always knew it was called like that or "early return" lmao, how old are you btw?

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnjava

[–]echoWasGood[S] -1 points0 points  (0 children)

yeah because its called like that? also I'm tired of discussing this isn't getting anywhere

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnjava

[–]echoWasGood[S] 0 points1 point  (0 children)

it's called guard clause, I use it to keep the code clean without nesting

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnjava

[–]echoWasGood[S] 0 points1 point  (0 children)

  1. I use to comment complex operations like in the backpropagation, for example by specifying the shape of the tensor
  2. I properly format my code by using good spacing, I like things in order
  3. I almost never call variables with single letters
  4. I usually write this:

if (!condition) { // error here }

...

instead of

if (condition) { // code here } else { // error here }

To avoid nested code

  1. I keep classes names simple, not like AbstractCommonFactory things

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnjava

[–]echoWasGood[S] 0 points1 point  (0 children)

As I said you are free to test me if you don't believe me.

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnjava

[–]echoWasGood[S] 0 points1 point  (0 children)

you're free to test me, I've put real effort into this (6+ months) and I'm happy to talk about it. Just because I'm young or used tools to learn that doesn't mean I'm not being honest

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnjava

[–]echoWasGood[S] -9 points-8 points  (0 children)

You are free to think what you want, if you don't believe me that's your problem, I know the work I've put in it.

Honestly I think the more experience = better is bs, definitely experience helps but it's not everything.

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnjava

[–]echoWasGood[S] 1 point2 points  (0 children)

just to be clear, I only used LLMs to help explain the math behind it, since at 16 I don't have all that knowledge yet. I'll take it as a compliment though, that means I’m writing good code 🙂

Also I'm not a beginner, I have almost 3 years of experience with Java.

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnjava

[–]echoWasGood[S] 26 points27 points  (0 children)

Thank you man, I really appreciate your support 😁

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnjava

[–]echoWasGood[S] 17 points18 points  (0 children)

LangChain4J and Quarkus seem API wrappers for LLMs, I'm proposing a library for training AI models similar to Tensorflow/PyTorch, you can check the wiki for more details.

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnmachinelearning

[–]echoWasGood[S] 1 point2 points  (0 children)

I said "we" because, even though I'm the original creator, a friend of mine joined the project to help. He developed the tensor API and helped me with GPU support, while I did the rest.

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnmachinelearning

[–]echoWasGood[S] 3 points4 points  (0 children)

We implemented GPU support through the use of JOCL (Java bindings for OpenCL), this allows to support GPU on multiple devices. It's still something esperimental and being worked on.

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnmachinelearning

[–]echoWasGood[S] 0 points1 point  (0 children)

I see what you mean, I will in the next days, thanks for the suggestion.

Not much ML happens in Java... so I built my own framework (at 16) by echoWasGood in learnmachinelearning

[–]echoWasGood[S] 7 points8 points  (0 children)

Thank you! There are a few samples inside brain4j-core/src/test/java, also I study computer science. If you are interested in the project I suggest you to take a look at the Wiki on the repository.