Answer the question
In order to leave comments, you need to log in
What algorithm should be used to find the best probability among a set of events?
Hello everyone
I’ll say right away that I’m a complete zero in algorithms, I would be grateful not only for solving the problem, but just for advice on what to read, what topics to understand how to work on such issues.
Problem: The
desired probability is the probability of an INCIDENT event that either occurs or does not occur. Let's write this briefly as INCIDENT->true and INCIDENT->false.
INCIDENT depends on the object-event pairs described below and their combinations.
There are many objects A...Z with different event fields a....z. Moreover, some events are not simple, but composite (include some parameters), i.e. there is nesting, but no more than two levels. To make it easier to understand, the data structure for events is as follows:
[
{
"Object A": {
"event": "(event name) a",
"event": "(event name) b",
"event": "(event name) c",
},
"Object B": {
"event": "(event name) a",
"event": "(event name) b",
"event": "(event name) c",
},
"Object С": [{
"event": {
"event name": "(event name) a",
"param1": "(param) 1",
"param2": "(param) 2",
},
"event": {
"event name": "(event name) a",
"param1": "(param) 123",
"param2": "(param) 321",
}
}]
}
]
[
{
"A": "a",
"INCIDENT": true x33 (33%)
"INCIDENT": false x66 (66%)
}
]
[
{
"A": "a",
"B": "a",
"INCIDENT": true x50 (50%),
"INCIDENT": false x50 (50%),
}
]
[
{
"A": "a",
"B": "a",
"C": {
"event name": "a",
"param1": 1
},
"INCIDENT": true x10 (10%)
"INCIDENT": false x90 (90%)
},
]
[
{
"A": "a",
"B": "a",
"C": {
"event name": "a",
"param1": 123,
"param3": 321
},
"INCIDENT": true x60 (60%)
"INCIDENT": false x40 (40%)
},
]
Answer the question
In order to leave comments, you need to log in
Polynomial chains of connected events.
For object A (event-fields: a1-aN, compound event parameters: aa1-zzN), total probability (for true - separately, for false - separately):
a1*(aa1+...+aaN)+a2*(bb1+...+bbN)+...+aN*(zz1+...+zzN)
and so on for each object (two expressions per object). Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question