KMDS modeling pipeline package for KMDS lifecycle and model selection.
Project description
KMDS Modeling
kmds-modeling is a lightweight modeling package designed to work inside the KMDS ecosystem. It provides generic modeling infrastructure and pipeline utilities for KMDS-style workflows, while leaving domain-specific examples and workspace-specific implementations separate.
What this package provides
src/kmds_modeling/core— generic modeling package infrastructuresrc/kmds_modeling/core/path_coordinator.py— workspace-rooted path resolution for KMDS modelingsrc/kmds_modeling/core/notebook_utils.py— notebook-friendly workspace resolversrc/kmds_modeling/cli.py— installable CLI glue for evaluation and exportmodels/sba_example— an example SBA-specific modeling workflow kept outside the installed package
Intended usage
This package is meant to be installed into a KMDS workspace and used against modeling artifacts generated by KMDS tools such as kmds-featurization. The package does not embed any domain-specific SBA implementation in the installable distribution.
Installation
pip install kmds-modeling
CLI commands
After installing, the package exposes the kmds-modeling CLI:
kmds-modeling evaluate --config /path/to/modeling_config.yaml
kmds-modeling export --config /path/to/modeling_config.yaml
Working directory and configuration
KMDS modeling expects a working_dir and a modeling_config.yaml that defines the workspace layout. The package resolves paths using the PathCoordinator and writes modeling outputs into the workspace models/ directory by default.
Example workflow
- Use KMDS featurization to generate
model_ready_numeric_data.csvunderdata/featurization/. - Create
modeling_config.yamlwith aworking_dirpointing to your KMDS workspace. - Run the package CLI to evaluate and export model artifacts.
Packaging note
The published PyPI package should only contain the generic package code under src/kmds_modeling/. Workspace-specific examples such as models/sba_example/ are intentionally kept outside the installable package source tree.
Contributing
If you want to add another KMDS modeling example, put it under models/<example_name>/ and leave the core package unchanged.
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 kmds_modeling-0.1.0.tar.gz.
File metadata
- Download URL: kmds_modeling-0.1.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cba34b49c2d9a91ce09bedfed915e77b70479a93711520ce284ddd68625c68fd
|
|
| MD5 |
e11274eb2f9669f0bf2dceb9cfa69d08
|
|
| BLAKE2b-256 |
3d9d1d0ce0a196b61495f7905a81c51376314dd60817e89a99c441fc8490755f
|
File details
Details for the file kmds_modeling-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kmds_modeling-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
441c56465455f040b43a8a1607877205911c088ede88f7059f77764a58d9e750
|
|
| MD5 |
9995fb1345dfca64f4580874a9219a2d
|
|
| BLAKE2b-256 |
bbe486e0783f2322f0a977c05a3764d57deeeaf14092b1822b3b22ec0f5ec08e
|