Skip to main content

Flexible Conditional Modeling for Structured Dependencies

Project description

Overview

We propose a flexible conditional modeling framework that learns structured dependencies between variables by blending linear and nonlinear transformations. Our method dynamically adjusts to data characteristics via a learnable mixture parameter, allowing the model to preserve simplicity where appropriate while capturing complex behaviors when necessary. We validate the approach on synthetic nonlinear datasets, achieving significant improvements over traditional linear models. This framework opens the door for scalable integration into large models, including language model retraining where structured paths in latent space matter.

Usage

from kln import FlexibleConditional

model = FlexibleConditional(input_dim=2, hidden_dim=64, output_dim=1)

Acknowledgements

OpenAI's ChatGPT provided substantial assistance with the research, writing, and development of this work. The authors gratefully acknowledge its contributions while assuming full responsibility for the final content.

We thank the contributors to open-source geometry libraries and acknowledge the support of interdisciplinary visualization research.

We would also like to include this poem, written by ChatGPT o4

REFERENCES

[1] J. A. Reeds and L. A. Shepp. 1990. Optimal paths for a car that goes both forwards and backwards. Pacific J. Math. 145, 2 (1990), 367–393.

[2] Michal Krupa. 2025. Geometrically-Constrained Pathfinding: An Arc-Based Algorithm for Navigation in Restricted Domains. In . ACM, New York, NY, USA, 1 page.

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

fckln-0.0.3.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

fckln-0.0.3-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file fckln-0.0.3.tar.gz.

File metadata

  • Download URL: fckln-0.0.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fckln-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2b881b49cd7f501eac3afdf9c28e11bb727029c261c30e80cff6c6743e27cfa4
MD5 f7a9c6fc8fe09e81f24bbbd9a7e140bf
BLAKE2b-256 71e30dc57eba59e9b8299558c2b5521ecedde3f0416e5d86f30a859bbb6abac2

See more details on using hashes here.

Provenance

The following attestation bundles were made for fckln-0.0.3.tar.gz:

Publisher: workflow.yml on michalkrupa/kln

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fckln-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: fckln-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fckln-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 581ca75a9285ed134aff4ff33e11b71ef745792cc96e7ca0be9f5e4fc5b0409d
MD5 c66d59deaf1a37913ca429cea3177f4d
BLAKE2b-256 d4762f1b746604d89041d8d1f5364b35b93f97fca7449d32009f83b784a5114b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fckln-0.0.3-py3-none-any.whl:

Publisher: workflow.yml on michalkrupa/kln

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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