PredicSis REST API Python bindings.
Project description
This SDK provides the bindings for PredicSis REST API in Python. Typical usage often looks like this:
#!/usr/bin/env python # Import the PredicSisAPI object import predicsis # Initiate the API with your token predicsis.api_token="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" # Workflow from uploading a dataset to scores dataset = predicsis.Dataset.create(file='./Iris.dat',name='My Iris',header=True,separator='\t') dictionary = predicsis.Dictionary.create(name = 'My new dico', dataset_id = dataset.id) target = predicsis.Target.create(target_var = 'Class', dictionary_id = dictionary.id) model = predicsis.Model.create(dataset_id = dataset.id, variable_id = target.variable_id) scoresets = predicsis.Scoreset.create(dictionary_id = dictionary.id, model_id = model.id, data = './Iris.dat', header=True,separator='\t', name='Iris scored', file_name='iris_out.txt') print predicsis.Scoreset.result(scoresets)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
predicsis_ml_sdk-1.4.1.zip
(13.7 kB
view details)
File details
Details for the file predicsis_ml_sdk-1.4.1.zip.
File metadata
- Download URL: predicsis_ml_sdk-1.4.1.zip
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78a5172d50967a154d832574f373ed12a5de51353728eff62d280fb6783aad70
|
|
| MD5 |
513741bb132acfd69b0830c53e9e295c
|
|
| BLAKE2b-256 |
2b9e9019602e243c35873a538c0ec4eb63b54503f33f75b2167eafc0d626183a
|