hezar.metrics package¶ Submodules¶ hezar.metrics.accuracy module Accuracy Accuracy.compute() Accuracy.required_backends AccuracyConfig AccuracyConfig.name AccuracyConfig.normalize AccuracyConfig.objective AccuracyConfig.output_keys AccuracyConfig.sample_weight hezar.metrics.bleu module BLEU BLEU.compute() BLEU.required_backends BLEUConfig BLEUConfig.name BLEUConfig.objective BLEUConfig.output_keys hezar.metrics.cer module CER CER.compute() CER.required_backends CERConfig CERConfig.concatenate_texts CERConfig.name CERConfig.objective CERConfig.output_keys CERConfig.sentence_delimiter hezar.metrics.f1 module F1 F1.compute() F1.required_backends F1Config F1Config.average F1Config.name F1Config.objective F1Config.output_keys F1Config.pos_label F1Config.sample_weight hezar.metrics.metric module Metric Metric.compute() Metric.required_backends hezar.metrics.precision module Precision Precision.compute() Precision.required_backends PrecisionConfig PrecisionConfig.average PrecisionConfig.name PrecisionConfig.objective PrecisionConfig.output_keys PrecisionConfig.pos_label PrecisionConfig.sample_weight PrecisionConfig.zero_division hezar.metrics.recall module Recall Recall.compute() Recall.required_backends RecallConfig RecallConfig.average RecallConfig.name RecallConfig.objective RecallConfig.output_keys RecallConfig.pos_label RecallConfig.sample_weight RecallConfig.zero_division hezar.metrics.rouge module ROUGE ROUGE.compute() ROUGE.required_backends ROUGEConfig ROUGEConfig.multi_ref ROUGEConfig.name ROUGEConfig.objective ROUGEConfig.output_keys ROUGEConfig.use_aggregator ROUGEConfig.use_stemmer hezar.metrics.seqeval module Seqeval Seqeval.compute() Seqeval.required_backends SeqevalConfig SeqevalConfig.mode SeqevalConfig.name SeqevalConfig.objective SeqevalConfig.output_keys SeqevalConfig.sample_weight SeqevalConfig.suffix SeqevalConfig.zero_division hezar.metrics.wer module WER WER.compute() WER.required_backends WERConfig WERConfig.concatenate_texts WERConfig.name WERConfig.objective WERConfig.output_keys Module contents¶