This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CandidateSet.swift | |
// solvoku | |
// | |
// Created by DIAZ Jérôme Olivier on 06/01/2018. | |
// Copyright © 2024 DIAZ Jérôme Olivier. All rights reserved. | |
// | |
import Foundation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"evaluated_classes": { | |
"astro-ph.CO": { | |
"accuracy": 0.9990346449184666, | |
"expected_count": 32249, | |
"f1": 0.953086955847459, | |
"false_negative_count": 1521, | |
"false_positive_count": 1504, | |
"label": "astro-ph.CO", | |
"precision": 0.9533382973442541, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
metric | mean value | weighted mean value | |
---|---|---|---|
recall | 0.891 | 0.925 | |
precision | 0.912 | 0.925 | |
f1 | 0.9 | 0.924 | |
accuracy | 0.999 | 0.998 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# values from https://en.wikipedia.org/wiki/List_of_largest_cities | |
country_data = [ | |
{"name": "Tokyo", "population": 13515271, "density": 6169}, | |
{"name": "Delhi", "population": 16753235, "density": 11289}, | |
{"name": "Shanghai", "population": 24870895, "density": 3922}, | |
{"name": "Sao Paulo", "population": 12252023, "density": 8055}, | |
{"name": "Mexico City", "population": 9209944, "density": 6202} | |
] |