Search code examples
h2osparkling-water

How to load and save models in Sparkling Water


I want to store a created model within sparkling water as a binary file so that I can can reload it with a different application.

What is the best way?


Solution

  • The support article is outdated and was just demonstrating something we already incorporated into our API. That sample code is using an outdated water.serial.ObjectTreeBinarySerializer, which doesn't exist anymore.

    The most convenient way is to use the ModelSerializationSupport.