Mercurial > ift6266
comparison baseline/log_reg/log_reg.py @ 241:c24020aa38ac
fix call to log_reg
author | Myriam Cote <cotemyri@iro.umontreal.ca> |
---|---|
date | Tue, 16 Mar 2010 11:21:55 -0400 |
parents | 7be1f086a89e |
children | a92ec9939e4f |
comparison
equal
deleted
inserted
replaced
240:f213a0fb2b08 | 241:c24020aa38ac |
---|---|
306 def jobman_log_reg(state, channel): | 306 def jobman_log_reg(state, channel): |
307 print state | 307 print state |
308 (validation_error, test_error, nb_exemples, time) = log_reg( learning_rate = state.learning_rate, \ | 308 (validation_error, test_error, nb_exemples, time) = log_reg( learning_rate = state.learning_rate, \ |
309 nb_max_examples = state.nb_max_examples, \ | 309 nb_max_examples = state.nb_max_examples, \ |
310 batch_size = state.batch_size,\ | 310 batch_size = state.batch_size,\ |
311 dataset_name = state.dataset_name, \ | |
312 image_size = state.image_size, \ | 311 image_size = state.image_size, \ |
313 nb_class = state.nb_class, \ | 312 nb_class = state.nb_class, \ |
314 patience = state.patience, \ | 313 patience = state.patience, \ |
315 patience_increase = state.patience_increase, \ | 314 patience_increase = state.patience_increase, \ |
316 improvement_threshold = state.improvement_threshold ) | 315 improvement_threshold = state.improvement_threshold ) |
316 | |
317 | |
317 print state | 318 print state |
318 state.validation_error = validation_error | 319 state.validation_error = validation_error |
319 state.test_error = test_error | 320 state.test_error = test_error |
320 state.nb_exemples = nb_exemples | 321 state.nb_exemples = nb_exemples |
321 state.time = time | 322 state.time = time |