ee.ConfusionMatrix.fscore
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tính điểm Fβ cho ma trận nhầm lẫn.
Cách sử dụng | Giá trị trả về |
---|
ConfusionMatrix.fscore(beta) | Mảng |
Đối số | Loại | Thông tin chi tiết |
---|
this: confusionMatrix | ConfusionMatrix | |
beta | Số thực, mặc định: 1 | Hệ số cho biết độ quan trọng của độ thu hồi so với độ chính xác. Điểm F tiêu chuẩn tương đương với việc đặt β thành 1. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]