Repository navigation
Update stale docstrings, docs and tutorial outputs (#77) - #83
Merged
Merged
Conversation
Outputs are numerically identical to v0.3.1; only execution metadata and stream chunking changed (split stdout blocks merged). Refs #77 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bring docstrings, API pages, guides, roadmap, READMEs and C++ binding docs in line with the current code: document tao_n_runs/tao_lambda and the default-TAO feature-importance restriction, num_partitions as a maximum, current regression seeding and MAE coordinate-descent gating, TAO's n_node cost and early stopping, pair-node missing routing, pairwise_penalty as a growth-score cost, v0.3.1/export_text roadmap entries, and fix broken cross-references. Render inherited forest methods by dropping the conf.py inherited-members override. Closes #77 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #77.
Summary
sgtlearn/)tao_n_runsandtao_lambdaon all four estimators.num_partitionsas a maximum.criterionalso grows the inner trees and accepts"log_loss", and thatmax_featuressamples logical features.TAO_refineParameters/Returns/Raises, noting that the cost islambda_ * n_nodewith early stopping.plot_treeparameter semantics,feature_names_in_, thetree_exportkeys, and the missingpredict/predict_probadocstrings.fit(column_names=...), the private_export.plot_treepath).tao.rst:n_nodecost,tao_pair_scalein the knob lists, candidate scope, early stopping.estimators.rst/ensemble.rst:pairwise_penaltyas the γ growth cost, λ disambiguated fromtao_lambda, predict shapes.export_text) sections.conf.py: dropped the globalinherited-members: False, which overrode:inherited-members:and hidfit/predicton the forest pages. Inherited sklearn methods now render too.Notes
feature_dictint keys drop columns) and plot_tree crashes on SGTRegressor with max_depth truncation or multi-output y #82 (plot_treecrashes on truncated or multi-output regressors).tao.rstkeeps the "accuracy does not decrease at λ=0" guarantee, which TAO at lambda_=0 can lower training accuracy for classifiers with 3+ children per split #80 restores.ruff format --checkalready fails onsgtlearn/_multioutput.pyon main; this PR leaves it untouched.Test plan
sphinx-build -W --keep-going -b html docspasses. With-n, no attr/meth/obj/func/mod reference warnings remain.pytest tests: 1241 passed, 2 skipped.ruff check sgtlearnis clean.🤖 Generated with Claude Code