Skip to main content

A package for remote model training and prediction

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.4.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

veox-0.1.4-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: veox-0.1.4.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for veox-0.1.4.tar.gz
Algorithm Hash digest
SHA256 1f2e589724071cd56cd419c9c0ab7bafd68aeb885a1caa69bcb0f16a517b5981
MD5 84905a999adc086fc0541af978e90cb1
BLAKE2b-256 3549d68ff7af2ada96b601d9cfbb8a34df98d0ca812b93f861c9c4aedc8e2c21

See more details on using hashes here.

File details

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

File metadata

  • Download URL: veox-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for veox-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9995f465f141439ed182bdbaddf0d34e378802df62493690b0fbffb72121456c
MD5 d9ab8439941539d22d4fdce69a372dc9
BLAKE2b-256 aa676e6c5bf93f6bf109d67f3d1e6ed9a8c5b385c080c6693ecadefe516ef370

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