elastic / elastic/ml-cpp

[ML] Discrepancy between the typical values in the record and anomaly_score_explanation

Aperta
#2,827 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
:ml >bug
Lingua principale
C++
Stelle
157
Fork
67
Merge medio
17h 52m
PR unite (30g)
20

Descrizione

There is a discrepancy between the typical values in the records and in the anomaly_score_explanation. This may be ligitamite, but then it's confusing since both fields have similar names. We need to investigate where the discrepancy comes from.

Example:

```json
{
"job_id": "logs-2",
"result_type": "record",
"probability": 1.3270118176914605e-10,
"multi_bucket_impact": -5,
"record_score": 98.23845097090914,
"initial_record_score": 98.23845097090914,
"bucket_span": 900,
"detector_index": 0,
"is_interim": false,
"timestamp": 1744461000000,
"function": "count",
"function_description": "count",
"typical": [
6.350539918419784
],
"actual": [
63
],
"anomaly_score_explanation": {
"anomaly_type": "spike",
"anomaly_length": 1,
"single_bucket_impact": 13,
"anomaly_characteristics_impact": 7,
"lower_confidence_bound": 1.950348036227763,
"typical_value": 6.273279374077203,
"upper_confidence_bound": 13.662117549841197,
"high_variance_penalty": true,
"multimodal_distribution": true,
"by_field_relative_rarity": 1
},
"ip": [
"30.156.16.163"
],
"clientip": [
"30.156.16.164"
]
}
```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Non vengono indicati file o test. Traccia come vengono prodotti `typical` e `anomaly_score_explanation.typical_value` per l’esempio, quindi determina se la discrepanza è prevista; il lavoro è completato quando la causa è spiegata e i campi sono allineati oppure vengono documentati i loro significati diversi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp
Ambito
machine-learning
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.