Skip to content
SakibpediaPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logreg

Go Windows exe License: MIT

Logistic regression trained by batch gradient descent for binary classification.

Part of StatLab — twenty standalone statistical analysis tools for Windows, each shipped as a native executable with no runtime dependencies. Author: S M Nazmuz Sakib · [email protected]

Detailed use cases

  1. Churn prediction — estimate conversion probability from a numeric feature.
  2. Medical screening — model a binary outcome from a continuous marker.
  3. Threshold selection — inspect probabilities before choosing a decision cut-off.

Download and run (Windows)

Download logreg.exe from the Releases page, then:

Get-Content data.csv | .\logreg.exe
# or
.\logreg.exe -f data.csv

The executable is a native Windows binary — no Python, no installer, no DLLs.

Build from source

go test ./...
go build -o logreg.exe .

Example output

{
  "weight": 1.2,
  "bias": -0.4,
  "accuracy": 0.9
}

Input format

CSV with feature,label where label is 0 or 1. Flags control learning rate and epochs.

Visual preview

logreg preview

Testing

main_test.go covers the core algorithm with deterministic cases. Run go test ./....

License and contact

MIT © S M Nazmuz Sakib (2026). Questions: [email protected].

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages