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)
| 1951 | |
| 1952 | |
| 1953 | def 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) |
no test coverage detected
searching dependent graphs…