Currently this library only supports passing a model filename which is internally read and parsed by parseModel
It'd be useful to pass in the contents of this file (e.g. which has been //go:embed'ed), and not require reading from the filesystem
Would you accept a PR which added a NewPredictorJSON (or similarly named) function?
Currently this library only supports passing a model filename which is internally read and parsed by parseModel
xgbshap/parse.go
Line 104 in 08d02fc
It'd be useful to pass in the contents of this file (e.g. which has been
//go:embed'ed), and not require reading from the filesystemWould you accept a PR which added a
NewPredictorJSON(or similarly named) function?