Skip to main content

Mind Foundry Analyze — Python Client

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')

Metadata

Release files for mindfoundry.client.analyze 1.21.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mindfoundry.client.analyze 1.21.0
File Size Uploaded Provenance Actions
mindfoundry.client.analyze-1.21.0.tar.gz 95.6 kB Without provenance Details for mindfoundry.client.analyze-1.21.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mindfoundry.client.analyze 1.21.0
File Interpreter ABI Platform Actions
mindfoundry.client.analyze-1.21.0-py3-none-any.whl Python 3 none any Details for mindfoundry.client.analyze-1.21.0-py3-none-any.whl

Total release size: 334.2 kB

Release files / mindfoundry.client.analyze-1.21.0.tar.gz

Download URL mindfoundry.client.analyze-1.21.0.tar.gz
Size 95.6 kB
Tags Source
SHA-256 checksum
How to use checksums
69e43cb523232a48c47c20acc5e8d4091f72975f618f59ce21588afe7c487249
BLAKE2b-256 checksum
How to use checksums
1f73281973266c38857c7e47457a29e0a3951a2746bb66d7845073668706d6f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.17

Release files / mindfoundry.client.analyze-1.21.0-py3-none-any.whl

Download URL mindfoundry.client.analyze-1.21.0-py3-none-any.whl
Size 238.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e282b0a7bd51769b096f200cfaf48c258b489363f5e4b50272854d294cbdcc9f
BLAKE2b-256 checksum
How to use checksums
7a583d72b89b3a8ef9c32543357ece31dcafc0475ca80c296ed16a3f66f7d0ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.17

Security for mindfoundry.client.analyze 1.21.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page