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.2.tar.gz (299.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.2-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ltfmselector-0.1.2.tar.gz
  • Upload date:
  • Size: 299.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.12

File hashes

Hashes for ltfmselector-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ee7232aeaa515e49dd0e7cf7e08b3f9ba6a315b2780eb605f755cb88406f838e
MD5 6d87ee3bfbed50626fca6d2a390c962e
BLAKE2b-256 d563f8b598dc3f1e65a20bdedb87eac6a097ce2b11a5f7d38dc68f093a19172d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltfmselector-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 df51a7673e881c3a6904c57b1edad54a2678bfce2f036e448aa9027e2ab8897a
MD5 7fd7b3eda2175dd5f56218dfd372ce63
BLAKE2b-256 aff405adfdc593565e9196148bfd806a5786b4401a1dc8f250d346f7a52510a8

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