rasa/core/test.py
def log_evaluation_table(golds, name,
                         report, precision, f1, accuracy,
                         in_training_data_fraction,
                         include_report=True):  # pragma: no cover
    """Log the sklearn evaluation metrics."""
    logger.info("Evaluation Results on {} level:".format(name))
    logger.info("\tCorrect:          {} / {}"
                "".format(int(len(golds) * accuracy), len(golds)))
    logger.info("\tF1-Score:         {:.3f}".format(f1))
    logger.info("\tPrecision:        {:.3f}".format(precision))
    logger.info("\tAccuracy:         {:.3f}".format(accuracy))
    logger.info("\tIn-data fraction: {:.3g}"
                "".format(in_training_data_fraction))

    if include_report:
        logger.info("\tClassification report: \n{}".format(report))
Log the sklearn evaluation metrics.
Log the sklearn evaluation metrics.
Log the sklearn evaluation metrics .
def log_evaluation_table(golds, name,
                         report, precision, f1, accuracy,
                         in_training_data_fraction,
                         include_report=True):  
    logger.info("Evaluation Results on {} level:".format(name))
    logger.info("\tCorrect:          {} / {}"
                "".format(int(len(golds) * accuracy), len(golds)))
    logger.info("\tF1-Score:         {:.3f}".format(f1))
    logger.info("\tPrecision:        {:.3f}".format(precision))
    logger.info("\tAccuracy:         {:.3f}".format(accuracy))
    logger.info("\tIn-data fraction: {:.3g}"
                "".format(in_training_data_fraction))
    if include_report:
        logger.info("\tClassification report: \n{}".format(report))
def log_evaluation_table ( golds , name , report , precision , f1 , accuracy , in_training_data_fraction , include_report = True ) : logger . info ( "Evaluation Results on {} level:" . format ( name ) ) logger . info ( "\tCorrect:          {} / {}" "" . format ( int ( len ( golds ) * accuracy ) , len ( golds ) ) ) logger . info ( "\tF1-Score:         {:.3f}" . format ( f1 ) ) logger . info ( "\tPrecision:        {:.3f}" . format ( precision ) ) logger . info ( "\tAccuracy:         {:.3f}" . format ( accuracy ) ) logger . info ( "\tIn-data fraction: {:.3g}" "" . format ( in_training_data_fraction ) ) if include_report : logger . info ( "\tClassification report: \n{}" . format ( report ) )
Log the sklearn evaluation metrics.
Log the sklearn evaluation metrics .
# pragma: no cover """Log the sklearn evaluation metrics."""
golds
name
report
precision
f1
accuracy
in_training_data_fraction
include_report