NonNegLeastSquaresMLJInterface.jl

A MLJ Interface to the NonNegLeastSquares.jl package
Author olivierlabayle
Popularity
0 Stars
Updated Last
3 Years Ago
Started In
May 2021

CI codecov GitHub license

NonNegLeastSquaresMLJInterface.jl

A MLJ Interface to the NonNegLeastSquares.jl package.

Installation

add NonNegLeastSquaresMLJInterface

Usage

using NonNegLeastSquaresMLJInterface: NonNegativeLeastSquareRegressor

n = 100
X = randn(n, 3)
y = X * [2, -10, 7] + randn(n)

model = NonNegativeLeastSquareRegressor(;alg=:nnls)
mach = machine(model, X, y)

fit!(mach)
fp = fitted_params(mach)

Used By Packages

No packages found.