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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: veox-0.1.2.tar.gz
  • Upload date:
  • Size: 2.9 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.2.tar.gz
Algorithm Hash digest
SHA256 890d5c84bdf6d97159e1e01583ceff30bb56bb22e1455be389c8398554431f38
MD5 a79959f67d005382f84f0847565248ce
BLAKE2b-256 e8f26a1d46c2ec71bfb738d305ec6275d16fe95e39e62a9dc852dbbdc36f23a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: veox-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4cbb7ead309cb4f4e3a28a0717791fa4b390ee8863c8b57d709cfb64f6a82eb1
MD5 5ffc942eb8ba086a449941267208da24
BLAKE2b-256 925419058b9806084cd420950dde4bba93268e7ecd0dd50641e92f300d8b0978

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