home/categories/machine-learning/ecnu-icalk-autoskill-skillbank-convskill-chinese-gpt4-8-asymmetric-cost-loss-function-false-negative-cost-0-skill-md
machine-learningdata-ai

asymmetric-cost-loss-function-false-negative-cost-0

Defines a custom loss function in TensorFlow/Keras where predicting 1 as 0 (False Negative) has zero cost, while predicting 0 as 1 (False Positive) has a cost of 1.

ECNU-ICALK
maintainer
ECNU-ICALK
Updated 3/16/2026
Stars
304
Forks
34
quick start

Installation and usage

Defines a custom loss function in TensorFlow/Keras where predicting 1 as 0 (False Negative) has zero cost, while predicting 0 as 1 (False Positive) has a cost of 1.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use asymmetric-cost-loss-function-false-negative-cost-0