Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KareemYousrii/SPL
/ functions
Functions
1,219 in github.com/KareemYousrii/SPL
⨍
Functions
1,219
◇
Types & classes
137
↳
Endpoints
4
↓ 1 callers
Method
entropy_kld
(self)
C-HMCNN/hmc-utils/compute_mpe.py:105
↓ 1 callers
Method
enumerate_mpe
Enumerate the top-k MPE's of a PSDD AC: TODO evidence.
C-HMCNN/hmc-utils/pypsdd/sdd/psdd.py:263
↓ 1 callers
Method
enumerate_mpe
Enumerate the top-k MPE's of a PSDD AC: TODO evidence.
C-HMCNN/hmc-utils/pypsdd/pypsdd/psdd.py:263
↓ 1 callers
Method
enumerate_mpe
Enumerate the top-k MPE's of a PSDD AC: TODO evidence.
grids/pypsdd/sdd/psdd.py:263
↓ 1 callers
Method
enumerate_mpe
Enumerate the top-k MPE's of a PSDD AC: TODO evidence.
grids/pypsdd/pypsdd/psdd.py:263
↓ 1 callers
Function
evaluate_circuit
(model, gate, cmpe, epoch, data_loader, data_split, prefix)
C-HMCNN/test.py:313
↓ 1 callers
Method
ff_cross_entropy
(self, target, litleaves, log_space=True)
grids/compute_mpe.py:114
↓ 1 callers
Method
ff_ll
Generates a torch arithmetic circuit according to the weighted model counting procedure for this SDD. We populate both the weighted m
grids/pypsdd/pypsdd/sdd.py:716
↓ 1 callers
Function
flatten_nested_string_dict
(nested_dict, prepend='')
WarcraftShortestPath/utils.py:259
↓ 1 callers
Method
forward_pass
(self, input, label, train, i)
WarcraftShortestPath/warcraft_shortest_path/trainers.py:302
↓ 1 callers
Function
from_perm_matrix
Takes a flattened perm matrix, returns a ranking (numbers 1-n)
grids/sushi_data.py:108
↓ 1 callers
Function
gen_grid
Generate nxn grid
grids/generate_graph_data.py:128
↓ 1 callers
Function
gen_grid_removed
Generate a nxn grid, with the listed edge indices removed. The edges are ordered from left to right, then top to bottom, then the same thing sidew
grids/generate_graph_data.py:115
↓ 1 callers
Method
generate_normalized_ac
Generates a torch arithmetic circuit according to the weighted model counting procedure for this SDD. We populate both the weighted m
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:925
↓ 1 callers
Method
generate_normalized_ac
Generates a torch arithmetic circuit according to the weighted model counting procedure for this SDD. We populate both the weighted m
grids/pypsdd/pypsdd/sdd.py:1049
↓ 1 callers
Method
generate_normalized_torch_ac
Generates a torch arithmetic circuit according to the weighted model counting procedure for this SDD. We populate both the weighted m
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:1074
↓ 1 callers
Method
generate_normalized_torch_ac
Generates a torch arithmetic circuit according to the weighted model counting procedure for this SDD. We populate both the weighted m
grids/pypsdd/pypsdd/sdd.py:1227
↓ 1 callers
Method
generate_normalized_torch_ac_stable
Generates a torch arithmetic circuit according to the weighted model counting procedure for this SDD. We populate both the weighted m
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:980
↓ 1 callers
Method
generate_normalized_torch_ac_stable
Generates a torch arithmetic circuit according to the weighted model counting procedure for this SDD. We populate both the weighted m
grids/pypsdd/pypsdd/sdd.py:1104
↓ 1 callers
Method
generate_tf_ac
Generates a tensorflow arithmetic circuit according to the weighted model counting procedure for this SDD. Assumes the SDD is normalized.
C-HMCNN/hmc-utils/pypsdd/sdd/sdd.py:456
↓ 1 callers
Function
get_im
()
WarcraftShortestPath/utils.py:91
↓ 1 callers
Method
get_mpe
Compute the MPE instation given weights associated with literals. Assumes the SDD is normalized.
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:647
↓ 1 callers
Method
get_mpe
Compute the MPE instation given weights associated with literals. Assumes the SDD is normalized.
grids/pypsdd/pypsdd/sdd.py:648
↓ 1 callers
Function
get_neighbors
(i,j,dim, dim2=None)
WarcraftShortestPath/warcraft_shortest_path/metrics.py:47
↓ 1 callers
Function
get_neighbourhood_func
(neighbourhood_fn)
WarcraftShortestPath/data/utils.py:26
↓ 1 callers
Method
get_norm_ac
(self, litleaves)
C-HMCNN/hmc-utils/compute_mpe.py:89
↓ 1 callers
Function
get_solver
(neighbourhood_fn)
WarcraftShortestPath/comb_modules/dijkstra.py:66
↓ 1 callers
Method
get_weighted_mpe
Compute the MPE instation given weights associated with literals. Assumes the SDD is normalized.
C-HMCNN/hmc-utils/pypsdd/sdd/sdd.py:411
↓ 1 callers
Method
get_weighted_mpe
Compute the MPE instation given weights associated with literals. Assumes the SDD is normalized.
grids/pypsdd/sdd/sdd.py:411
↓ 1 callers
Function
global_model_count
(alpha,manager)
WarcraftShortestPath/data/zdd2sdd.py:7
↓ 1 callers
Function
hyperparam_dict_product
(hyperparam_dict)
WarcraftShortestPath/utils.py:332
↓ 1 callers
Function
hyperparam_dict_samples
(hyperparam_dict, num_samples)
WarcraftShortestPath/utils.py:323
↓ 1 callers
Method
infer_datatype
(self, data)
WarcraftShortestPath/logger.py:36
↓ 1 callers
Method
init_weights
(self, m)
C-HMCNN/hmc-utils/GatingFunction.py:59
↓ 1 callers
Method
init_weights
(self, m)
grids/GatingFunction.py:59
↓ 1 callers
Method
initialize
(self)
C-HMCNN/hmc-utils/GatingFunction.py:64
↓ 1 callers
Method
initialize
(self)
grids/GatingFunction.py:64
↓ 1 callers
Method
initialize_node
Initialize the parameters of a PSDD node.
C-HMCNN/hmc-utils/pypsdd/sdd/prior.py:69
↓ 1 callers
Method
initialize_node
Initialize the parameters of a PSDD node.
C-HMCNN/hmc-utils/pypsdd/pypsdd/prior.py:69
↓ 1 callers
Method
initialize_node
Initialize the parameters of a PSDD node.
grids/pypsdd/sdd/prior.py:69
↓ 1 callers
Method
initialize_node
Initialize the parameters of a PSDD node.
grids/pypsdd/pypsdd/prior.py:69
↓ 1 callers
Method
initialize_psdd
(self,root)
C-HMCNN/hmc-utils/pypsdd/pypsdd/prior.py:12
↓ 1 callers
Method
initialize_psdd
(self,root)
grids/pypsdd/sdd/prior.py:12
↓ 1 callers
Method
initialize_psdd
(self,root)
grids/pypsdd/pypsdd/prior.py:12
↓ 1 callers
Method
internal_node
Creates new internal Vtree node with children left and right
C-HMCNN/hmc-utils/pypsdd/sdd/vtree.py:22
↓ 1 callers
Method
internal_node
Creates new internal Vtree node with children left and right
C-HMCNN/hmc-utils/pypsdd/pypsdd/vtree.py:22
↓ 1 callers
Method
internal_node
Creates new internal Vtree node with children left and right
grids/pypsdd/sdd/vtree.py:22
↓ 1 callers
Method
internal_node
Creates new internal Vtree node with children left and right
grids/pypsdd/pypsdd/vtree.py:22
↓ 1 callers
Function
is_json_file
(cmd_line)
WarcraftShortestPath/utils.py:463
↓ 1 callers
Method
is_model
Returns True if inst (of type Inst or InstMap) is a model of the SDD, and False otherwise.
C-HMCNN/hmc-utils/pypsdd/sdd/sdd.py:253
↓ 1 callers
Method
is_model
Returns True if inst (of type Inst or InstMap) is a model of the SDD, and False otherwise.
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:398
↓ 1 callers
Method
is_model
Returns True if inst (of type Inst or InstMap) is a model of the SDD, and False otherwise.
grids/pypsdd/sdd/sdd.py:253
↓ 1 callers
Method
is_model
Returns True if inst (of type Inst or InstMap) is a model of the SDD, and False otherwise.
grids/pypsdd/pypsdd/sdd.py:398
↓ 1 callers
Function
is_parseable_dict
(cmd_line)
WarcraftShortestPath/utils.py:471
↓ 1 callers
Function
is_valid_label_fn_new
(suggested_path)
WarcraftShortestPath/warcraft_shortest_path/metrics.py:59
↓ 1 callers
Method
leaf_node
Creates new leaf Vtree node with variable var
C-HMCNN/hmc-utils/pypsdd/sdd/vtree.py:17
↓ 1 callers
Method
leaf_node
Creates new leaf Vtree node with variable var
C-HMCNN/hmc-utils/pypsdd/pypsdd/vtree.py:17
↓ 1 callers
Method
leaf_node
Creates new leaf Vtree node with variable var
grids/pypsdd/sdd/vtree.py:17
↓ 1 callers
Method
leaf_node
Creates new leaf Vtree node with variable var
grids/pypsdd/pypsdd/vtree.py:17
↓ 1 callers
Method
lit_to_value
(lit)
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:409
↓ 1 callers
Method
lit_to_value
(lit)
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:409
↓ 1 callers
Method
lit_to_value
(lit)
grids/pypsdd/sdd/data.py:409
↓ 1 callers
Method
lit_to_value
(lit)
grids/pypsdd/pypsdd/data.py:409
↓ 1 callers
Method
ll
Calculate the probabilty of particular model of the underlying circuit. Assumes that the circuit is normalized.
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:710
↓ 1 callers
Method
ll
Calculate the probabilty of particular model of the underlying circuit. Assumes that the circuit is normalized.
grids/pypsdd/pypsdd/sdd.py:934
↓ 1 callers
Method
log_likelihood
Computes the log likelihood log Pr(data | theta)
C-HMCNN/hmc-utils/pypsdd/sdd/psdd.py:380
↓ 1 callers
Method
log_likelihood
Computes the log likelihood log Pr(data | theta)
C-HMCNN/hmc-utils/pypsdd/pypsdd/psdd.py:380
↓ 1 callers
Method
log_likelihood
Computes the log likelihood log Pr(data | theta)
grids/pypsdd/sdd/psdd.py:380
↓ 1 callers
Method
log_likelihood
Computes the log likelihood log Pr(data | theta)
grids/pypsdd/pypsdd/psdd.py:380
↓ 1 callers
Method
log_prior
(self,root)
C-HMCNN/hmc-utils/pypsdd/sdd/prior.py:15
↓ 1 callers
Method
log_prior
Computes log Pr(theta)
C-HMCNN/hmc-utils/pypsdd/sdd/prior.py:147
↓ 1 callers
Method
log_prior
(self,root)
C-HMCNN/hmc-utils/pypsdd/pypsdd/prior.py:15
↓ 1 callers
Method
log_prior
Computes log Pr(theta)
C-HMCNN/hmc-utils/pypsdd/pypsdd/prior.py:147
↓ 1 callers
Method
log_prior
(self,root)
grids/pypsdd/sdd/prior.py:15
↓ 1 callers
Method
log_prior
Computes log Pr(theta)
grids/pypsdd/sdd/prior.py:147
↓ 1 callers
Method
log_prior
(self,root)
grids/pypsdd/pypsdd/prior.py:15
↓ 1 callers
Method
log_prior
Computes log Pr(theta)
grids/pypsdd/pypsdd/prior.py:147
↓ 1 callers
Method
log_prior_brute_force
Brute-force (enumerative) computation of the 'uniform smoothing' parameter prior
C-HMCNN/hmc-utils/pypsdd/sdd/prior.py:172
↓ 1 callers
Method
log_prior_brute_force
Brute-force (enumerative) computation of the 'uniform smoothing' parameter prior
C-HMCNN/hmc-utils/pypsdd/pypsdd/prior.py:172
↓ 1 callers
Method
log_prior_brute_force
Brute-force (enumerative) computation of the 'uniform smoothing' parameter prior
grids/pypsdd/sdd/prior.py:172
↓ 1 callers
Method
log_prior_brute_force
Brute-force (enumerative) computation of the 'uniform smoothing' parameter prior
grids/pypsdd/pypsdd/prior.py:172
↓ 1 callers
Function
logaddexp
(x: Tensor, y: Tensor)
grids/pypsdd/pypsdd/sdd.py:74
↓ 1 callers
Function
logsumexp
(tensor: Tensor, dim: int, keepdim: bool = False)
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:12
↓ 1 callers
Function
logsumexp
(tensor: Tensor, dim: int, keepdim: bool = False)
grids/pypsdd/pypsdd/sdd.py:12
↓ 1 callers
Function
main
()
C-HMCNN/train.py:82
↓ 1 callers
Function
main
()
C-HMCNN/test.py:81
↓ 1 callers
Function
main
()
WarcraftShortestPath/main.py:55
↓ 1 callers
Function
main
()
grids/grid_net.py:66
↓ 1 callers
Function
main
(args=sys.argv[1:])
grids/generate_graph_data.py:171
↓ 1 callers
Function
main
()
grids/sushi_net.py:50
↓ 1 callers
Method
mars
Evaluate a PSDD top-down for its marginals.
C-HMCNN/hmc-utils/pypsdd/pypsdd/sdd.py:836
↓ 1 callers
Method
mpe
Compute the most probable explanation (MPE) given evidence. Returns (un-normalized) MPE value and instantiation. If evidence is incon
C-HMCNN/hmc-utils/pypsdd/sdd/psdd.py:214
↓ 1 callers
Method
mpe
Compute the most probable explanation (MPE) given evidence. Returns (un-normalized) MPE value and instantiation. If evidence is incon
C-HMCNN/hmc-utils/pypsdd/pypsdd/psdd.py:214
↓ 1 callers
Method
mpe
Compute the most probable explanation (MPE) given evidence. Returns (un-normalized) MPE value and instantiation. If evidence is incon
grids/pypsdd/sdd/psdd.py:214
↓ 1 callers
Method
mpe
Compute the most probable explanation (MPE) given evidence. Returns (un-normalized) MPE value and instantiation. If evidence is incon
grids/pypsdd/pypsdd/psdd.py:214
↓ 1 callers
Method
mult_weight
(self,weight)
C-HMCNN/hmc-utils/pypsdd/sdd/data.py:440
↓ 1 callers
Method
mult_weight
(self,weight)
C-HMCNN/hmc-utils/pypsdd/pypsdd/data.py:440
↓ 1 callers
Method
mult_weight
(self,weight)
grids/pypsdd/sdd/data.py:440
↓ 1 callers
Method
mult_weight
(self,weight)
grids/pypsdd/pypsdd/data.py:440
↓ 1 callers
Method
negate
Negate a normalized SDD node
C-HMCNN/hmc-utils/pypsdd/sdd/manager.py:110
← previous
next →
501–600 of 1,219, ranked by callers