def _load_metadata_from_sample(hyperparameters: Dict[str, Any], raw_sample: Dict[str, Any], raw_metadata: Dict[str, Any]) -> None: super(Path2Annotation, Path2Annotation)._load_metadata_from_sample( hyperparameters, raw_sample, raw_metadata) TypeClassificationModel._load_metadata_from_sample( hyperparameters, raw_sample, raw_metadata)
def _load_metadata_from_sample(hyperparameters: Dict[str, Any], raw_sample: Dict[str, Any], raw_metadata: Dict[str, Any]) -> None: super(Graph2HybridMetric, Graph2HybridMetric)._load_metadata_from_sample( hyperparameters, raw_sample, raw_metadata) TypeClassificationModel._load_metadata_from_sample( hyperparameters, raw_sample, raw_metadata)
def _load_metadata_from_sample(hyperparameters: Dict[str, Any], raw_sample: Dict[str, Any], raw_metadata: Dict[str, Any]) -> None: super(Sequence2HybridMetric, Sequence2HybridMetric)._load_metadata_from_sample( hyperparameters, raw_sample, raw_metadata) TokenEmbedder.load_metadata_from_sample('token', [ raw_sample['nodes'][i] for i in raw_sample['token-sequence'] if i < len(raw_sample['nodes']) ], raw_metadata, hyperparameters) TypeClassificationModel._load_metadata_from_sample( hyperparameters, raw_sample, raw_metadata)