Skip to main content

TRAILED: Topological Regularization and Integrity Learning for EHR Data

Project description

TRAILED: Topological Regularization and Integrity Learning for EHR Data

Note: TRAILED is under active development. The current release provides the foundational ECT implementation. Healthcare-specific methods are in progress.

Topological representation learning for Electronic Health Record (EHR) data. Built on the differentiable Euler Characteristic Transform (ECT).

Installation

uv pip install trailed

# Optional extras
uv pip install trailed[sklearn]      # scikit-learn transformers
uv pip install trailed[dataframe]    # pandas/polars support
uv pip install trailed[all]          # all dependencies

Quick Start

from trailed import compute_ect_from_numpy

ect = compute_ect_from_numpy(points, num_thetas=32, resolution=32)
import polars as pl
from trailed.tabular import compute_ect_from_polars

df = pl.DataFrame({"x": [0.1, 0.2, 0.3], "y": [0.1, 0.3, 0.2], "group": [0, 0, 1]})
ect = compute_ect_from_polars(df, coord_columns=["x", "y"], group_column="group")
import pandas as pd
from trailed.tabular import compute_ect_from_pandas

df = pd.DataFrame({"x": [0.1, 0.2, 0.3], "y": [0.1, 0.3, 0.2], "group": [0, 0, 1]})
ect = compute_ect_from_pandas(df, coord_columns=["x", "y"], group_column="group")

Documentation

Full documentation: krv-analytics.github.io/trailed

Acknowledgment

This project builds on the original dect implementation and accompanying research.

@inproceedings{Roell24a,
  title         = {Differentiable Euler Characteristic Transforms for Shape Classification},
  author        = {Ernst R{\"o}ell and Bastian Rieck},
  year          = 2024,
  booktitle     = {International Conference on Learning Representations},
  eprint        = {2310.07630},
  archiveprefix = {arXiv},
  primaryclass  = {cs.LG},
  repository    = {https://github.com/aidos-lab/dect-evaluation},
  url           = {https://openreview.net/forum?id=MO632iPq3I},
}

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

trailed-0.1.3.tar.gz (666.1 kB view details)

Uploaded Source

Built Distributions

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

trailed-0.1.3-cp310-abi3-win_amd64.whl (355.2 kB view details)

Uploaded CPython 3.10+Windows x86-64

trailed-0.1.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (510.4 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

trailed-0.1.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (491.9 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

trailed-0.1.3-cp310-abi3-macosx_11_0_arm64.whl (442.2 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

trailed-0.1.3-cp310-abi3-macosx_10_12_x86_64.whl (457.7 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file trailed-0.1.3.tar.gz.

File metadata

  • Download URL: trailed-0.1.3.tar.gz
  • Upload date:
  • Size: 666.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for trailed-0.1.3.tar.gz
Algorithm Hash digest
SHA256 37902e618c16602dd712df0ca0adb269b9461b3963533b312d2c9adf795a2313
MD5 adeb9c7b85f3161fc74b380e8b6b6d02
BLAKE2b-256 12e2f2899346d82c65758584e3baf81ac08a11930e1be50e7790d7c60b5834e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for trailed-0.1.3.tar.gz:

Publisher: release.yaml on Krv-Labs/trailed

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

File details

Details for the file trailed-0.1.3-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: trailed-0.1.3-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 355.2 kB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for trailed-0.1.3-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 af5ad35206078fc2727aff3c5c8ff82f7e1cf714466a36d8e44a55143183e640
MD5 3b1e06b092124415bbc184194291c67b
BLAKE2b-256 10a5c3a512907a2eaec8e4ec8fce45f95b17d3598513cf4358b002b0c2fe6a8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for trailed-0.1.3-cp310-abi3-win_amd64.whl:

Publisher: release.yaml on Krv-Labs/trailed

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

File details

Details for the file trailed-0.1.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for trailed-0.1.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7dd402f25341009bacbb282a3dfca8598ca8454e82a53116acfebbb436721206
MD5 9d7e5f758fe669e7e615c55ce2201f86
BLAKE2b-256 8f0480db359f5dd02b1115eca1ed24690463187ea7de4565954351683db33bf3

See more details on using hashes here.

Provenance

The following attestation bundles were made for trailed-0.1.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yaml on Krv-Labs/trailed

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

File details

Details for the file trailed-0.1.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for trailed-0.1.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 98374daa73822d7f199a6e2657682a6fa4bd65304fb3f78803d3679c361bc1be
MD5 4c953e781ab9d246f62e4733ca65c229
BLAKE2b-256 d1fc6620f1d61c74c0f7968523ec0456141e5e97d1bdc34a5b719b289a5018e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for trailed-0.1.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yaml on Krv-Labs/trailed

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

File details

Details for the file trailed-0.1.3-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for trailed-0.1.3-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 43ecbcb0bed4645437f9952a00ba24b272cebd41d7af2a986f899b7e64a50623
MD5 24c1e022328aaf2d7ac5f73d02781ad3
BLAKE2b-256 954fa0fbd5ba2c9c3c607baf00b56047064d7c2a187f11c19d03f76f53a2042c

See more details on using hashes here.

Provenance

The following attestation bundles were made for trailed-0.1.3-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release.yaml on Krv-Labs/trailed

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

File details

Details for the file trailed-0.1.3-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for trailed-0.1.3-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fb8f622c804e7c4aed0a633e597c775e8fd8a6a1aa35be27594acc4e12d6ed0b
MD5 1bd78cbbf09152f6012610cb1b05b6f3
BLAKE2b-256 2bf8cbfbe2753b905f98d74e7ac5833073d9539976b65062fb660a59fdc6ea12

See more details on using hashes here.

Provenance

The following attestation bundles were made for trailed-0.1.3-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yaml on Krv-Labs/trailed

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