Skip to main content

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

Project description

LTFMSelector: Locally-Tailored Dynamic Feature and Model Selector with Deep Reinforcement 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-2.0.1.tar.gz (270.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-2.0.1-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ltfmselector-2.0.1.tar.gz
  • Upload date:
  • Size: 270.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","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-2.0.1.tar.gz
Algorithm Hash digest
SHA256 4d9b5de290b0426d5b0f8c7f0eea3521865987bb38ed5a8c661835c4dfcd57ce
MD5 00bc057b881e4d5225276059b50b967f
BLAKE2b-256 b8fceefd343ff68c8c13368c9babac0f542bce78c6b312876321c0ecadfe1616

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ltfmselector-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","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-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1cce9c62e01fbcd933a2f44b94d2e1f7482208a34245f35d188e1ab2b8eaf427
MD5 536df8433b1a33de55c60e3e55d27cda
BLAKE2b-256 53da8cb7c9ac63a8b9384eddaa880200aba9e2e564f16f629b14725e05a4fe1d

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