src/MachineLearning/Regression.hs:38:19: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/MachineLearning/Regression.hs:10:8-33
(and originally defined in ‘GHC.Base’)
or ‘Numeric.LinearAlgebra.<>’,
imported from ‘Numeric.LinearAlgebra’ at src/MachineLearning/Regression.hs:30:31-34
|
38 | in (LA.inv (trX <> x) <> trX) #> y
| ^^
src/MachineLearning/Regression.hs:38:25: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/MachineLearning/Regression.hs:10:8-33
(and originally defined in ‘GHC.Base’)
or ‘Numeric.LinearAlgebra.<>’,
imported from ‘Numeric.LinearAlgebra’ at src/MachineLearning/Regression.hs:30:31-34
|
38 | in (LA.inv (trX <> x) <> trX) #> y
| ^^
src/MachineLearning/Regression.hs:46:20: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/MachineLearning/Regression.hs:10:8-33
(and originally defined in ‘GHC.Base’)
or ‘Numeric.LinearAlgebra.<>’,
imported from ‘Numeric.LinearAlgebra’ at src/MachineLearning/Regression.hs:30:31-34
|
46 | in (LA.pinv (trX <> x) <> trX) #> y
| ^^
src/MachineLearning/Regression.hs:46:26: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/MachineLearning/Regression.hs:10:8-33
(and originally defined in ‘GHC.Base’)
or ‘Numeric.LinearAlgebra.<>’,
imported from ‘Numeric.LinearAlgebra’ at src/MachineLearning/Regression.hs:30:31-34
|
46 | in (LA.pinv (trX <> x) <> trX) #> y
| ^^
From the Stackage Nightly build: