class_docstr: A model which only implements the methods used for evaluation.
docstr: Non-parametric models do not implement :meth:`Model.score_r`.
docstr_tok: ["Non-parametric","models","do","not","implement",":","meth",":","`","Model.score_r","`","."]
code: def score_r(self, ht_batch: torch.LongTensor, **kwargs):  # noqa: D102
      """Non-parametric models do not implement :meth:`Model.score_r`."""
      raise RuntimeError
  
imports: from typing import Optional
  import numpy
  import torch
  from .utils import get_csr_matrix, get_relation_similarity, marginal_score
  from ..base import Model
  from ...triples import CoreTriplesFactory
  from ...typing import InductiveMode
label_desc: Use image node_id 6 for calling the EvaluationOnlyModel obj's underlying member method code with example usage: obj.score_r(ht_batch) without return types