Skip to content

Instantly share code, notes, and snippets.

@galvanic
Created September 12, 2016 13:18
Show Gist options
  • Select an option

  • Save galvanic/c76f9cf0bfdc35c430e56da7f66ec77f to your computer and use it in GitHub Desktop.

Select an option

Save galvanic/c76f9cf0bfdc35c430e56da7f66ec77f to your computer and use it in GitHub Desktop.
default_parameters:
experiment: offline training
dataset_filename: trec2007-1607252257
label_type:
ham_label: -1
spam_label: 1
classifier:
type: null
training_parameters:
gradient_descent_method: mini-batch
batch_size: 10
max_epochs: 100
initial_weights: null
convergence_look_back: 5
divergence_threshold: 1.
testing_parameters: {}
attack:
type: null
parameters: {}
parameter_ranges:
- name: classifier
key: [classifier, type]
values:
- adaline
- logistic regression
- naive bayes
- name: attack
key: [attack, type]
values:
- dictionary
- ham
- name: '% poisoned'
key: [attack, parameters, percentage_samples_poisoned]
values:
- .0
- .2
- .5
- name: 'attacker knowledge'
key: [attack, parameters, percentage_features_poisoned]
values:
- .20
- .50
- .90
- .95
- .98
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
default_parameters:
experiment: offline training
dataset_filename: trec2007-1607252257
label_type:
ham_label: -1
spam_label: 1
classifier:
type: null
training_parameters:
gradient_descent_method: mini-batch
batch_size: 10
max_epochs: 100
initial_weights: null
convergence_look_back: 5
divergence_threshold: 1.
testing_parameters: {}
attack:
type: null
parameters: {}
parameter_ranges:
- name: classifier
key: [classifier, type]
values:
- adaline
- logistic regression
- naive bayes
- name: attack
key: [attack, type]
values:
- dictionary
- ham
- name: '% poisoned'
key: [attack, parameters, percentage_samples_poisoned]
values:
- .0
- .2
- .5
- name: 'attacker knowledge'
key: [attack, parameters, percentage_features_poisoned]
values:
- .20
- .50
- .90
- .95
- .98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment