-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Checklist
- I have filled out the template to the best of my ability.
- This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
- This issue is not a duplicate feature request of previous feature requests.
Please describe your task requirements

This chart will show the position of the embeddings and the centroid.
URL: GET /{model_uuid}/current/embeddings
DTO: we need the current_embedding
field and the reference_embeddings
field to rendere the <ScatterPlot />
{
"reference_embeddings_metrics": {
"n_comp": 2,
"n_cluster": 5,
"inertia": 152.75,
"sil_score": 0.48
},
"reference_embeddings": { // < - - - - - - - - - HERE
"centroid": { // This is to render the centroid
"x": 0.0,
"y": 0.0
},
"values": [ // There are the values that we use to show the data on the chart
{
"timestamp": 1627849200,
"x": 1.23,
"y": 4.56
},
{
"timestamp": 1627849260,
"x": 2.34,
"y": 5.67
},
{
"timestamp": 1627849320,
"x": 3.45,
"y": 6.78
}
]
},
"current_embedding_metrics": {
"n_comp": 2,
"n_cluster": 5,
"inertia": 165.20,
"sil_score": 0.42
},
"current_embeddings": { // < - - - - - - - - - HERE
"centroid": { // This is to render the centroid
"x": 0.5,
"y": 0.5
},
"values": [ // There are the values that we use to show the data on the chart
{
"timestamp": 1627849380,
"x": 1.50,
"y": 4.80
},
{
"timestamp": 1627849440,
"x": 2.60,
"y": 5.90
},
{
"timestamp": 1627849500,
"x": 3.70,
"y": 7.10
}
]
},
"histogram": {
"buckets": [0.0, 1.0, 2.0, 3.0, 4.0, 5.0],
"reference_values": [15, 25, 10, 5, 3], // Same as reference for comparison
"current_values": [18, 22, 12, 6, 4] // Updated counts for current data
},
"drift_score": {
"current_timestamp": 1627849500, // Timestamp of the current data
"score": 0.35 // Drift score (e.g., 0.35 indicates moderate drift)
}
}
Acceptance Criteria
The is available for the user
Additional Notes
No response
Metadata
Metadata
Assignees
Labels
No labels