Closed georgeslabreche closed 3 years ago
Maybe we just re-use the capability of ranger to predict on a given --file
that will contain just one sample? This would save time since we avoid having to implement a parser of N-dimension data for the --input
argument.
Unless you think you can easily re-use what exists to parse one line of the --file
, then I'm ok with this.
@TanguySoto I'll give myself a few hours to see if I can adapt ranger to take in a string of values via command argument but if it requires too many disruptive untested changes then I will do as you suggest.
I ended up implementing the solution proposed by @TanguySoto.
Need to implement prediction for a given data sample rather than just batch predictions from reading a CSV file. Suggested command parameters: