Mercurial > pylearn
changeset 76:ccd6ae89a7c4
merge
author | bengioy@bengiomac.local |
---|---|
date | Sat, 03 May 2008 22:00:37 -0400 |
parents | 90e4c0784d6e (current diff) b4159cbdc06b (diff) |
children | 1e2bb5bad636 |
files | |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/dataset.py Sat May 03 21:59:26 2008 -0400 +++ b/dataset.py Sat May 03 22:00:37 2008 -0400 @@ -229,7 +229,7 @@ self.next_row -= self.L return DataSetFields(MinibatchDataSet(minibatch,self.dataset.valuesVStack, self.dataset.valuesHStack), - minibatch.keys())) + minibatch.keys()) minibatches_fieldnames = None @@ -348,7 +348,7 @@ """ Return a DataSetFields object associated with this dataset. """ - return DataSetFields(self,*fieldnames) + return DataSetFields(self,fieldnames) def __getitem__(self,i): """ @@ -548,7 +548,7 @@ the syntax used for DataSets, the | concatenates the fields and the & concatenates the examples. """ - def __init__(self,dataset,*fieldnames): + def __init__(self,dataset,fieldnames): original_dataset=dataset if not fieldnames: fieldnames=dataset.fieldNames() @@ -1033,7 +1033,7 @@ the input_dataset.values{H,V}Stack functions are used by default. """ def __init__(self,input_dataset,function,output_names,minibatch_mode=True, - values_hstack=None,values_vstack, + values_hstack=None,values_vstack=None, description=None,fieldtypes=None): """ Constructor takes an input dataset that has as many fields as the function