278e354ec5e9b2440b2a3b877f627abf4252e70a,python/mead/tasks.py,ClassifierTask,_load_dataset,#ClassifierTask#,398
Before Change
self.test_data = self.reader.load(
self.dataset["test_file"],
self.feat2index,
self.config_params.get("test_batchsz", 1)
)
@exporter
After Change
def _load_dataset(self):
read = self.config_params["reader"] if "reader" in self.config_params else self.config_params["loader"]
sort_key = read.get("sort_key")
bsz, vbsz, tbsz = Task._get_batchsz(self.config_params)
self.train_data = self.reader.load(
self.dataset["train_file"],
self.feat2index,
bsz,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: dpressel/mead-baseline
Commit Name: 278e354ec5e9b2440b2a3b877f627abf4252e70a
Time: 2019-03-19
Author: blester125@users.noreply.github.com
File Name: python/mead/tasks.py
Class Name: ClassifierTask
Method Name: _load_dataset
Project Name: dpressel/mead-baseline
Commit Name: 278e354ec5e9b2440b2a3b877f627abf4252e70a
Time: 2019-03-19
Author: blester125@users.noreply.github.com
File Name: python/mead/tasks.py
Class Name: EncoderDecoderTask
Method Name: _load_dataset
Project Name: dpressel/mead-baseline
Commit Name: 278e354ec5e9b2440b2a3b877f627abf4252e70a
Time: 2019-03-19
Author: blester125@users.noreply.github.com
File Name: python/mead/tasks.py
Class Name: TaggerTask
Method Name: _load_dataset