Mind Foundry Analyze Python Client
Project description
Mind Foundry Analyze is a Data Science workbench developed by Mind Foundry.
This Python client makes it easier to interact with the API and integrate with other Python libraries.
Quick start:
from mindfoundry.client.analyze import create_project_api_client client = create_project_api_client(YOUR_INSTANCE_URL, YOUR_CLIENT_ID, YOUR_CLIENT_SECRET) with open('./your-training-data.csv', 'rb') as data: data_set_id = client.create_file_data_set(data, 'Your Data Set Name', 'Your description') model_id = client.create_classification_model('Your Model Name', data_set_id, 'Target Column') with open('./your-prediction-data.csv', 'rb') as other_data: other_data_set_id = client.create_file_data_set(other_data, 'Prediction Data') prediction_id = client.create_prediction(model_id, other_data_set_id, 'Your Prediction Name') client.download_prediction_as_csv(prediction_id, './your-output-file.csv')
You can also create a data set from a Pandas DataFrame, or an array of dicts, or an array of arrays:
data_dicts = [{'a': 1, 'b': 2}, {'a': 3}, {'b': 4}] client.create_file_data_set(data_dicts, 'Array of dicts') df = pd.DataFrame(data_dicts) client.create_file_data_set(df, 'Pandas DataFrame') data_arrays = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] client.create_file_data_set(data_arrays, 'Array of arrays')
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
Built Distribution
Close
Hashes for mindfoundry.client.analyze-1.14.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d6fb9f469f005f3fd4215bf3f5b103863accefc0f68acd7bb18fb3d36e05e84 |
|
MD5 | 03f9b9712c16c98eed45c3e333a933c0 |
|
BLAKE2b-256 | 30f75e92ba4c6bc33f17f53acf1a66fdc9de29a6ccb5175ff941b07ea84b3222 |
Close
Hashes for mindfoundry.client.analyze-1.14.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfc5e12858d5717a76500f4d627cc565245a623dd9d855c4ac1e63f9ba636c99 |
|
MD5 | bfd96878020391f73e9848534c399d7e |
|
BLAKE2b-256 | d7a2a666f0e550c465f9315a20b1fdab6798cd0ad8a62bbba6d4a23cf5374cd2 |