Skip to main content

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

# 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 =
target = predicsis.Target.create(target_var = 'Class', dictionary_id =
model = predicsis.Model.create(dataset_id =, variable_id = target.variable_id)
scoresets = predicsis.Scoreset.create(dictionary_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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date (13.7 kB) Copy SHA256 hash SHA256 Source None Nov 23, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page