ontolearn.base_nces

The base class of NCES.

Classes

BaseNCES

Module Contents

class ontolearn.base_nces.BaseNCES(knowledge_base_path, learner_names, path_of_embeddings, batch_size=256, learning_rate=0.0001, decay_rate=0.0, clip_value=5.0, num_workers=4)[source]
name = 'NCES'
kb_namespace
renderer
atomic_concept_names
knowledge_base_path
kb
all_individuals
inv_vocab
vocab
learner_names
num_examples
batch_size
learning_rate
decay_rate
clip_value
num_workers
instance_embeddings
input_size
static find_optimal_number_of_examples(kb)[source]
collate_batch(batch)[source]
collate_batch_inference(batch)[source]
abstract get_synthesizer()[source]
abstract load_pretrained()[source]