Skip to content

Releases: rbmuller/datatrax

v1.2.0 — Random Forest

Choose a tag to compare

@rbmuller rbmuller released this 01 May 14:00

Added

  • Random Forest classifier (ml/forest.go)
    • Bootstrap sampling with configurable number of trees
    • Feature bagging (sqrt(n_features) by default)
    • Out-of-bag (OOB) score for free validation without a separate test set
    • Feature importance averaged across all trees
    • Probability prediction (PredictProba)
  • CONTRIBUTING.md — local setup, test/benchmark commands, project structure, and the "what we're looking for" list (SVM, PCA, ensemble methods, perf, docs).

Changed

  • README ML table and roadmap row updated to reflect Random Forest shipping.
  • v2.0.0 roadmap row narrowed to SVM, PCA, and ensemble methods.

Install: go get github.com/rbmuller/datatrax@v1.2.0

v1.1.0 — Datatrax rename + classic ML toolkit

Choose a tag to compare

@rbmuller rbmuller released this 01 May 14:00

First release under the new datatrax name. Repository renamed from devtools; module path is now github.com/rbmuller/datatrax.

Added — ml package (pure Go, zero external dependencies)

Algorithms (7): Linear Regression (gradient descent + normal equation), Logistic Regression, KNN (euclidean/manhattan + optional inverse-distance weighting), K-Means (Lloyd's + K-Means++ init), Decision Tree (gini/entropy, String() viz, feature importance), Gaussian Naive Bayes, Multinomial Naive Bayes (Laplace smoothing).

Dataset infrastructure: LoadCSV, Split (train/test), Shuffle, Shape.
Preprocessing: MinMaxScale, StandardScale, column-wise statistics.
Encoding: LabelEncode / LabelDecode, OneHotEncode.
Metrics: Accuracy, Precision, Recall, F1Score, ConfusionMatrix, MSE, RMSE, MAE, R2Score.
Cross-validation: KFoldSplit.
Benchmarks: ml/benchmark_test.go. Apple M4 reference numbers in README.
Examples: examples/classification/, examples/regression/, examples/clustering/.

Added — utility packages (8)

batch, coerce, dateutil, dedup, errutil, maputil, mathutil, strutil — restructured into focused, generics-first packages. Legacy dedup/search helpers collapsed into Deduplicate[T comparable] and Contains[T comparable].

Added — CI & quality

  • GitHub Actions: go vet + go test -race -coverprofile
  • MIT license, godoc on all public functions, 47 unit tests
  • Listed on awesome-go under Machine Learning
  • Go Report Card: A+

Removed

  • gopkg.in/guregu/null.v3 dependency — repository is now zero-dep stdlib-only.
  • Legacy mail/ and logging/ packages.

Install: go get github.com/rbmuller/datatrax@v1.1.0

v1.0.1

v1.0.1 Pre-release
Pre-release

Choose a tag to compare

@rbmuller rbmuller released this 17 Jan 00:26

Basic structure for devTools package

v1.0.0

Choose a tag to compare

@rbmuller rbmuller released this 01 May 13:55

Same commit as v1.1.0. Tagged for compatibility with consumers pinning to a 1.0 line; new work should track v1.1.0 and later. See v1.1.0 release notes for the full content of this commit.