
Security News
Oxlint Introduces Type-Aware Linting Preview
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Welcome to ML-Insights!
This package contains two main sets of tools:
For probability calibration, use the SplineCalib class. Detailed documentation is available here: https://ml-insights.readthedocs.io
Find more detailed examples here: https://github.com/numeristical/introspective/tree/master/examples
For understanding black-box models, the main entry point is the ModelXRay
class. Instantiate it with the model and data. The data can be what the model was trained with, but intended to be used for out of bag or test data to see how the model performs when one feature is changed, holding everything else constant.
>>> import ml_insights as mli
>>> xray = mli.ModelXRay(model, data.sample(500))
>>> xray.feature_dependence_plots()
Find more detailed examples here: https://github.com/numeristical/introspective/tree/master/examples
https://ml-insights.readthedocs.io
We have tested this tool to the best of our ability, but understand that it may have bugs. It was developed on Python 3. Use at your own risk, but feel free to report any bugs to our github. https://github.com/numeristical/introspective
$ pip install ml_insights
Find the latest version on github: https://github.com/numeristical/introspective
Feel free to fork and contribute!
Free software: MIT license <LICENSE>
_
Lucena, B. 2018. Spline-Based Probability Calibration. https://arxiv.org/abs/1809.07751
Alex Goldstein, Adam Kapelner, Justin Bleich, and Emil Pitkin. 2014. Peeking Inside the Black Box: Visualizing Statistical Learning With Plots of Individual Conditional Expectation. Journal of Computational and Graphical Statistics (March 2014)
FAQs
Package to calibrate and understand ML Models
We found that ml-insights demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.