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
Built Distribution
File details
Details for the file veox-0.1.7.tar.gz
.
File metadata
- Download URL: veox-0.1.7.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c050d81920949fc84671ff30c167ecc478883d4b2637fd462b79bca2aa70608 |
|
MD5 | 57c45a1b55bca4f3b49f33c4a5b586af |
|
BLAKE2b-256 | 1d2fa0d191a22ec1b395f211ddceca3c563719bd5dca48d6daee72e164468c7d |
File details
Details for the file veox-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: veox-0.1.7-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d70c785317acd9722d90a4a5ff07602af9288639e1fb9a065d3cafe10d7a5d5 |
|
MD5 | 1e989d305f541b70f302108e57dd9b1f |
|
BLAKE2b-256 | af6a0546f98fe3de3e24a669a4dfd507aeeaa501c78af3de936784553d9f8bba |