PostgreSQL (Beta)

Coming Soon

Deployments

We also offer the ability to deploy models based on your PostgreSQL datasets. Deployments allow you to make predictions on your PostgreSQL data based on a trained model.

PostgreSQL deployments are currently only supported for data imported from PostgreSQL.

To get started with these, first import train a model on your PostgreSQL data:

Then, select the PostgreSQL option on the Deploy tab:

Select Prediction Data and enter the Schema name and Table name.

Click "Verify Table" to validate that we can connect to the table.

Once the table is validated, deployment options will appear.

These options allow you to:

  • Scheduler: Select how often we should run predictions on your provided table.

  • Run on Deploy: Select whether you want us to run predictions whenever this job is created, as opposed to only on a scheduled basis.

  • Map Fields: Allows you to map the fields from your trained model to the fields they should correspond to in this table, if they differ.

  • Apply Data Prep: Whether we should transform the data with any Data Prep steps you specified in the Prepare tab.

Once you've selected your options, hit "Show Preview" for us to run some sample predictions.

Depending on the size of your table, this operation may be long-running.

Once complete, a preview table will be rendered with additional columns containing our predictions.

For classification models, these will be a column for the probability of this row being each category, as well as a category for the Unix Timestamp at which we made the prediction.

To actually deploy this model so it will make scheduled predictions, hit the "Deploy" button in the top-right:

We will push this new predictions table to a table that's named the same as the input table, but with _akkio_predictions added to the end.

Once we've deployed this model, you'll get a notification like this.

And there you go! Model deployed.

Last updated