learn parameters

interlinking.learning.learn_thres(fname, sim_group='basic')[source]

Compute optimal thresholds for each similarity metric in specified group regarding the fname dataset.

Parameters
  • fname (str) – File name of the dataset.

  • sim_group (str) – Name of the group of the similarity metrics. Accepted values are basic or basic_sorted.

interlinking.learning.learn_params_for_lgm(fname, encoding)[source]

Compute optimal thresholds and weights for each similarity metric in the LGM-Sim group only regarding the fname dataset.

Parameters
  • fname (str) – File name of the dataset.

  • encoding (str) – Encoding of the fname dataset.

Return Home