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

Uploaded Source

Built Distribution

veox-0.1.6-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: veox-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 884d884e8ecb22984cb3e75f06d5b104f53fad67a1374eb286d2e07365f2245b
MD5 109022539f64f5fcb6fc299d7434b1b6
BLAKE2b-256 45415cd6ebc5f62605803062ba108cb70aaafaf4bc7005411828adbf2316701a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: veox-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 87a265503356210d0b486ee059f19d733201952db2d153a77a19fbefc8e60136
MD5 cf0b8f7bd875e74cd2c3859fa5087374
BLAKE2b-256 cecfe0091a53acaee60d2a9dda5affd08e6536c18a76a00d32bf53256a7cfa0e

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