Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/criteo-research/CausE
/ functions
Functions
27 in github.com/criteo-research/CausE
⨍
Functions
27
◇
Types & classes
3
↓ 2 callers
Method
__init__
(self, FLAGS)
src/models.py:142
↓ 2 callers
Function
generate_bootstrap_batch
Generate the IDs for the bootstap
src/utils.py:48
↓ 1 callers
Method
add_average_predictor
Add the average predictors to the graph
src/models.py:111
↓ 1 callers
Method
add_optimizer
Add the required optimiser to the graph
src/models.py:93
↓ 1 callers
Method
add_summaries
Add the required summaries to the graph
src/models.py:123
↓ 1 callers
Method
build_graph
Build the main tensorflow graph with embedding layers
src/models.py:41
↓ 1 callers
Function
compute_empircal_cr
Compute the cr from the empirical data
src/utils.py:56
↓ 1 callers
Method
create_control_embeddings
Create the control embeddings
src/models.py:67
↓ 1 callers
Method
create_counter_factual_loss
Create the counter factual loss to add to main loss
src/models.py:72
↓ 1 callers
Method
create_losses
Create the losses
src/models.py:77
↓ 1 callers
Function
create_movielens_userproduct_matrix
Create the matrix from the movielens dataset
src/Data/dataset_loading.py:53
↓ 1 callers
Method
create_placeholders
Create the placeholders to be used
src/models.py:30
↓ 1 callers
Function
load_movielens10M
Load the movielens dataset from disk
src/Data/dataset_loading.py:30
Method
__init__
(self, FLAGS)
src/models.py:7
Method
__init__
(self, FLAGS)
src/models.py:171
Function
compute_2i_regularization_id
Compute the ID for the regularization for the 2i approach
src/utils.py:66
Function
compute_bootstraps
Compute the bootstraps for the 0 indexed model
src/utils.py:140
Function
compute_bootstraps_2i
Compute the bootstraps for the 2i model
src/utils.py:92
Function
compute_treatment_or_control
Compute if product is in treatment or control
src/utils.py:79
Method
create_control_embeddings
Create the control embeddings
src/models.py:146
Method
create_control_embeddings
Create the control embeddings
src/models.py:175
Method
create_counter_factual_loss
Create the counter factual loss to add to main loss
src/models.py:153
Method
create_counter_factual_loss
Create the counter factual loss to add to main loss
src/models.py:182
Function
load_movielens
Load the movielens 100K dataset from disk
src/Data/dataset_loading.py:9
Function
load_netflix_dataset
(dataset_location)
src/Data/dataset_loading.py:81
Function
load_test_dataset
Load the test and validation datasets
src/utils.py:29
Function
load_train_dataset
Load the training data using TF Dataset API
src/utils.py:10