The model view gather all the models installed on your Red Sqirl instance.
Models are data process blocks built out of Red Sqirl packages. A model can produce a prediction, a report or an analyses. A model is composed of SuperActions that can depend on each other.
Two scopes of model installation exist
- System: The system scope is shared with everybody.
- User: The user scope allow the installation of personal extra functionality.
The user scope models overwrite system ones when there is a conflict. For example if a model churn_model with a super action evaluation is installed on the System scope and the user 'john' has installed version 2 on its user scope that does not have an evaluation super action. John won't be able to use the evaluation super action.
In order to install system models, you need to be an administrator and therefore be in the according setting.
You can install new models either from the Analytics Store or from HDFS.
You can use the Analytics Store only if your web server can reach it.
- Click Install either in the System scope column or User Scope column
- Sign In with your Analytics Store credentials, if you do not have an account, you can create one on the spot
- Find the package you would like to install
- Click install
A model is a simple zip file that should have a name $name-$version.zip
- Click import either in the System scope column or User Scope column
- Choose the HDFS path in which your model exist
- Click OK
Models and their Super Action can be protected from their editors. Three range of permission exists for a model.
- no privilege: anyone can view and modify the source
- run only: the version installed is not viewable nor editable
- licensed: as above, but force the installation to be done through the Analytics Store
Models can be modified if they are public
- Create: Create a new model by clicking the new button
- Protected: Protect a model, make it not modifiable
- Remove: Remove a model, this action cannot be undone
- Export: Export a model to HDFS in the given folder. The file will look like $model-$version.zip
- In the edit window you can:
- Set an image: you can give an image to your model by clicking the little pen next to it. The image has to be gif, square and of a reasonable size (between 40x40 and 75x75). When setting several time an image, browsers may have problem of caching, signing out and signing in may help
- Rename: Rename a model by clicking the little pen next to its name. For the rename to take place you should press enter
- Change Version: Change the version by clicking the little pen next to the current version. You should press enter to commit your change
- Comment: Add a short comment, so that your co-workers would understand what the model is about.
- Copy/Move: In the edit view, select the superaction you want to copy/move click on the copy or move button and choose the destination
- Set to public/private: In order to help users you can define the public interfaces. Only public interfaces can be added to the footer.
- Remove: Remove a Super Action from a model, this action cannot be undone.