Skip to content

olivierlabayle/NonNegLeastSquaresMLJInterface.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

A MLJ Interface to the NonNegLeastSquares.jl package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages