API Documentation

This is the API documentation for kiez.

Kiez

Kiez

Performs hubness reduced nearest neighbor search for entity alignment.

Analysis

kiez.analysis.estimation

Estimate hubness in datasets.

Evaluate

kiez.evaluate.eval_metrics

Calculate evaluation metrics such as hits@k.

Hubness Reduction

kiez.hubness_reduction.CSLS

Hubness reduction with Cross-domain similarity local scaling.

kiez.hubness_reduction.DisSimLocal

Hubness reduction with DisSimLocal.

kiez.hubness_reduction.LocalScaling

Hubness reduction with Local Scaling.

kiez.hubness_reduction.MutualProximity

Hubness reduction with Mutual Proximity.

IO

kiez.io.data_loading

Convenience methods for loading entity embeddings from knowledge graph embeddings.

Neighbors

kiez.neighbors.Faiss

Wrapper for faiss library.

kiez.neighbors.NMSLIB

Wrapper for hierarchical navigable small world graphs based approximate nearest neighbor search implementation from NMSLIB.

kiez.neighbors.NNG

Wrapper for NGT's graph based approximate nearest neighbor search.

kiez.neighbors.SklearnNN

Wrapper for scikit learn's NearestNeighbors class.

kiez.neighbors.Annoy

Wrapper for Spotify's approximate nearest neighbor library.