Skip to main content

Machine learning agents for Lobster AI (feature selection, survival analysis, interpretability)

Project description

lobster-ml

Machine learning and deep learning for biological data analysis and framework export.

Installation

# Basic installation
pip install lobster-ml

# With deep learning dependencies (scVI, PyTorch)
pip install lobster-ml[ml]

Agents

Agent Description
machine_learning_expert ML specialist for biological data. Feature engineering, data splitting, framework export, and deep learning embeddings.

Services

Service Purpose
MLPreparationService Feature selection, scaling, and train/test/validation splitting
MLTranscriptomicsServiceALPHA Transcriptomics-specific ML workflows (ALPHA)
MLProteomicsServiceALPHA Proteomics-specific ML workflows (ALPHA)
scVIEmbeddingService Deep learning embeddings using scVI for single-cell data

Features

ML Readiness Assessment

  • Evaluate biological datasets for machine learning suitability
  • Check sample size, class balance, and feature quality
  • Identify potential data leakage and batch effects
  • Recommend preprocessing steps before ML pipeline

Feature Engineering

  • Highly variable gene selection for dimensionality reduction
  • PCA-based feature extraction with variance thresholds
  • Marker gene features from differential expression
  • Z-score normalization and scaling

Data Splitting

  • Stratified train/test/validation splits
  • Configurable split ratios (default: 70/15/15)
  • Class balance preservation across splits
  • Batch-aware splitting to prevent data leakage

Framework Export

  • NumPy arrays for scikit-learn workflows
  • CSV export for general ML frameworks
  • PyTorch tensor datasets with DataLoader support
  • TensorFlow NPZ format for Keras models

Deep Learning Embeddings

  • scVI integration for variational autoencoder embeddings
  • Latent space visualization and clustering
  • Transfer learning from pre-trained models
  • GPU acceleration when available

Requirements

  • Python 3.12+
  • lobster-ai >= 1.0.0
  • Optional: torch, scvi-tools (for deep learning features)

Tier Requirement

This is a premium agent. Access is controlled at runtime via Lobster AI's tier system.

Documentation

Full documentation: docs.omics-os.com/docs/agents/ml

License

MIT

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

lobster_ml-1.1.404.tar.gz (131.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lobster_ml-1.1.404-py3-none-any.whl (137.1 kB view details)

Uploaded Python 3

File details

Details for the file lobster_ml-1.1.404.tar.gz.

File metadata

  • Download URL: lobster_ml-1.1.404.tar.gz
  • Upload date:
  • Size: 131.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lobster_ml-1.1.404.tar.gz
Algorithm Hash digest
SHA256 a00ede9b4c6e6a9c757abab3845dc9ceeab3efe5b1375cf6ba6f1fe0ab9ea979
MD5 cddc666a97d9e2ae9fc6b44e5fbdad48
BLAKE2b-256 361bcf24d1419007beb6464f4d6c036fe1af745159f5a5c184e7c4737f8abf69

See more details on using hashes here.

Provenance

The following attestation bundles were made for lobster_ml-1.1.404.tar.gz:

Publisher: publish-packages.yml on the-omics-os/lobster

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lobster_ml-1.1.404-py3-none-any.whl.

File metadata

  • Download URL: lobster_ml-1.1.404-py3-none-any.whl
  • Upload date:
  • Size: 137.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lobster_ml-1.1.404-py3-none-any.whl
Algorithm Hash digest
SHA256 aa4f2f7ef272c40c7089db3d136da2cb2d6b025790bfb5d2ae8b75c35b949d6b
MD5 3cc377146c3003a09f49c5b19a97723d
BLAKE2b-256 3eb02bda0721f60cbd0e9fc6252285fb0811b5e61e5d652cdd7cbda550c76f8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for lobster_ml-1.1.404-py3-none-any.whl:

Publisher: publish-packages.yml on the-omics-os/lobster

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page