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-1.0.1.tar.gz (267.3 kB view details)

Uploaded Source

Built Distribution

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

ltfmselector-1.0.1-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ltfmselector-1.0.1.tar.gz
  • Upload date:
  • Size: 267.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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-1.0.1.tar.gz
Algorithm Hash digest
SHA256 50bfe82abd7ec8e1c0994858cc25833f85a39a3cb225116a05e50acdd04912fb
MD5 8eb788c300a52a7b555d73f4811f77ee
BLAKE2b-256 3b9e9c2025d058e1e1521084a21d998d523ecd150eb3b8d5783d2001ba32bd9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ltfmselector-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9d730d127c9faae9f01a37a5509e991c61f8b0623f498eb918820a758a70e5e6
MD5 7c3fdbfab189dd8274f07780be23daec
BLAKE2b-256 d3e78b843bb2a4a3211f1b085fadf0b7c083dc3e1080f7f54557c70f2e4c313a

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