Skip to content

Commit

Permalink
dl first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pchavanne committed Jun 17, 2016
1 parent 51d5331 commit c78d0cb
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions yadll/hyperparameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,9 @@ class Hyperparameters(object):
Examples
--------
# Create an Hyperparameters instance
>>>hp = Hyperparameters()
# Define an hyperparameter
>>>>hp('batch_size', 500)
# Define an hyperparameter with its default value
# and the possible values for the grid search
>>>hp('n_epochs', 1000, [10, 100, 1000, 1000])
>>>hp = Hyperparameters() # Create an Hyperparameters instance
>>>hp('batch_size', 500) # Define an hyperparameter with its default value
>>>hp('n_epochs', 1000, [10, 100, 1000, 1000]) # default value and range for the grid search
"""
def __init__(self):
Expand Down

0 comments on commit c78d0cb

Please sign in to comment.