dylan nico
New Member
- Joined
- Aug 27, 2022
- Messages
- 1
- Office Version
- 365
- Platform
- MacOS
I have a following structure:
predictions, truth
1,1
1,0
1,1
1,2
1,0
... 16 times
0,0
0,0
0,1
0,0
... 16 times
.
.
.
I need to compute this formula for each 16 times and then do the median between all of them:
the formula is: equal_values/16, where equal_values are the values of the predictions which are equal to the values of truth.
Then, I need to do the median of all of them.
In the example above, the first 16 pairs returns 2/16. The second 16 pairs returns 3/16. Then the median of these two values.
Below an image that give. the idea. Thanks to all for the responses.
predictions, truth
1,1
1,0
1,1
1,2
1,0
... 16 times
0,0
0,0
0,1
0,0
... 16 times
.
.
.
I need to compute this formula for each 16 times and then do the median between all of them:
the formula is: equal_values/16, where equal_values are the values of the predictions which are equal to the values of truth.
Then, I need to do the median of all of them.
In the example above, the first 16 pairs returns 2/16. The second 16 pairs returns 3/16. Then the median of these two values.
Below an image that give. the idea. Thanks to all for the responses.