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.2.3.tar.gz (259.7 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.2.3-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ltfmselector-0.2.3.tar.gz
  • Upload date:
  • Size: 259.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.2.3.tar.gz
Algorithm Hash digest
SHA256 cf9e01feb162f1afcb91dc73f1a980e95e917e210ea3820c76fbb2435c98565e
MD5 3a9b67a212fe036047067abb2fb552f4
BLAKE2b-256 f24b0bb67437d2fe39ef95af62b9e60557db069469866dba7a98b7aa463fc4e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ltfmselector-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b098a7cd40a4f453bd15e1b22626b1a1523950d693ec9bccb29ac2917c5b88b2
MD5 c62898e84bec63fe655c8c6d23546a0f
BLAKE2b-256 ca087dbe361fe098b86bd699a9a785597af80bc6349570d1f73fe192c9127d1f

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