Skip to main content

SeismoAI Model module - noise classifier for seismic traces

Project description

seismoai-model-mlops

SeismoAI Model Module — A noise classifier for seismic traces built on the Utah FORGE dataset.

Install

pip install seismoai-model-mlops

What it does

This module is part of the SeismoAI library. It trains a Random Forest classifier to detect good, noisy, and dead seismic traces.

Functions

  • extract_features(traces) — Extracts 6 statistical features from each trace
  • train_classifier(traces, labels) — Trains a Random Forest on QC labels
  • predict_traces(traces, model_dict) — Predicts labels for new traces

Usage

from seismoai_model import extract_features, train_classifier, predict_traces
import numpy as np

traces = np.random.randn(30, 4001).astype(np.float32)
labels = ['good'] * 15 + ['noisy'] * 15

model_dict = train_classifier(traces, labels)
preds, probs = predict_traces(traces[:5], model_dict)
print(preds)

Author

Qurat UI Ain and Malaika Saeed — MLOps Course, SeismoAI Group Project

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

seismoai_model_mlops-0.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

seismoai_model_mlops-0.1.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file seismoai_model_mlops-0.1.1.tar.gz.

File metadata

  • Download URL: seismoai_model_mlops-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for seismoai_model_mlops-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3f809f6edd1e7bed556b816bdf5be1b2b666162ffb2bfc0b82ac2472131d63f3
MD5 9b488b8e3e76e4a92a7cdc50340723fe
BLAKE2b-256 7be8b1becb2d3399d30e2091dba3f04f7ef29ed7c7e879c22c2a7e38f1c16922

See more details on using hashes here.

File details

Details for the file seismoai_model_mlops-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for seismoai_model_mlops-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4306b249267132bf003da3a7b1e684938b0b6274ba5416f6670f8797e7fab428
MD5 5bd78dee049f7c4a5bd48d675dddf6c3
BLAKE2b-256 59e1bb184451aad7d2716e1e0527d294916c603e2d2e9b281285acbbbeef13da

See more details on using hashes here.

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