benchmark_semantic_type: Benchmarking semnatic type task

Description Usage Arguments Value

View source: R/benchmarks.R

Description

The benchmarking strategy leverages previously published ‘known’ relationships between medicalconcepts. We compare how similar the embeddings for a pair of concepts are by computing the cosine similarity of their corresponding vectors, and use this similarity to assess whether or not thetwo concepts are related. benchmark_semantic_type assesses an ability to identify semantic types. Semantic types are meta-information about which category a concept belongs to, and these categories are arranged in a hierarchy.

Usage

1
2
benchmark_semantic_type(embedding_df, sig_level = 0.05,
  bootstraps = 10000)

Arguments

embedding_df

The embedding dataframe with bound semantic types

sig_level

The significance level threshold

bootstraps

The number of bootstraps to perform

Value

Dataframe of performance on this task per semantic type


beamandrew/cui2vec documentation built on Nov. 4, 2019, 7:07 a.m.