We have two functions implemented. Aggregation function to train randomForest model,
and we want to assign the aggregation result to the symbol, so we can use this model in further aggregations.
So you will need the sf library on the client and the wkb library on the server.
Note that I worked on this many months ago, I am not sure if any changes to the DataSHIELD parser might have broken this implementation. Feel free to try it.
Hi Hank, could you describe how you share models between nodes and data scientist non-directly?
While using rawToHex, we encountered another error which is “The usage of stack C 16975741 is too close to the limit”. We tried increasing the limit to 33 GB but that didn’t work.
Would that help to have in the Datashield API the possibility to upload a file? Then the parameter passed to the server side function would be the file name and the function would be responsible to verify the file is not malicious. It would be much better than working around with a big serialized object in the function call (and not less secure).
I imagine if the file was a compressed file, then it would be helpful because it will reduce the required memory. Or more directly it would be great if DataSHIELD could provide a function to compress (lossy or losses) parameters before sending.