MCPcopy Create free account

hub / github.com/HICAI-ZJU/KANO / functions

Functions355 in github.com/HICAI-ZJU/KANO

MethodgetQueryForAtomicObjectPropertyEquivalences
(self)
KGembedding/owl2vec_star/lib/Onto_Projection.py:991
MethodgetQueryForAtomicObjectPropertySubsumptions
(self)
KGembedding/owl2vec_star/lib/Onto_Projection.py:959
MethodgetQueryForComplexRestrictionsRHSEquivalent
(self, prop_uri)
KGembedding/owl2vec_star/lib/Onto_Projection.py:1322
MethodgetQueryForComplexRestrictionsRHSSubClassOf
(self, prop_uri)
KGembedding/owl2vec_star/lib/Onto_Projection.py:1288
MethodgetQueryForIndividualClassTypes
(self, ind_iri)
KGembedding/owl2vec_star/lib/Onto_Projection.py:1065
MethodgetQueryForIndividualSameAs
(self, ind_iri)
KGembedding/owl2vec_star/lib/Onto_Projection.py:1086
MethodgetRangeURIs
(self, prop)
KGembedding/owl2vec_star/lib/Onto_Access.py:271
Methodget_b2b
Computes (if necessary) and returns a mapping from each bond index to all the incoming bond indices. :return: A PyTorch tensor conta
chemprop/features/featurization.py:407
Functionget_embs
Makes predictions. If smiles is provided, makes predictions on smiles. Otherwise makes predictions on args.test_data. :param args: Arguments
chemprop/train/make_predictions.py:85
Functionget_num_tasks
Gets the number of tasks in a data CSV file. :param path: Path to a CSV file. :return: The number of tasks.
chemprop/data/utils.py:45
Functionget_rdf2vec_embed
(onto_file, walker_type, walk_depth, embed_size, classes)
KGembedding/owl2vec_star/lib/RDF2Vec_Embed.py:38
Functionget_smiles
Returns the smiles strings from a data CSV file (assuming the first line is a header). :param path: Path to a CSV file. :param header: W
chemprop/data/utils.py:55
MethodisSubClassOf
(self, sub_cls1, sup_cls2)
KGembedding/owl2vec_star/lib/Onto_Access.py:230
MethodisSuperClassOf
(self, sup_cls1, sub_cls2)
KGembedding/owl2vec_star/lib/Onto_Access.py:237
Functionload_task_names
Loads the task names a model was trained with. :param path: Path where model checkpoint is saved. :return: The task names that the model
chemprop/utils.py:148
Functionlongest_substring
(str1, str2)
chemprop/torchlight/utils.py:85
Functionmorgan_binary_features_generator
Generates a binary Morgan fingerprint for a molecule. :param mol: A molecule (i.e. either a SMILES string or an RDKit molecule). :param
chemprop/features/features_generators.py:53
Functionmorgan_counts_features_generator
Generates a counts-based Morgan fingerprint for a molecule. :param mol: A molecule (i.e. either a SMILES string or an RDKit molecule). :
chemprop/features/features_generators.py:73
Functionmse
Computes the mean squared error. :param targets: A list of targets. :param preds: A list of predictions. :return: The computed mse.
chemprop/utils.py:201
Methodnum_tasks
Returns the number of prediction tasks. :return: The number of tasks.
chemprop/data/data.py:79
Functionpad
syntax "[0] * int" only works properly for Python 3.5+ Note that in testing time, the length of a sentence might exceed the pre-defined m
chemprop/torchlight/utils.py:97
Functionparse_predict_args
()
chemprop/parsing.py:245
Functionpersonal_display_settings
Pandas Doc https://pandas.pydata.org/pandas-docs/stable/generated/pandas.set_option.html NumPy Doc -
chemprop/torchlight/utils.py:14
Functionprc_auc
Computes the area under the precision-recall curve. :param targets: A list of binary targets. :param preds: A list of prediction probabi
chemprop/utils.py:178
Methodprint_walks
(self, graph, instances, file_name)
KGembedding/owl2vec_star/rdf2vec/walkers/walker.py:8
Functionrdkit_2d_features_generator
Generates RDKit 2D features for a molecule. :param mol: A molecule (i.e. either a SMILES string or an RDKit molecule). :retu
chemprop/features/features_generators.py:96
Functionregister_features_generator
Registers a features generator. :param features_generator_name: The name to call the FeaturesGenerator. :return: A decorator which will
chemprop/features/features_generators.py:15
Methodremove_edge
Remove the edge v1 -> v2 if present.
KGembedding/owl2vec_star/rdf2vec/graph.py:49
Methodreset
Resets the metric to to it's initial state. This is called at the start of each epoch.
chemprop/torchlight/metric.py:23
Methodreset
(self)
chemprop/torchlight/metric.py:66
Methodreset
(self)
chemprop/torchlight/metric.py:102
Functionreset_time
()
chemprop/torchlight/logger.py:67
Functionrmse
Computes the root mean squared error. :param targets: A list of targets. :param preds: A list of predictions. :return: The computed
chemprop/utils.py:190
Methodrun_decision_tree
(self)
KGembedding/owl2vec_star/lib/Evaluator.py:102
Methodrun_linear_svc
(self)
KGembedding/owl2vec_star/lib/Evaluator.py:94
Methodrun_logistic_regression
(self)
KGembedding/owl2vec_star/lib/Evaluator.py:80
Methodrun_mlp
(self)
KGembedding/owl2vec_star/lib/Evaluator.py:52
Methodrun_random_forest
(self)
KGembedding/owl2vec_star/lib/Evaluator.py:24
Methodrun_sgd_log
(self)
KGembedding/owl2vec_star/lib/Evaluator.py:109
Methodrun_svm
(self)
KGembedding/owl2vec_star/lib/Evaluator.py:87
Functionsample_from_iterable
(x)
KGembedding/owl2vec_star/rdf2vec/walkers/community.py:15
Functionsave_features
Saves features to a compressed .npz file with array name "features". :param path: Path to a .npz file where the features will be saved.
chemprop/features/utils.py:9
Methodset_embedding
(self)
chemprop/torchlight/vocab.py:136
Functionset_seed
Freeze every seed for reproducibility. torch.cuda.manual_seed_all is useful when using random generation on GPUs. e.g. torch.cuda.FloatTe
chemprop/torchlight/utils.py:30
Methodset_targets
Sets the targets of a molecule. :param targets: A list of floats containing the targets.
chemprop/data/data.py:87
Functionshow_params
Show model parameters for logging.
chemprop/torchlight/utils.py:77
Functionstandalone
(ontology_file, embedding_dir, config_file, uri_doc, lit_doc, mix_doc)
KGembedding/owl2vec_star/cli.py:28
Functionstandalone_multi
(ontology_dir, embedding_dir, config_file, uri_doc, lit_doc, mix_doc)
KGembedding/owl2vec_star/cli.py:80
Functionto_cuda
Move Tensors to CUDA. If no device provided, default to the first card in CUDA_VISIBLE_DEVICES.
chemprop/torchlight/utils.py:107
Methodto_json
(self)
chemprop/torchlight/vocab.py:133
Functiontopk_accuracy
(inputs, labels, k=1, largest=True)
chemprop/torchlight/utils.py:159
Methodupdate
(self, output)
chemprop/torchlight/metric.py:70
Methodupdate
(self, output)
chemprop/torchlight/metric.py:106
Functionvalidate_data
Validates a data CSV file, returning a set of errors. :param data_path: Path to a data CSV file. :return: A set of error messages.
chemprop/data/utils.py:343
Methodvisualise
Visualise the graph using networkx & matplotlib.
KGembedding/owl2vec_star/rdf2vec/graph.py:62
← previous301–355 of 355, ranked by callers