DevLifted
HomeArticlesCategoriesTags
All tags

#logistic-regression

2 articles with this tag.

Logistic Regression from Scratch in PyTorch: Every Line Explained

intermediateDeep Learning

Logistic Regression from Scratch in PyTorch: Every Line Explained

Build a multi-class classifier in PyTorch without nn.Linear, without optim.SGD, without CrossEntropyLoss. Just tensors, autograd, and arithmetic — so you finally see what those helpers actually do.

April 19, 202615 min read
#pytorch#logistic-regression#autograd

TF-IDF + Logistic Regression: The Classical ML Baseline You Should Try First

intermediateMachine Learning Basics

TF-IDF + Logistic Regression: The Classical ML Baseline You Should Try First

Before reaching for LLMs or neural networks for text classification, try the boring thing. Here's how TF-IDF + Logistic Regression works, why it's often embarrassingly competitive, and where it breaks.

April 19, 202610 min read
#tf-idf#logistic-regression#sklearn
DevLifted

A modern educational platform for developers. Learn, grow, and stay updated with the latest in technology and software development.

Explore

  • Articles
  • Categories
  • Tags

Connect