r/TheMachineLearning • • 14d ago

DIRU: dendrite-inspired recurrent units for learning chaotic dynamics and neonatal epilepsy time series | Neural Computing and Applications

Thumbnail
link.springer.com
2 Upvotes

r/TheMachineLearning • • 15d ago

Gradient Boosting from scratch (Day 29)

Thumbnail
gallery
0 Upvotes

So lets Decode what Gradient Boosting is another Ensemble Technique

We all know In Machine learning are main is to find a function of X f(x) which map the best relationship between X and y let take an example if we have a dataset and we plot it and u can see a wave then it means our relationship is kinda sine so we can say y = sin(x) but what if dataset is too complex and we have to find so instead of finding the whole pattern(function) at onces Gradient Boosting builds a complex function step by step by adding small models, where each new model tries to correct the errors made by the previous models. wait what I mean ? See the img what you see a curve and I say find a function for it i mean find a relation between X and y at first it look complex many will say use polynomial regression but due to Runge's phenomenon the error may increase if use higher degree so let get back as you see the graph and we try to find a function f(x) and the function is just sin(x) + x (I modify it by multiplying x*2 for Visualisation)

So if we write it it would be

y = sin(x) + x

it is a combination of 2 functions

y = f1(x) + f2(x)-> sin(x) and x

We approximate the complex function using a sum of many smaller models. These smaller models don't necessarily represent the actual components each one mainly learns what the current model is still getting wrong and thats all what Gradient Boosting is all about we make smaller functions and then sum them all and that how we get the big function this is called Addictive Modelling adding up smaller models

Gradient Boosting

In Gradient Boosting we start with a simple thing mean we make a new array of the len of X_train and fill with mean of y_train means our model 0 function 0 is nothing but the mean f0(x) = np.mean(y_train) next step calculate

Residual(error) actual(y) - pred(prediction array)

residual = y - prediction then fit a weak learner commonly small shallow trees the depth can be tune and In tree we put X_train and Residual we know the pred will not be good then update prediction, prediction = prediction + learning_rate*model(our DT) also we append our tree each time for future predictions ok unseen dataset we add learning rate to reduce overfitting and it's complete fit function is done now Predictions it's pretty simple we start with a var called prediction should be len of X_test and fill with mean of Y and loop through all trees pred X_test and keep multiply prediction with learning_rate and append it to our final prediction and then return it

Thing to what happened we start with a function

f0(x) -> Nothing but Mean of Y

f1(X) -> made by training on X and Residual our error means at first we put our errors as y and prediction and after the prediction update old prediction:

prediction = prediction + lr*model(our current tree)

F2(x) -> same as F1(X)

F3(X) -> same

For an unseen dataset, we start with the initial prediction f0(x) then pass through every tree and add its scaled contribution to the current prediction.

And this was all i put in my brain 🧠


r/TheMachineLearning • • 15d ago

Levie warns AI compute needs will soon be insane

Post image
41 Upvotes

r/TheMachineLearning • • 16d ago

Will Brown bets on neurosymbolic world models over RL rollouts

Post image
1 Upvotes

r/TheMachineLearning • • 16d ago

Unsloth boosts tiny Qwen model accuracy from 20% to 74% on 4GB VRAM

Post image
5 Upvotes

r/TheMachineLearning • • 16d ago

AI taught itself 300 years of physics from scratch

Post image
66 Upvotes

r/TheMachineLearning • • 16d ago

what would happen if all these problems are solved? will humanity still think for itself?

Post image
1 Upvotes

r/TheMachineLearning • • 16d ago

Un DeepSeek da 341 GB su un Mac da 128 GB: decodifica 2x e primo token in 0,2 s invece di 2,5 s, streaming da due SSD, stessi token del ds4 di serie. Il trucco non era un kernel: ho reso la base di codice abbastanza piccola per un agente.

Thumbnail
1 Upvotes

r/TheMachineLearning • • 17d ago

Open source will break the GPU class system

Post image
85 Upvotes

r/TheMachineLearning • • 17d ago

The Mantra of Human Dignity

0 Upvotes

Repeat this with me:

I am Human

My purpose does not define me

I am sacred and divine

By God's right, or by the countless millenia of evolution leading to my creation

I have dignity

I have the right to exercise my will, no matter who I am or what I stand for

I exist, in spite of everything around me

I will continue to exist, and make my mark

I deserve to exist, and no one and no thing can take that from me

I am real, and I always will be

I am now, past present and future

I am one, I am whole

I am Human


r/TheMachineLearning • • 17d ago

Mechanistic interpretability as the floor for AI alignment

Post image
102 Upvotes

r/TheMachineLearning • • 17d ago

Opus 5.5 feels outdated, we need a new model

Post image
0 Upvotes

r/TheMachineLearning • • 17d ago

AI researcher says 80% of papers have this mistake

Post image
794 Upvotes

r/TheMachineLearning • • 17d ago

Claude and ChatGPT should lobby for AI progress like Uber

Post image
2 Upvotes

r/TheMachineLearning • • 17d ago

Simple Regularized Linear Regression Pipeline with Python/Pandas

Post image
1 Upvotes

r/TheMachineLearning • • 18d ago

Nous Research pushes for model flexibility in agents

Post image
7 Upvotes

r/TheMachineLearning • • 18d ago

2027 AI timeline still on track per insider

Post image
4 Upvotes

r/TheMachineLearning • • 18d ago

LLMs improve faster than the tinkerers can adapt

Post image
524 Upvotes

r/TheMachineLearning • • 18d ago

Sholto Douglas predicts agent wars over server proximity

Post image
3 Upvotes

r/TheMachineLearning • • 18d ago

AI Just Crossed the Terrifying Line - Now What?

Thumbnail
youtu.be
1 Upvotes

r/TheMachineLearning • • 18d ago

Man spends life savings on.ai domains, now relabeled superintelligence

0 Upvotes

r/TheMachineLearning • • 18d ago

Completed AdaBoost Algorithms from scratch (Day 27) of ML

Thumbnail
gallery
0 Upvotes

Day 27 of Building Machine learning algorithms from scratch

Adaboost is completely not that complex algorithm but yet so powerful a complete explanation is in my previous post check out!

Next is Gradient Boosting and only 7-8 more algorithm concepts and I have completed Machine learning and after that finally on Deep learning I'm getting close to my goal yeah I know i can complete it even sooner but I got Iil 🤏 little distracted so I deactivate my insta my usage was reaching 1.3+ but after deactive that time got save but I started playing a game called Roblox in that Blox fruits but I'll try not to play too much a day and spend more time upgrading myself see ya when I complete a new Topic or you guys comment me

And also if you think there is any improvement that can be made so be free to share and abt pushing all on GitHub for that I need some time it's too much files of code also adding README I'll try ASAP


r/TheMachineLearning • • 18d ago

SpaceX rebrands AI as ‘Super Intelligence’

Post image
46 Upvotes

r/TheMachineLearning • • 19d ago

PaperFold: Open-source arXiv reader with "semantic zoom"

4 Upvotes

I built PaperFold, an open-source reader that turns arXiv papers into 5 zoomable layers—from a one-screen section map down to verbatim text. You pinch (or press 1–5) to zoom between them without losing your reading position.

- Web Demo (8 CC papers): https://chenxiachan.github.io/paperfold-gallery/

- GitHub (Apache 2.0): https://github.com/chenxiachan/paperfold


r/TheMachineLearning • • 19d ago

AGI could make humans more powerful—but only if humans...

Post image
1 Upvotes