No project description provided
Project description
IntelLX
intellx is a Python package that provides a simple interface for machine learning model management, training, and inference.
Installation
pip install intellx-api
Configuration
Before using IntelLX, you need to set up your API key. You can do this in two ways:
- Create a
.envfile in your project directory:
INTELLX_API_KEY=your_api_key_here
- Set an environment variable:
export INTELLX_API_KEY=your_api_key_here
CLI Usage
IntelLX provides a command-line interface for building and running experiments.
Building Configuration
Create a configuration file for your experiment:
intellx build --stages feature_engineering,model_tune,model_train,model_evaluate
Available stages:
feature_engineeringmodel_tunemodel_trainmodel_evaluate
Add --verbose flag for detailed output:
intellx build --stages model_train,model_evaluate --verbose
Running Experiments
After creating and configuring intellx_config.yaml, run your experiment:
intellx run
API Usage
Model Prediction
from intellx import predict
# Make predictions
data = {
"feature1": [1, 2, 3],
"feature2": ["A", "B", "C"]
}
predictions = predict(model_name="my_model", data=data)
# Use specific model state/version
predictions = predict(model_name="my_model", data=data, model_state="production")
Get Model Information
from intellx import get_model_info
# Get model metadata
model_info = get_model_info(model_name="my_model")
# Get information for specific model state
model_info = get_model_info(model_name="my_model", model_state="production")
Get Model Features
from intellx import get_model_features
# Get list of features used by the model
features = get_model_features(model_name="my_model")
# Get features for specific model state
features = get_model_features(model_name="my_model", model_state="production")
Configuration File Structure
The intellx_config.yaml file structure contains:
user_name: "your_username"
project_name: "your_project"
experiment_name: "your_experiment"
experiment_description: "description"
problem_type: "classification"
data_injestion:
data_source: ""
data_config: ""
target: ""
verbose: false
# Optional sections based on selected stages
feature_engineering:
step1:
task: ""
expected_output: ""
step2:
task: ""
expected_output: ""
model_tune:
model1:
model_name: ""
parameters:
param1:
name: ""
type: ""
range: ""
objective:
metric: ""
sampler: ""
trials: ""
model_train:
model1:
name: ""
source: ""
input: ""
output: ""
model_evaluate:
metric1:
name: ""
source: ""
input: ""
output: ""
Error Handling
The package includes built-in error handling for:
- Missing API keys
- Invalid API keys
- Missing configuration files
- Invalid configuration formats
- API request errors
For any errors, check the error message for specific instructions on how to resolve the issue.
Support
Visit intellx.bydata.com to manage your runs and access additional documentation.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file intellx_api-0.0.0.0.tar.gz.
File metadata
- Download URL: intellx_api-0.0.0.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ddfd851b7a99bac06143c83fdffb65594e61980fd0e454a0f61eb94556b1261
|
|
| MD5 |
0be22fcaffec7359b96196930dcbad9c
|
|
| BLAKE2b-256 |
2ddbd6482414a537b1e5e10409e2c802b2062b6ce7cbada8a507d8c1d8b52b43
|
File details
Details for the file intellx_api-0.0.0.0-py3-none-any.whl.
File metadata
- Download URL: intellx_api-0.0.0.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd4375633ef2996f0e0dfd4f801f226540f5625c761164281f662e8a616ba68d
|
|
| MD5 |
d5f2255f00bab1ed8e8d522aea17462a
|
|
| BLAKE2b-256 |
cc321ce2a5ad9d1a38bb28f9d4aa14a9ad832a4ae240b428bf3cc37ca5149195
|