ee.ConfusionMatrix.fscore
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Berechnet den Fβ-Wert für die Wahrheitsmatrix.
Nutzung | Ausgabe |
---|
ConfusionMatrix.fscore(beta) | Array |
Argument | Typ | Details |
---|
So gehts: confusionMatrix | ConfusionMatrix | |
beta | Gleitkommazahl, Standardwert: 1 | Ein Faktor, der angibt, wie viel wichtiger der Recall als die Precision ist. Der Standard-F-Wert entspricht dem Festlegen von β auf 1. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 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. |"]]