-
Notifications
You must be signed in to change notification settings - Fork 29
Developer Guide
#Developer Guide
##Contributing to Spark-Transformers
###Adding new models to Library Adding new models to the library will involve these steps:
-
Addition of a ModelInfo class, an implementation of ModelInfo eg LogisticRegressionModelInfo
-
Addition of a Transformer class, an implementation of Transformer eg LogisticRegressionTransformer
-
Addition of a ModelInfoAdapter, an implementation of ModelInfoAdapter eg LogisticRegressionModelInfoAdapter
-
Update the registry in ModelInfoAdapterFactory
-
Addition of a bridge test, eg LogisticRegressionBridgeTest
###Build and release
use profile scala-2.11 for 2.11 compatible builds (this profile is the default being used if none is specified)
mvn -U -Pscala-2.11 package deploy
use profile scala-2.10 for 2.10 compatible builds
mvn -U -Pscala-2.10 package deploy
Tags: spark, apache spark, export spark model, export mllib model, predict in java, predict mllib model in java, export pipeline