:orphan:
=============================
CalfCV Examples Gallery
=============================
This gallery provides practitioner-focused examples demonstrating how to leverage
``CalfCV`` for automated hyperparameter tuning, dynamic noise suppression, and
highly interpretable feature selection.
Together, these scripts illustrate how ``CalfCV`` trades upfront computational
time for robust generalization, yielding simple integer-weighted models that
match the predictive power of continuous optimization techniques.
Gallery Highlights
------------------
* **Dynamic Noise Suppression:**
Demonstrates how ``CalfCV`` dynamically prunes pure noise features without requiring a hardcoded feature count target (``k``), protecting downstream classifiers from overfitting.
*(See: CALF as a Supervised Feature Selection Preprocessor)*
* **Clinical Interpretability vs. Continuous Weights:**
Validates the estimator on real-world medical data. Compares ``CalfCV`` against L1 (Lasso) and RFE, showing how discrete ±1 weights create a highly interpretable aggregate scorecard with competitive ROC-AUC.
*(See: Feature Selection Sparsity: CALF vs. L1 & RFE)*
* **Runtime vs. Performance Benchmarking:**
Quantifies the computational cost of the internal grid search. Illustrates that the modest increase in fit time buys optimal predictive generalization and extreme model sparsity.
*(See: Runtime vs. Classifier Performance Trade-offs)*
* **Decision Calibration & Probabilities:**
Proves that despite utilizing discrete integer weights, ``CalfCV`` produces calibrated probability estimates via a sigmoid transformation, allowing for standard precision-recall threshold tuning.
*(See: Decision Threshold Calibration)*
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/images/thumb/sphx_glr_plot_decision_thresholds_thumb.png
:alt:
:doc:`/auto_examples/plot_decision_thresholds`
.. raw:: html
Decision Threshold Calibration: Precision, Recall, and F1 Trade-offs
.. raw:: html
.. only:: html
.. image:: /auto_examples/images/thumb/sphx_glr_plot_cumulative_auc_by_feature_thumb.png
:alt:
:doc:`/auto_examples/plot_cumulative_auc_by_feature`
.. raw:: html
Cumulative AUC by Feature: Forward Selection Trajectory
.. raw:: html
.. only:: html
.. image:: /auto_examples/images/thumb/sphx_glr_plot_classify_newsgroups_thumb.png
:alt:
:doc:`/auto_examples/plot_classify_newsgroups`
.. raw:: html
Multilabel Text Document Classification with CALF One-vs-Rest
.. raw:: html
.. only:: html
.. image:: /auto_examples/images/thumb/sphx_glr_plot_feature_selection_breast_cancer_thumb.png
:alt:
:doc:`/auto_examples/plot_feature_selection_breast_cancer`
.. raw:: html
Feature Selection Sparsity: CALF vs. L1 & RFE
.. raw:: html
.. only:: html
.. image:: /auto_examples/images/thumb/sphx_glr_plot_sentiment_imdb_thumb.png
:alt:
:doc:`/auto_examples/plot_sentiment_imdb`
.. raw:: html
Sentiment Analysis of High-Dimensional IMDB Reviews
.. raw:: html
.. only:: html
.. image:: /auto_examples/images/thumb/sphx_glr_plot_runtime_vs_performance_thumb.png
:alt:
:doc:`/auto_examples/plot_runtime_vs_performance`
.. raw:: html
Runtime vs. Classifier Performance Trade-offs
.. raw:: html
.. only:: html
.. image:: /auto_examples/images/thumb/sphx_glr_plot_algorithm_leverage_thumb.png
:alt:
:doc:`/auto_examples/plot_algorithm_leverage`
.. raw:: html
CALF as a Supervised Feature Selection Preprocessor
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/auto_examples/plot_decision_thresholds
/auto_examples/plot_cumulative_auc_by_feature
/auto_examples/plot_classify_newsgroups
/auto_examples/plot_feature_selection_breast_cancer
/auto_examples/plot_sentiment_imdb
/auto_examples/plot_runtime_vs_performance
/auto_examples/plot_algorithm_leverage
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery