Companion
Functions
actual true means that the instance belongs to class 1 (positive) actual false means that the instance belongs to class 0 (negative) predicted true means that the instance was predicted to be in class 1 (positive) predicted false means that the instance was predicted to be in class 0 (negative)
actual = 1.0 means that the instance belongs to class 1 (positive) actual = 0.0 means that the instance belongs to class 0 (negative) predicted = 1.0 means that the instance was predicted to be in class 1 (positive) predicted = 0.0 means that the instance was predicted to be in class 0 (negative) actual and predicted must be 1.0 or 0.0
actual = 1 means that the instance belongs to class 1 (positive) actual = 0 means that the instance belongs to class 0 (negative) predicted = 1 means that the instance was predicted to be in class 1 (positive) predicted = 0 means that the instance was predicted to be in class 0 (negative) actual and predicted must be 1 or 0