amplab / velox-modelserver

http://amplab.github.io/velox-modelserver/
Apache License 2.0
110 stars 26 forks source link

Create examples directory #41

Closed dcrankshaw closed 9 years ago

dcrankshaw commented 9 years ago

We should have a few working models to serve as examples for the types of applications people could build with Velox. These should be in an veloxms-examples module, and should be accompanied by a correct config.yml file. One way to make this easier would be to add a run-examples.sh script that gets provided with the name of the example the user wants to run and automatically deploys a Velox instance running that example locally.

TODO:

dcrankshaw commented 9 years ago

@tomerk Why don't you take a stab at this issue next. To start with, move the MatrixFactorizationModel over and then clean up the NewsgroupsModel and move it over. For the NewsgroupsModel, we should remove the pipelines dependency and rewrite it to match the intended Velox programming model. Both of these models should serve as example implementations.

dcrankshaw commented 9 years ago

As discussed, we have an inverted dependency structure, so when adding a model, the Velox core module will need to depend on whichever module the model is in. Because of this, we're keeping everything in the same package for now.