machine learning - Is it possible to save a trained Spark ML model or crossvalidator to postgree database? -


is possible save trained spark ml model or crossvalidator postgree database ? find ways save disk or hdfs can save in rdbms(e.g. postgree) table ?

in general not. ml models use specific structure parquet files storing model, metadata , optionally data. possible create wrappers store same data in relational database, there no such functionality in spark @ moment.

for subset of models can:

  • serialize model using java serialization.
  • store saved model large object.

this limited non-distributed models.


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -