For a desired meta-path based similarity metric, retrieve the function which computes the appropriate similarity score, then compute similarity.

get_similarity_function(metric_name, get_verbose, ...)

Arguments

metric_name

Readable description of the desired similarity score:

Path Count

Use "pc".

Normalized Path Count

Use "npc".

Degree-Weighted Path Count

Use "dwpc".

PathSim

Use "pathsim".

get_verbose

Should output be printed to console?

...

Other arguments to pass to appropriate meta-path similarity function.

Value

A list with two elements:

Metric

The human readable name of the similarity metric.

Similarity

The appropriate similarity score.

See also

See the following functions to compute various similarity scores:

Path Count

get_pc()

Normalized Path Count

get_npc()

Degree-Weighted Path Count

get_dwpc()

PathSim

get_pathsim()