Skip to main content

A client for the remote machine learning service with sklearn-like API

Project description

Veox Client Veox Client is a Python package that provides a client for interacting with the Veox remote machine learning service. It offers an sklearn-like API for easy integration into your existing machine learning workflows. Installation You can install Veox Client using pip: Copypip install veox Usage Here's a basic example of how to use Veox Client: pythonCopyimport veox as v import numpy as np from sklearn.datasets import make_classification from sklearn.model_selection import train_test_split

Generate a sample dataset

X, y = make_classification(n_samples=1000, n_features=20, n_classes=2, random_state=42) X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)

Initialize the remote model

model = v.init(key="YOUR_API_KEY", server_url="http://your-server-url:5000")

Train the model

model.fit(X_train, y_train)

Make predictions

y_pred = model.predict(X_test)

Get prediction probabilities

y_prob = model.predict_proba(X_test)

Calculate accuracy

accuracy = np.mean(y_pred == y_test) print(f"Accuracy: {accuracy:.4f}") Note This package requires access to a running Veox server. Contact your system administrator or the Veox team for server access and API keys. License This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

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

Source Distribution

veox-0.1.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

veox-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file veox-0.1.1.tar.gz.

File metadata

  • Download URL: veox-0.1.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.66.4 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for veox-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4d08e9c7cb3bc014d225ac089d7aee94567a41ef550fc9cf41b15f50703efa80
MD5 36949d8f5f1db869062f917115b8eb1b
BLAKE2b-256 6115b74ad74cd22089e818abdeeb4dce20f429b98e6f15c5d5753bf8e7fc34f6

See more details on using hashes here.

File details

Details for the file veox-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: veox-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.66.4 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for veox-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1b565b523c6022ab88fc08aa1b97dec565c9a41fdff149e38625caacb6f5df2
MD5 203d0c7c298e955823e0d9365344e92e
BLAKE2b-256 f85b90d5a314d2c18d86ecc840a27d07f353873ebdd68fdf075bfba1e2e82b26

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page