Open BrianClement opened 7 years ago
[Comment originally created 2016-Dec-01 02:51:43 UTC by mrkriddell]
FYI @hammockman we're working on this now. Going to add C++ code to this repo
[Comment originally created 2016-Dec-01 19:50:19 UTC by rgommers]
A bit more detailed, the plan is:
[Comment originally created 2016-Dec-03 07:49:34 UTC by rgommers]
Okay, there's much more chemometrics functionality in R, so we'll look at using that via RPy2. I have no desire to deal with binding C++ code or HDF5 access in R, so we'll do all that in Python and only if a model is missing we do that in R.
Let's put the C++ code in a submodule, proposed name discbot.nir
.
[Comment originally created 2016-Dec-03 07:52:47 UTC by rgommers]
And no point in worrying about GPL code. In the unlikely case that we will actually sell/license a DiscBot, we'll probably provide source code with it anyway and otherwise we'll remove the code then.
[Comment originally created 2016-Dec-05 00:09:51 UTC by rgommers]
second submodule: discbot.coordinates
?
[Comment originally created 2016-Dec-05 00:18:32 UTC by rgommers]
Start with the NIR one, because the coordinate transform project also uses @BrianClement 's HDF5 library. So that really spans both the SVN repo and this one ....
[Comment originally created 2016-Dec-05 00:19:33 UTC by rgommers]
OK final names: chemometrics
and coregistration
.
[Comment originally created 2016-Dec-05 00:45:14 UTC by rgommers]
To generate test data, run chemometrics program in console mode:
NIR/CHEMOMODEL/Calibration/cal11to14SubsetX
cal11to14SubsetY
cal11to14KlasonligninSubset
<starts running>, 81.77% of variance explained
press y
do you want to save model coefficients? --> y
name: Klasontest
Inputs and outputs at Q:\Bitbucket\Mark Riddell\PLSmodel4factors
[Issue originally created 2016-Oct-04 21:48:01 UTC by rgommers]
Mark wrote this in C++. Grew a bit ad-hoc, could use some rework/rewrite. Uses OpenCV including its BLAS operations. Options discussed with Marc: