model_poincare: PoinCare Model

Description Usage Arguments

View source: R/pointcare.R

Description

Implementation of Poincaré Embeddings.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
model_poincare(relations, ...)

## S3 method for class 'list'
model_poincare(relations, ...)

## S3 method for class 'python.builtin.tuple'
model_poincare(relations, ...)

## S3 method for class 'character'
model_poincare(relations, ...)

## S3 method for class 'python.builtin.str'
model_poincare(relations, ...)

Arguments

relations

Training data. Note that the relations are treated as ordered pairs, i.e. a relation (a, b) does not imply the opposite relation (b, a). In case the relations are symmetric, the data should contain both relations (a, b) and (b, a).

...

Any other options, from the official documentation.


news-r/gensimr documentation built on Jan. 9, 2021, 5:55 a.m.