Skip to main content

Locally-Tailored Feature and Model Selector with Deep Q-Learning

Project description

LTFMSelectorLogo

LTFMSelector

Locally-Tailored Feature and Model Selector with Deep Q-Learning

Installation

pip install ltfmselector

Basic usage

from ltfmselector import LTFMSelector

# Initialize an agent to learn to selects features and models, specifically tailored to each example
AgentSelector = LTFMSelector(<#episodes>, pType=<'classification', 'regression'>)

# Fit
AgentSelector(<X: pd.DataFrame>, <y: pd.Series>)

# Predict
y_pred, doc = AgentSelector.predict(<X_test: pd.DataFrame>)

For more examples check out the examples.

Citing LTFMSelector

This library is implemented based on the work presented in this abstract:

J.C. Liaw, C.Z. Chaing, D. Raab, M. Siebler, H. Hefter, D. Zietz, M. Jäger, A. Kecskeméthy, F. Geu Flores. Interdisciplinary Gait Assessment with Patient-Specific Feature and Model Selection via Reinforcement Learning. 11. IFToMM D-A-CH Konferenz 2025, 20./21. Februar 2025, FH Kärnten, Villach. HTML

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

ltfmselector-0.1.11.tar.gz (875.4 kB view details)

Uploaded Source

Built Distribution

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

ltfmselector-0.1.11-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file ltfmselector-0.1.11.tar.gz.

File metadata

  • Download URL: ltfmselector-0.1.11.tar.gz
  • Upload date:
  • Size: 875.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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":true}

File hashes

Hashes for ltfmselector-0.1.11.tar.gz
Algorithm Hash digest
SHA256 2b444803ca9f3ac7763e8b856657ede48e0a8d6c540fcc12dc0ee771ef1bd2af
MD5 ebfb865d0eb39fe4c78a6087a8912a82
BLAKE2b-256 3a30cb9dfc1c3f616c34ff5871a10cab50bf903310f6f0054e2ce8698a129e63

See more details on using hashes here.

File details

Details for the file ltfmselector-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: ltfmselector-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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":true}

File hashes

Hashes for ltfmselector-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 d747d60e492babb54d04f5307a10ffa39147a8b5eb7e0345ce134e8122619971
MD5 eaa5caff30e7102a62e0d32a871e466c
BLAKE2b-256 05fadb5215dcfa22e960e0bcefada129f88b0a8ae6eb9b2f455c97e612f01189

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