Skip to content

Ajout de la méthode linéaire tronquée#20

Open
tdelc wants to merge 4 commits intoInseeFr:masterfrom
tdelc:master
Open

Ajout de la méthode linéaire tronquée#20
tdelc wants to merge 4 commits intoInseeFr:masterfrom
tdelc:master

Conversation

@tdelc
Copy link
Copy Markdown

@tdelc tdelc commented Apr 16, 2026

Cette fonction était en attente sur le code initiale avec un TODO. Je me suis permis de l'ajouter, basé sur le code source de calmar, et testé avec succès à Statbel.

tdelc added 4 commits January 8, 2026 11:41
Enabled the 'truncated' method in the calib function and implemented the inverseDistanceTruncated function. Also updated convergence handling in calibAlgorithm to return the ratio g when max iterations are reached.
Uncommented and enabled the 'truncated' calibration branch and implemented inverseDistanceTruncated. The new function validates that bounds is a length-2 vector, computes truncated distances and their derivative (returns list(distance, fprim)), and errors with a clear message if bounds are missing or malformed. Also re-enabled previously commented convergence warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant