dicee.static_preprocess_funcs
Attributes
Functions
|
|
|
Sanity Checking in input arguments |
|
|
|
|
|
|
|
|
|
Module Contents
- dicee.static_preprocess_funcs.enable_log = False
- dicee.static_preprocess_funcs.timeit(func)
- dicee.static_preprocess_funcs.preprocesses_input_args(args)
Sanity Checking in input arguments
- dicee.static_preprocess_funcs.create_constraints(triples: numpy.ndarray) Tuple[dict, dict, dict, dict]
Extract domains and ranges of relations
(2) Store a mapping from relations to entities that are outside of the domain and range. Create constraints entities based on the range of relations :param triples: :return:
- dicee.static_preprocess_funcs.get_er_vocab(data)
- dicee.static_preprocess_funcs.get_re_vocab(data)
- dicee.static_preprocess_funcs.get_ee_vocab(data)
- dicee.static_preprocess_funcs.mapping_from_first_two_cols_to_third(train_set_idx)