SYMBOL INDEX (72 symbols across 10 files) FILE: experiments.py function _transformations_experiment (line 28) | def _transformations_experiment(dataset_load_fn, dataset_name, single_cl... function _train_ocsvm_and_score (line 129) | def _train_ocsvm_and_score(params, xtrain, test_labels, xtest): function _raw_ocsvm_experiment (line 133) | def _raw_ocsvm_experiment(dataset_load_fn, dataset_name, single_class_ind): function _cae_ocsvm_experiment (line 163) | def _cae_ocsvm_experiment(dataset_load_fn, dataset_name, single_class_in... function _dsebm_experiment (line 210) | def _dsebm_experiment(dataset_load_fn, dataset_name, single_class_ind, g... function _dagmm_experiment (line 244) | def _dagmm_experiment(dataset_load_fn, dataset_name, single_class_ind, g... function _adgan_experiment (line 294) | def _adgan_experiment(dataset_load_fn, dataset_name, single_class_ind, g... function run_experiments (line 337) | def run_experiments(load_dataset_fn, dataset_name, q, n_classes): function create_auc_table (line 393) | def create_auc_table(metric='roc_auc'): FILE: intuition_experiments.py function affine (line 64) | def affine(x, is_flip, k_rotate): function optimize_anomaly_images (line 81) | def optimize_anomaly_images(): function optimize_normal_images (line 112) | def optimize_normal_images(): FILE: models/adgan.py class GradPenLayer (line 11) | class GradPenLayer(Layer): method call (line 12) | def call(self, inputs, **kwargs): method compute_output_shape (line 19) | def compute_output_shape(self, input_shape): function train_wgan_with_grad_penalty (line 23) | def train_wgan_with_grad_penalty(prior_gen, generator, data_gen, critic,... function scores_from_adgan_generator (line 100) | def scores_from_adgan_generator(x_test, prior_gen, generator, n_seeds=8,... FILE: models/dagmm.py class GaussianMixtureComponent (line 8) | class GaussianMixtureComponent(Layer): method __init__ (line 9) | def __init__(self, lambd_diag=0.005, **kwargs): method build (line 13) | def build(self, input_shapes): method call (line 29) | def call(self, inputs, training=None): method _calc_component_density (line 53) | def _calc_component_density(z, phi, mu, sigma): method compute_output_shape (line 62) | def compute_output_shape(self, input_shapes): function create_dagmm_model (line 67) | def create_dagmm_model(encoder, decoder, estimation_encoder, lambd_diag=... FILE: models/dsebm.py class Prior (line 6) | class Prior(Layer): method __init__ (line 7) | def __init__(self, method build (line 21) | def build(self, input_shape): method compute_output_shape (line 29) | def compute_output_shape(self, input_shape): method call (line 32) | def call(self, x, **kwargs): function create_energy_model (line 36) | def create_energy_model(encoder_mdl): function create_reconstruction_model (line 46) | def create_reconstruction_model(energy_mdl): FILE: models/encoders_decoders.py function conv_encoder (line 6) | def conv_encoder(input_side=32, n_channels=3, representation_dim=256, re... function conv_decoder (line 42) | def conv_decoder(output_side=32, n_channels=3, representation_dim=256, a... FILE: models/wide_residual_network.py class SGDTorch (line 12) | class SGDTorch(SGD): method get_updates (line 14) | def get_updates(self, loss, params): function _get_channels_axis (line 43) | def _get_channels_axis(): function _conv_kernel_initializer (line 47) | def _conv_kernel_initializer(shape, dtype=None): function _dense_kernel_initializer (line 53) | def _dense_kernel_initializer(shape, dtype=None): function batch_norm (line 59) | def batch_norm(): function conv2d (line 64) | def conv2d(output_channels, kernel_size, strides=1): function dense (line 69) | def dense(output_units): function _add_basic_block (line 74) | def _add_basic_block(x_in, out_channels, strides, dropout_rate=0.0): function _add_conv_group (line 89) | def _add_conv_group(x_in, out_channels, n, strides, dropout_rate=0.0): function create_wide_residual_network (line 96) | def create_wide_residual_network(input_shape, num_classes, depth, widen_... FILE: multiclass_experiment.py function load_tinyimagenet (line 16) | def load_tinyimagenet(tinyimagenet_path='./'): function train_cifar10 (line 28) | def train_cifar10(): function train_cifar10_transformations (line 57) | def train_cifar10_transformations(): function transformation_cifar10_vs_tinyimagenet (line 104) | def transformation_cifar10_vs_tinyimagenet(): FILE: transformations.py class AffineTransformation (line 8) | class AffineTransformation(object): method __init__ (line 9) | def __init__(self, flip, tx, ty, k_90_rotate): method __call__ (line 15) | def __call__(self, x): class AbstractTransformer (line 27) | class AbstractTransformer(abc.ABC): method __init__ (line 28) | def __init__(self): method n_transforms (line 33) | def n_transforms(self): method _create_transformation_list (line 37) | def _create_transformation_list(self): method transform_batch (line 40) | def transform_batch(self, x_batch, t_inds): class Transformer (line 49) | class Transformer(AbstractTransformer): method __init__ (line 50) | def __init__(self, translation_x=8, translation_y=8): method _create_transformation_list (line 55) | def _create_transformation_list(self): class SimpleTransformer (line 67) | class SimpleTransformer(AbstractTransformer): method _create_transformation_list (line 68) | def _create_transformation_list(self): FILE: utils.py function resize_and_crop_image (line 10) | def resize_and_crop_image(input_file, output_side_length, greyscale=False): function normalize_minus1_1 (line 29) | def normalize_minus1_1(data): function get_channels_axis (line 33) | def get_channels_axis(): function load_fashion_mnist (line 42) | def load_fashion_mnist(): function load_mnist (line 51) | def load_mnist(): function load_cifar10 (line 60) | def load_cifar10(): function load_cifar100 (line 67) | def load_cifar100(label_mode='coarse'): function save_roc_pr_curve_data (line 74) | def save_roc_pr_curve_data(scores, labels, file_path): function create_cats_vs_dogs_npz (line 103) | def create_cats_vs_dogs_npz(cats_vs_dogs_path='./'): function load_cats_vs_dogs (line 124) | def load_cats_vs_dogs(cats_vs_dogs_path='./'): function get_class_name_from_index (line 134) | def get_class_name_from_index(index, dataset_name):