ee.ConfusionMatrix.fscore
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Oblicza wynik Fβ dla tablicy pomyłek.
Wykorzystanie | Zwroty |
---|
ConfusionMatrix.fscore(beta) | Tablica |
Argument | Typ | Szczegóły |
---|
to: confusionMatrix | ConfusionMatrix | |
beta | Liczba zmiennoprzecinkowa, domyślnie: 1 | Współczynnik określający, o ile ważniejsze jest przypomnienie niż precyzja. Standardowy wynik F jest równoważny ustawieniu β na 1. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eCalculates the Fβ-score, a measure combining precision and recall, from a confusion matrix.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of the score through a \u003ccode\u003ebeta\u003c/code\u003e parameter, weighing the importance of recall relative to precision.\u003c/p\u003e\n"],["\u003cp\u003eProvides flexibility by accepting the confusion matrix as input and returning the Fβ-score as an array.\u003c/p\u003e\n"]]],["The `fscore` function calculates the Fβ-score for a given confusion matrix. It accepts a `beta` argument, a float value defaulting to 1, which determines the relative importance of recall versus precision. A higher `beta` emphasizes recall. The function operates on a `ConfusionMatrix` object and returns an array containing the computed Fβ-score. The standard F-score is calculated when β is set to one.\n"],null,["# ee.ConfusionMatrix.fscore\n\nComputes the Fβ-score for the confusion matrix.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------|---------|\n| ConfusionMatrix.fscore`(`*beta*`)` | Array |\n\n| Argument | Type | Details |\n|-------------------------|-------------------|-------------------------------------------------------------------------------------------------------------------------------|\n| this: `confusionMatrix` | ConfusionMatrix | |\n| `beta` | Float, default: 1 | A factor indicating how much more important recall is than precision. The standard F-score is equivalent to setting β to one. |"]]