MCPcopy
hub / github.com/RasaHQ/rasa / log_entity_results

Function log_entity_results

rasa/nlu/test.py:1953–1962  ·  view source on GitHub ↗

Logs entity results of cross validation. Args: results: dictionary of dictionaries of results returned from cross validation dataset_name: string of which dataset the results are from, e.g. test/train

(results: EntityMetrics, dataset_name: Text)

Source from the content-addressed store, hash-verified

1951
1952
1953def log_entity_results(results: EntityMetrics, dataset_name: Text) -> None:
1954 """Logs entity results of cross validation.
1955
1956 Args:
1957 results: dictionary of dictionaries of results returned from cross validation
1958 dataset_name: string of which dataset the results are from, e.g. test/train
1959 """
1960 for extractor, result in results.items():
1961 logger.info(f"Entity extractor: {extractor}")
1962 log_results(result, dataset_name)

Callers 1

Calls 2

log_resultsFunction · 0.85
itemsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…