User Tools

Site Tools


wiki:ai:responsible-ai-test

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:ai:responsible-ai-test [2025/06/05 15:03] ddehamerwiki:ai:responsible-ai-test [2025/06/16 20:09] (current) – [✅ Step 7: Add Responsible AI Analysis Tools] ddehamer
Line 139: Line 139:
 rai_insights.explainer.add() rai_insights.explainer.add()
 rai_insights.error_analysis.add() rai_insights.error_analysis.add()
-rai_insights.counterfactual.add(total_CFs=5, desired_class='opposite')+rai_insights.counterfactual.add(total_CFs=10, desired_class='opposite')
 rai_insights.causal.add(treatment_features=categorical_cols) rai_insights.causal.add(treatment_features=categorical_cols)
 </code> </code>
Line 172: Line 172:
  
 🧪 **Expected Result**:\\ A dashboard is displayed inside the notebook. Interactive plots and controls are available for analysis. 🧪 **Expected Result**:\\ A dashboard is displayed inside the notebook. Interactive plots and controls are available for analysis.
- 
-Download 
  
   NOTE:  Due to the way that these URLs are deployed, this step will fail because the notebook sends the wrong headers and this is expected.  You have to either pull the notebook local and use it from the terminal or register the dashboard/dataset and review it through the portal.   NOTE:  Due to the way that these URLs are deployed, this step will fail because the notebook sends the wrong headers and this is expected.  You have to either pull the notebook local and use it from the terminal or register the dashboard/dataset and review it through the portal.
 +  NOTE:  To deploy locally you need to follow the process below.
  
-==== Output ====+==== Use Local Jupyter Notebook ====
  
-{{:wiki:ai:screenshot_2025-06-05_at_10.55.02 am.png?400|}} +  Download the full notebook (''.ipynb'') to your local machine
-{{:wiki:ai:screenshot_2025-06-05_at_10.56.15 am.png?400|}} +  Create a conda/venv environment with:<code -> 
-{{:wiki:ai:screenshot_2025-06-05_at_10.55.18 am.png?400|}} +pipx install raiwidgets responsibleai scikit-learn ipywidgets jupyter notebooks
-{{:wiki:ai:screenshot_2025-06-05_at_10.55.25 am.png?400|}} +
-{{:wiki:ai:screenshot_2025-06-05_at_10.56.28 am.png?400|}} +
-{{:wiki:ai:screenshot_2025-06-05_at_10.55.32 am.png?400|}} +
-{{:wiki:ai:screenshot_2025-06-05_at_10.55.39 am.png?400|}} +
-{{:wiki:ai:screenshot_2025-06-05_at_10.55.48 am.png?400|}} +
-{{:wiki:ai:screenshot_2025-06-05_at_10.56.00 am.png?400|}} +
-{{:wiki:ai:screenshot_2025-06-05_at_10.56.09 am.png?400|}} +
-{{:wiki:ai:screenshot_2025-06-05_at_10.56.15 am.png?400|}}+
  
 +</code>
 +  - Launch local notebook from the directory you downloaded the file to using:
 +<code ->
 +jupyter notebook
 +
 +</code>
 +  - This will launch a notebook session in your default browser.
 +  - Open downloaded ipynb file.
 +  - Rerun all steps in local notebook.
 +
 +✅ It will render **inline** without CORS issues.
 +
 +==== Output ====
  
 +{{:wiki:ai:screenshot_2025-06-05_at_10.55.02 am.png?400}} {{:wiki:ai:screenshot_2025-06-05_at_10.56.15 am.png?400}} {{:wiki:ai:screenshot_2025-06-05_at_10.55.18 am.png?400}} {{:wiki:ai:screenshot_2025-06-05_at_10.55.25 am.png?400}} {{:wiki:ai:screenshot_2025-06-05_at_10.56.28 am.png?400}} {{:wiki:ai:screenshot_2025-06-05_at_10.55.32 am.png?400}} {{:wiki:ai:screenshot_2025-06-05_at_10.55.39 am.png?400}} {{:wiki:ai:screenshot_2025-06-05_at_10.55.48 am.png?400}} {{:wiki:ai:screenshot_2025-06-05_at_10.56.00 am.png?400}} {{:wiki:ai:screenshot_2025-06-05_at_10.56.09 am.png?400}} {{:wiki:ai:screenshot_2025-06-05_at_10.56.15 am.png?400}}
  
 [[ai_knowledge|AI Knowledge]] [[ai_knowledge|AI Knowledge]]
  
  
wiki/ai/responsible-ai-test.1749135795.txt.gz · Last modified: by ddehamer