
Security News
Potemkin Understanding in LLMs: New Study Reveals Flaws in AI Benchmarks
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
La repository contiene il codice per implementare la manipolazione delle feature dei dati utilizzati nei sistemi di ML in produzione con 4 moduli:
La classe principale di questo modulo è FeatureAnalysis, nonchè la classe madre delle classi presenti nei moduli Elimination e Selection. Utile per ottenere analisi di base dalle feature o gestire i parametri della classe.
Contiene dei metodi per ottenere o settare gli attributi della classe e un metodo che per ogni feature:
La classe principale di questo modulo Γ¨ FeatureSelection. Applica diversi filtri che possono essere raggruppati come segue:
Γ piΓΉ un modulo tecnico che contiene 6 classi utili per generare la pipeline di produzione:
La classe principale di questo modulo Γ¨ FeatureElimination, utile per selezionare le feature piΓΉ utili da mantenere nel modello utilizzando la tecnica RFE.
Γ un metodo ricorsivo che ad ogni iterazione puΓ²:
pip install -r requirements_dev.txt --trusted-host artifactory.group.credem.net -i https://artifactory.group.credem.net/artifactory/api/pypi/virtualPypi/simple
pre-commit install
pip install -e .
(Visualizza la documentazione a questo link).
La documentazione del codice viene generata automaticamente utilizzando Sphinx in formato HTML. I passaggi per generare la documetazione sono i seguenti:
requirements_dev.txt
:pip install -r requirements_dev.txt
pip install -e .
docs/
ed entra digitando da terminale:cd docs/
sphinx-quickstart
Questo comando, dopo alcune domande, creerΓ una struttura del tipo:
source/
|
ββββ conf.py
|
ββββ index.rst
|
ββββ _static/
|
ββββ _templates/
build/
Makefile
make.bat
Nel file docs/source/conf.py
, puoi configurare Sphinx. Un esempio di conf.py
puΓ² essere:
import pathlib
import sys
sys.path.insert(0, pathlib.Path(__file__).parents[2].resolve().as_posix() + "/src/cefeste")
project = "documentazione_ce-feste"
copyright = "2025, Team AIS"
author = "Team AIS"
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = ["sphinx.ext.autodoc", "sphinx.ext.autosummary", "sphinx.ext.napoleon", "custom_extension"]
templates_path = ["_templates"]
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
autosummary_generate = True
html_theme = "classic"
html_static_path = ["_static"]
Nei file index.rst
e nei _templates/
si puΓ² configurare l'autogenerazione della documentazione e i template da usare per farlo.
sphinx-build -b html source build
Il risultato sarΓ in docs/build/index.html
.
Una volta creata la documentazione questa viene inserita in un progetto GitHub per poterla collegare ad un sito di hosting (es. ReadTheDocs). Per avere un risultato sempre aggiornato bisogna cambiare ad ogni modifica i file html inseriti nel progetto GitHub (ReadTheDocs in automatico si accorge dei cambiamenti e aggiorna la documentazione).
ce-feste/
|
ββββ .pre-commit-config.yaml
|
ββββ pyproject.toml
|
ββββ LICENCE
|
ββββ MANIFEST.in
|
ββββ README.md
|
ββββ requirements_dev.txt
|
ββββ setup.py
|
ββββ .gitignore
|
ββββ docs/
| |ββ build/
| | βββ (Generated HTML output will be here)
| βββ source/
| | βββ _ext/
| | | βββ custom_extension.py
| | βββ _static/
| | | βββ (Static files)
| | βββ _templates/
| | | βββ autosummary/
| | | βββ class.rst
| | | βββ base.rst
| | | βββ module.rst
| | βββ conf.py
| | βββ index.rst
| | βββ modules/
| | βββ (Autogenerated rst files will be here)
| |
| βββ Makefile
| |
| βββ make.bat
|
ββββ src/
|
ββββ cefeste/
|
ββββ __init__.py
|
ββββ custom_extension.py
|
ββββ config.py
|
ββββ utils.py
|
ββββ config
| params.yml
ββββ elimination
| __init__.py
| shap_rfe.py
ββββ selection
| __init__.py
| explanatory.py
| multivariate.py
| univariate.py
ββββ transform
| __init__.py
FAQs
Feature Selection and Elimination
We found that cefeste demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.