Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ee.ConfusionMatrix.fscore
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menghitung skor Fβ untuk matriks konfusi.
Penggunaan | Hasil |
---|
ConfusionMatrix.fscore(beta) | Array |
Argumen | Jenis | Detail |
---|
ini: confusionMatrix | ConfusionMatrix | |
beta | Float, default: 1 | Faktor yang menunjukkan seberapa penting perolehan dibandingkan presisi. Skor-F standar setara dengan menyetel β ke satu. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]