Introduction to Databricks
Keep Each Model Output with Its Attempt
The Requested Attempt Changes
The workflow repeats successfully, but model files and recorded measurements have become easy to confuse.
BOTIE
The inputs we are comparing
Recorded model attempts
Same in both cases
[
{
"runId": "A",
"parameters": {
"limit": 10
},
"metrics": {
"mae": 2.5
},
"dataset": {
"table": "maintenance.prepared.readings",
"version": 4
}
},
{
"runId": "B",
"parameters": {
"limit": 20
},
"metrics": {
"mae": 1.8
},
"dataset": {
"table": "maintenance.prepared.readings",
"version": 5
}
}
]Attempt to inspect
The first attempt has one saved model
A
The requested attempt changes
B
Saved outputs and their owners
The first attempt has one saved model
- runId
- A
- path
- model.json
- runId
- B
- path
- model.json
| runId | path |
|---|---|
| A | model.json |
| B | model.json |
The requested attempt changes
- runId
- A
- path
- model.json
- runId
- B
- path
- assessment.json
- runId
- B
- path
- model.json
| runId | path |
|---|---|
| A | model.json |
| B | assessment.json |
| B | model.json |
Result for the first attempt has one saved model
- runId
- A
- parameters
- limit
- 10
- metrics
- mae
- 2.5
- dataset
- table
- maintenance.prepared.readings
- version
- 4
- artifacts
- 0model.json
A Familiar Filename Belongs to Another Attempt
This check uses the pieces from “Connect the Attempt Before Attaching Its Files”.
BOTIE
- Recorded model attempts
[ { "runId": "B", "parameters": { "limit": 20 }, "metrics": { "mae": 1.8 }, "dataset": { "table": "maintenance.prepared.readings", "version": 4 } }, { "runId": "D", "parameters": { "limit": 8 }, "metrics": { "mae": 3.1 }, "dataset": { "table": "maintenance.calibrated.readings", "version": 2 } } ]- Attempt to inspect
D
- Saved outputs and their owners
- runId
- B
- path
- model.json
- runId
- D
- path
- model.json
- runId
- D
- path
- plot.png
runId path B model.json D model.json D plot.png
Use a number, text, or an array matching the requested result. A named result uses field names, such as {"count": 2}. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.
Build a construction in the workspace above first. This case will test those pieces.
What is still unknown about model quality after this manifest has been recorded correctly?
Keep evidence linked to the attempt before making a decision from it.
The manifest is a small local teaching schema. It does not call MLflow, upload artifacts, train a model or establish that a recorded score is a fair comparison.