A prediction report output with:
- Method type (automap/pgsp etc)
- MethodParameters
The prediction report should dump the method hyperparameters as key:values allowing for later use in the WPS's MethodParameters input request. Therefore bypassing the estimateParameters of the WPS-R structure.
This feature has now been added on the R-side. The interpolate function returns methodParameters, which is a string. This string can be used to rebuild the estimated parameters if passed to the object. This can be done by calling interpolate with
optList = list(methodParameters = oldMethodParameters)
where oldMethodParameters is the string from last time interpolate was called.
This has now been added to the WPS side. It is in a separate output called MethodParameters. The result of this is a series of R commands that can be passed in with subsequent WPS requests using the MethodParameters input. When passing this as an input the Parameter name value should be 'methodParameters'.