MCPcopy Create free account

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

Functions355 in github.com/HICAI-ZJU/KANO

Method__getitem__
(self, item)
chemprop/torchlight/vocab.py:23
Method__getitem__
Looks up indices of text tokens according to the vocabulary. If `unknown_token` of the vocabulary is None, looking up unknown tokens r
chemprop/torchlight/vocab.py:95
Method__init__
Initializes the learning rate scheduler. :param optimizer: A PyTorch optimizer. :param warmup_epochs: The number of epochs d
chemprop/nn_utils.py:147
Method__init__
Initializes a MoleculeDatapoint, which contains a single molecule. :param line: A list of strings generated by separating a line in
chemprop/data/data.py:18
Method__init__
Initializes a MoleculeDataset, which contains a list of MoleculeDatapoints (i.e. a list of molecules). :param data: A list of Molecu
chemprop/data/data.py:99
Method__init__
Initialize StandardScaler, optionally with means and standard deviations precomputed. :param means: An optional 1D numpy array of pr
chemprop/data/scaler.py:13
Method__init__
Computes the graph structure and featurization of a molecule. :param smiles: A smiles string. :param args: Arguments.
chemprop/features/featurization.py:182
Method__init__
(self, mol_graphs, args: Namespace)
chemprop/features/featurization.py:335
Method__init__
:param args: A :class:`~chemprop.args.TrainArgs` object containing model arguments. :param atom_fdim: Atom feature vector dimension.
chemprop/models/mpn.py:18
Method__init__
(self, args: Namespace, atom_fdim: int, bond_fdim: int)
chemprop/models/cmpn.py:16
Method__init__
(self, hidden_size=300)
chemprop/models/cmpn.py:155
Method__init__
(self, args)
chemprop/models/model.py:170
Method__init__
(self, args)
chemprop/models/model.py:197
Method__init__
(self, args, self_output)
chemprop/models/model.py:225
Method__init__
(self, loss_computer: str, temperature: float, args)
chemprop/models/loss/loss.py:11
Method__init__
(self, device)
chemprop/models/loss/loss_computer.py:7
Method__init__
(self)
chemprop/torchlight/metric.py:61
Method__init__
precision = tp / tp + fp recall = tp / tp + fn
chemprop/torchlight/metric.py:92
Method__init__
(self)
chemprop/torchlight/logger.py:20
Method__init__
no dropout support batch_first support deprecated, the input and output tensors are provided as (batch, seq_len, feature).
chemprop/torchlight/module.py:15
Method__init__
(self, default)
chemprop/torchlight/vocab.py:19
Method__init__
Constructor
KGembedding/owl2vec_star/lib/Onto_Access.py:335
Method__init__
Constructor
KGembedding/owl2vec_star/lib/Onto_Access.py:361
Method__init__
Constructor
KGembedding/owl2vec_star/lib/Onto_Annotations.py:14
Method__init__
(self, valid_samples, test_samples, train_X, train_y)
KGembedding/owl2vec_star/lib/Evaluator.py:14
Method__init__
(self, urionto, reasoner=Reasoner.NONE, only_taxonomy=False, bidirectional_taxonomy=False, include_literals=Tr
KGembedding/owl2vec_star/lib/Onto_Projection.py:51
Method__init__
(self, name, predicate=False, _from=None, _to=None)
KGembedding/owl2vec_star/rdf2vec/graph.py:7
Method__init__
(self)
KGembedding/owl2vec_star/rdf2vec/graph.py:32
Method__init__
(self, vector_size=500, walkers=RandomWalker(2, float('inf')), window=5, sg=1, max_iter=10, n
KGembedding/owl2vec_star/rdf2vec/embed.py:61
Method__init__
(self, depth, walks_per_graph, hop_prob=0.1, resolution=1)
KGembedding/owl2vec_star/rdf2vec/walkers/community.py:25
Method__init__
(self, depth, walks_per_graph, wl_iterations=4)
KGembedding/owl2vec_star/rdf2vec/walkers/weisfeiler_lehman.py:8
Method__init__
(self, depth, walks_per_graph, n=3, wildcards=None)
KGembedding/owl2vec_star/rdf2vec/walkers/ngrams.py:8
Method__init__
(self, depth, walks_per_graph, wildcards=[1])
KGembedding/owl2vec_star/rdf2vec/walkers/wildcard.py:9
Method__init__
(self, depth, walks_per_graph)
KGembedding/owl2vec_star/rdf2vec/walkers/walklets.py:7
Method__init__
(self, depth, walks_per_graph)
KGembedding/owl2vec_star/rdf2vec/walkers/random.py:8
Method__init__
(self, depth, walks_per_graph)
KGembedding/owl2vec_star/rdf2vec/walkers/anonymous.py:8
Method__init__
(self, depth, walks_per_graph, freq_thresholds=[0.001])
KGembedding/owl2vec_star/rdf2vec/walkers/halk.py:8
Method__init__
(self, depth, walks_per_graph)
KGembedding/owl2vec_star/rdf2vec/walkers/walker.py:4
Method__len__
Returns the length of the dataset (i.e. the number of molecules). :return: The length of the dataset.
chemprop/data/data.py:229
Method__len__
(self)
chemprop/torchlight/vocab.py:89
Method__lt__
(self, other)
KGembedding/owl2vec_star/rdf2vec/graph.py:27
Function__perform_joint_ontology_embedding
(config)
KGembedding/owl2vec_star/owl2vec_star.py:339
Method__repr__
(self)
chemprop/torchlight/vocab.py:92
Functionaccuracy
Computes the accuracy of a binary prediction task using a given threshold for generating hard predictions. Alternatively, compute accuracy fo
chemprop/utils.py:212
Functioncat_ragged_tensors
(left, right)
chemprop/torchlight/utils.py:134
Functioncheck_random_state
(seed)
KGembedding/owl2vec_star/rdf2vec/walkers/community.py:11
Functionclear_cache
Clears featurization cache.
chemprop/features/featurization.py:43
Methodcompute
(self)
chemprop/torchlight/metric.py:77
Methodcompute
(self)
chemprop/torchlight/metric.py:111
Functioncompute_molecule_vectors
Computes the molecule vectors output from the last layer of a MoleculeModel. :param model: A MoleculeModel. :param data: A MoleculeDatas
chemprop/nn_utils.py:99
Functioncreate_logger
Creates a logger with a stream handler and two file handlers. The stream handler prints to the screen depending on the value of `quiet`.
chemprop/utils.py:301
Functioncross_validate
k-fold cross validation
chemprop/train/cross_validate.py:13
Functioncross_validate_random_forest
(args: Namespace, logger: Logger = None)
chemprop/random_forest.py:133
Functiondecorator
(features_generator: FeaturesGenerator)
chemprop/features/features_generators.py:22
Functionendpoint_to_kg
Generate KnowledgeGraph using SPARQL Endpoint.
KGembedding/owl2vec_star/rdf2vec/converters.py:33
Methodextract
(self, graph, instances)
KGembedding/owl2vec_star/rdf2vec/walkers/community.py:100
Methodextract
(self, graph, instances)
KGembedding/owl2vec_star/rdf2vec/walkers/weisfeiler_lehman.py:42
Methodextract
(self, graph, instances)
KGembedding/owl2vec_star/rdf2vec/walkers/ngrams.py:28
Methodextract
(self, graph, instances)
KGembedding/owl2vec_star/rdf2vec/walkers/wildcard.py:13
Methodextract
(self, graph, instances)
KGembedding/owl2vec_star/rdf2vec/walkers/walklets.py:10
Methodextract
(self, graph, instances)
KGembedding/owl2vec_star/rdf2vec/walkers/random.py:42
Methodextract
(self, graph, instances)
KGembedding/owl2vec_star/rdf2vec/walkers/anonymous.py:11
Methodextract
(self, graph, instances)
KGembedding/owl2vec_star/rdf2vec/walkers/halk.py:13
Functionextract_owl2vec_model
(ontology_file, config_file, uri_doc, lit_doc, mix_doc)
KGembedding/owl2vec_star/owl2vec_star.py:24
Methodforward
(self, x)
chemprop/nn_utils.py:95
Methodforward
Encodes a batch of molecular graphs. :param mol_graph: A :class:`~chemprop.features.featurization.BatchMolGraph` representing
chemprop/models/mpn.py:65
Methodforward
(self, prompt: bool, batch, features_batch: List[np.ndarray] = None)
chemprop/models/mpn.py:152
Methodforward
(self, step, mol_graph, features_batch=None)
chemprop/models/cmpn.py:64
Methodforward
(self, node, a_scope)
chemprop/models/cmpn.py:165
Methodforward
(self, step, prompt: bool, batch, features_batch: List[np.ndarray] = None)
chemprop/models/cmpn.py:212
Methodforward
Runs the MoleculeModel on input. :param input: Input. :return: The output of the MoleculeModel.
chemprop/models/model.py:94
Methodforward
(self,fg_hiddens, init_hiddens)
chemprop/models/model.py:181
Methodforward
(self, atom_hiddens: torch.Tensor, fg_states: torch.Tensor, atom_num, fg_indexs)
chemprop/models/model.py:208
Methodforward
(self, hidden_states: torch.Tensor)
chemprop/models/model.py:231
Methodforward
(self, z_i, z_j)
chemprop/models/loss/loss.py:21
Methodforward
(self, z_i, z_j)
chemprop/models/loss/loss.py:38
Methodforward
(self, similarity)
chemprop/models/loss/loss_computer.py:12
Methodforward
(self, similarity)
chemprop/models/loss/loss_computer.py:24
Methodforward
(self, x, x_len, hx=None)
chemprop/torchlight/module.py:73
Methodfrom_json
(cls, json_str)
chemprop/torchlight/vocab.py:130
MethodgeInverses
(self, prop)
KGembedding/owl2vec_star/lib/Onto_Access.py:285
MethodgetAncestorsURIs
(self,cls)
KGembedding/owl2vec_star/lib/Onto_Access.py:346
MethodgetAncestorsURIsMinusClass
(self,cls)
KGembedding/owl2vec_star/lib/Onto_Access.py:180
MethodgetClassByURI
(self, uri)
KGembedding/owl2vec_star/lib/Onto_Access.py:111
MethodgetClassIRIsContainingName
(self, name)
KGembedding/owl2vec_star/lib/Onto_Access.py:169
MethodgetClassObjectsContainingName
(self, name)
KGembedding/owl2vec_star/lib/Onto_Access.py:158
MethodgetDatatypeRangeNames
(self, prop)
KGembedding/owl2vec_star/lib/Onto_Access.py:260
MethodgetDescendantNames
(self,cls)
KGembedding/owl2vec_star/lib/Onto_Access.py:207
MethodgetDescendantNamesForClassName
(self, cls_name)
KGembedding/owl2vec_star/lib/Onto_Access.py:217
MethodgetDescendantURIs
(self,cls)
KGembedding/owl2vec_star/lib/Onto_Access.py:198
MethodgetDomainURIs
(self, prop)
KGembedding/owl2vec_star/lib/Onto_Access.py:245
MethodgetEntityByName
(self, name)
KGembedding/owl2vec_star/lib/Onto_Access.py:143
MethodgetEntityByURI
(self, uri)
KGembedding/owl2vec_star/lib/Onto_Access.py:130
MethodgetGraph
(self)
KGembedding/owl2vec_star/lib/Onto_Access.py:309
MethodgetOntologyIRI
(self)
KGembedding/owl2vec_star/lib/Onto_Access.py:37
MethodgetPreferredAndSynonymLabelsForEntity
(self, entity_uri)
KGembedding/owl2vec_star/lib/Onto_Projection.py:1481
MethodgetProjectionGraph
(self)
KGembedding/owl2vec_star/lib/Onto_Projection.py:668
MethodgetQueryForAtomicClassSubsumptionsRHS
(self, cls_iri)
KGembedding/owl2vec_star/lib/Onto_Projection.py:947
MethodgetQueryForAtomicDataPropertyEquivalences
(self)
KGembedding/owl2vec_star/lib/Onto_Projection.py:1014
MethodgetQueryForAtomicDataPropertySubsumptions
(self)
KGembedding/owl2vec_star/lib/Onto_Projection.py:967
← previousnext →201–300 of 355, ranked by callers