ontolearn.base_nces
The base class of NCES.
Classes
Module Contents
- class ontolearn.base_nces.BaseNCES(knowledge_base_path, nces2_or_roces, quality_func, num_predictions, auto_train=True, proj_dim=128, drop_prob=0.1, num_heads=4, num_seeds=1, m=32, ln=False, learning_rate=0.0001, tmax=20, eta_min=1e-05, clip_value=5.0, batch_size=256, num_workers=4, max_length=48, load_pretrained=True, verbose: int = 0)[source]
- device
- kb_namespace
- dl_parser
- renderer
- atomic_concept_names
- knowledge_base_path
- kb
- all_individuals
- inv_vocab
- vocab
- num_predictions
- auto_train = True
- proj_dim = 128
- drop_prob = 0.1
- num_heads = 4
- num_seeds = 1
- m = 32
- ln = False
- learning_rate = 0.0001
- tmax = 20
- eta_min = 1e-05
- clip_value = 5.0
- batch_size = 256
- num_workers = 4
- max_length = 48
- verbose = 0
- num_examples
- best_predictions = None