Model Pipeline - Why responsible AI development matters
This pipeline shows how responsible AI development helps create fair, safe, and trustworthy AI systems by carefully managing data, training, and predictions.
Jump into concepts and practice - no test required
This pipeline shows how responsible AI development helps create fair, safe, and trustworthy AI systems by carefully managing data, training, and predictions.
Loss
0.7 | *
0.6 | **
0.5 | ***
0.4 | ****
0.3 | *****
--------
1 2 3 4 5 Epochs| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | 0.65 | 0.6 | Model starts learning but biased towards majority group |
| 3 | 0.45 | 0.75 | Loss decreases, accuracy improves, bias reduced |
| 5 | 0.3 | 0.85 | Model converges with good accuracy and fairness |
bias_score = 0.2
if bias_score < 0.3:
print("Model is fair")
else:
print("Model is biased")
What will be the output?def mask_data(data):
return data.replace("*", "#")
print(mask_data("user*123"))
What is the error and how to fix it?