hytools icon indicating copy to clipboard operation
hytools copied to clipboard

Documentation of the Hytools PLSR model json format

Open serbinsh opened this issue 4 years ago • 3 comments

Is there a format description for the json model files? I wasn't able to immediately find one and was interested in playing with fitting new models, saving in that format, and then trying the application function to new imagery. Thanks!

serbinsh avatar Jun 21 '21 18:06 serbinsh

For example, I wanted to experiment with fitting a model like this: https://github.com/TESTgroup-BNL/spectratrait/blob/master/vignettes/neon_leafN_canopy_plsr_example.md

and then saving in the json format to apply to new AVIRIS-NG scenes. I can view the json files and infer but wanted to know if there were docs so I could build the format in my R code to output the json file.

serbinsh avatar Jun 21 '21 18:06 serbinsh

Apologies, Ben Poulter just shared it with me in an email so you can disregard my request. though it could be helpful to put that info here as well

serbinsh avatar Jun 21 '21 18:06 serbinsh

Hi Shawn, Sorry for the lack of documentation, we're slowly working on it. The PLSR formatting code can be found here, it has a bit more info than what I shared with Ben, if you have any questions let me know.

adamchlus avatar Jun 21 '21 20:06 adamchlus