Define the decision task
Specify the inputs, outputs and risk criteria (e.g. false-negative cost, fairness thresholds) before using any data for training or evaluation.
Assess AI risk workflows. Judge explanation and model impact.
AI risk assessment identifies potential failure modes, biased behaviour and explanation gaps before a model is deployed. Typical checks include model performance, calibration, feature importance, explanation stability and operational monitoring; the project emphasises reproducible baselines and a documented path to production.
Learning concept · Not a validated service
AI risk assessment identifies potential failure modes, biased behaviour and explanation gaps before a model is deployed. Typical checks include model performance, calibration, feature importance, explanation stability and operational monitoring; the project emphasises reproducible baselines and a documented path to production.
A proposed application is a lightweight audit tool that teams use to surface high-impact features, basic calibration and stability checks before escalating to a formal review panel. For safety-critical or regulatory contexts a human reviewer should remain in charge; this project is not a substitute for formal compliance processes.
Specify the inputs, outputs and risk criteria (e.g. false-negative cost, fairness thresholds) before using any data for training or evaluation.
Fit a simple classifier on representative tabular risk data and record versions, splits and random seeds for auditability.
Compute feature importance and explanation-stability measures (permutation importance, SHAP) and compare across data slices.
Define monitoring, calibration checks, data-quality alerts and a human-in-the-loop escalation path for unexpected model behaviour.
The supplied starter generates synthetic tabular classification data with sklearn.make_classification, trains a RandomForestClassifier, computes permutation-based feature importances on the test set, and prints the test score plus the top features. It does not use a real risk dataset, nor does it include calibration, fairness checks, explanation visualisations (SHAP/LIME) or any deployment scaffolding.
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.25, random_state=42, stratify=y)
model = RandomForestClassifier(n_estimators=250, random_state=42)
model.fit(X_train, y_train)
importance = permutation_importance(model, X_test, y_test, n_repeats=10, random_state=42)
report = pd.DataFrame({"feature": columns, "importance": importance.importances_mean})The code uses synthetic data created by make_classification rather than real risk or auditing data, so reported accuracy and importances do not reflect any operational model. The starter only computes permutation importance and a single test-score; it lacks calibration, explanation visualisations, stability checks, fairness audits, monitoring hooks and an audited data pipeline needed for a production risk assessment.
A proposed extension is a small audit dashboard that ingests real tabular model outputs, runs calibration and fairness checks, displays SHAP explanations for flagged predictions and stores auditable artefacts for each model version.
This is a potential application pathway, not a delivered product. The supplied starter does not implement this service or validate it with real users.
Networkers Home runs this topic inside its AI Engineer Course, with placement support and hands-on labs.