All Projects → ModelOriented → auditor

ModelOriented / auditor

Licence: other
Model verification, validation, and error analysis

Programming Languages

r
7636 projects
CSS
56736 projects

Projects that are alternatives of or similar to auditor

xai-iml-sota
Interesting resources related to Explainable Artificial Intelligence, Interpretable Machine Learning, Interactive Machine Learning, Human in Loop and Visual Analytics.
Stars: ✭ 51 (-8.93%)
Mutual labels:  explainable-artificial-intelligence, xai
COVID-19-Tweet-Classification-using-Roberta-and-Bert-Simple-Transformers
Rank 1 / 216
Stars: ✭ 24 (-57.14%)
Mutual labels:  classification
TNCR Dataset
Deep learning, Convolutional neural networks, Image processing, Document processing, Table detection, Page object detection, Table classification. https://www.sciencedirect.com/science/article/pii/S0925231221018142
Stars: ✭ 37 (-33.93%)
Mutual labels:  classification
newt
Natural World Tasks
Stars: ✭ 24 (-57.14%)
Mutual labels:  classification
flexinfer
A flexible Python front-end inference SDK based on TensorRT
Stars: ✭ 83 (+48.21%)
Mutual labels:  classification
Machine-Learning-Specialization
Project work and Assignments for Machine learning specialization course on Coursera by University of washington
Stars: ✭ 27 (-51.79%)
Mutual labels:  classification
MoeFlow
Repository for anime characters recognition website, powered by TensorFlow
Stars: ✭ 113 (+101.79%)
Mutual labels:  classification
knodle
A PyTorch-based open-source framework that provides methods for improving the weakly annotated data and allows researchers to efficiently develop and compare their own methods.
Stars: ✭ 76 (+35.71%)
Mutual labels:  classification
ugtm
ugtm: a Python package for Generative Topographic Mapping
Stars: ✭ 34 (-39.29%)
Mutual labels:  classification
Skin-Cancer-Segmentation
Classification and Segmentation with Mask-RCNN of Skin Cancer using ISIC dataset
Stars: ✭ 61 (+8.93%)
Mutual labels:  classification
verseagility
Ramp up your custom natural language processing (NLP) task, allowing you to bring your own data, use your preferred frameworks and bring models into production.
Stars: ✭ 23 (-58.93%)
Mutual labels:  classification
SGDLibrary
MATLAB/Octave library for stochastic optimization algorithms: Version 1.0.20
Stars: ✭ 165 (+194.64%)
Mutual labels:  classification
Classification Nets
Implement popular models by different DL framework. Such as tensorflow and caffe
Stars: ✭ 17 (-69.64%)
Mutual labels:  classification
BIRADS classifier
High-resolution breast cancer screening with multi-view deep convolutional neural networks
Stars: ✭ 122 (+117.86%)
Mutual labels:  classification
Loan-Approval-Prediction
Loan Application Data Analysis
Stars: ✭ 61 (+8.93%)
Mutual labels:  classification
time-series-classification
Classifying time series using feature extraction
Stars: ✭ 75 (+33.93%)
Mutual labels:  classification
Metric Learning Adversarial Robustness
Code for NeurIPS 2019 Paper
Stars: ✭ 44 (-21.43%)
Mutual labels:  classification
textlearnR
A simple collection of well working NLP models (Keras, H2O, StarSpace) tuned and benchmarked on a variety of datasets.
Stars: ✭ 16 (-71.43%)
Mutual labels:  classification
catordog
这是一个基于tensorflow和python的猫狗分类算法
Stars: ✭ 20 (-64.29%)
Mutual labels:  classification
machine learning from scratch matlab python
Vectorized Machine Learning in Python 🐍 From Scratch
Stars: ✭ 28 (-50%)
Mutual labels:  classification

Model verification, validation, and error analysis

CRAN_Status_Badge R build status Coverage Status DrWhy-eXtrAI

Overview

Package auditor is a tool for model-agnostic validation. Implemented techniques facilitate assessing and comparing the goodness of fit and performance of models. In addition, they may be used for the analysis of the similarity of residuals and for the identification of outliers and influential observations. The examination is carried out by diagnostic scores and visual verification. Due to the flexible and consistent grammar, it is simple to validate models of any classes.

An up-to-date paper about auditor and a shorter version in The R-Journal.

auditor is a part of DrWhy collection of tools for Visual Exploration, Explanation and Debugging of Predictive Models.

auditor’s pipeline: model %>% DALEX::explain() %>% plot(type=…)

Installation

Stable version from CRAN:

install.packages("auditor")

Developer version from GitHub:

source("https://install-github.me/ModelOriented/auditor")

# or with the devtools package
devtools::install_github("ModelOriented/auditor")

Demo

Run the code below or try the auditor.

library(auditor)
library(randomForest)
data(mtcars)

# fitting models
model_lm <- lm(mpg ~ ., data = mtcars)
set.seed(123)
model_rf <- randomForest(mpg ~ ., data = mtcars)

# creating objects with 'explain' function from the package DALEX
# that contains all necessary components required for further processing
exp_lm <- DALEX::explain(model_lm, data = mtcars, y = mtcars$mpg,  verbose = FALSE)
exp_rf <- DALEX::explain(model_rf, data = mtcars, y = mtcars$mpg, label = "rf", verbose = FALSE)

# create explanation  objects
mr_lm <- model_residual(exp_lm)
mr_rf <- model_residual(exp_rf)

# generating plots
plot_residual(mr_lm, mr_rf, variable = "wt", smooth = TRUE)

More Resources

Short overview of plots

Column type contains character that should be passed to parameter type= when using plot() function. Regr and Class columns indicate whether plot can be used for regression and classification models.

Name of a plot Function Interactive version Type Regr Class
Autocorrelation Function plot_acf() plotD3_acf() “acf” yes yes
Autocorrelation plot_autocorrelation() plotD3_autocorrelation() “autocorrelation” yes yes
Influence of Observations plot_cooksdistance() plotD3_cooksdistance() “cooksdistance” yes yes
Half-Normal plot_halfnormal() plotD3_halfnormal() “halfnormal” yes yes
LIFT Chart plot_lift() plotD3_lift() “lift” no yes
Model Correlation plot_correlation() - “correlation” yes yes
Principal Component Analysis of Models plot_pca() - “pca” yes yes
Model Ranking Radar Plot plot_radar() - “radar” yes yes
Predicted Response vs Actual or Variable Values plot_prediction() plotD3_prediction() “prediction” yes yes
Regression Error Characteristic Curve (REC) plot_rec() plotD3_rec() “rec” yes yes
Plot Residuals vs Actual, Fitted or Variable Values plot_residual() plotD3_residual() “residual” yes yes
Residual Boxplot plot_residual_boxplot() - “residual_boxplot” yes yes
Residual Density plot_residual_density() - “residual_density” yes yes
Receiver Operating Characteristic (ROC) Curve plot_roc() plotD3_roc “roc” no yes
Regression Receiver Operating Characteristic (RROC) plot_rroc() plotD3_rroc “rroc” yes yes
Scale-Location Plot plot_scalelocation() plotD3_scalelocation() “scalelocation” yes yes
Two-sided Cumulative Distribution Function plot_tsecdf() - “tsecdf” yes yes

Acknowledgments

Work on this package was financially supported by the NCN Opus grant 2016/21/B/ST6/02176.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].