a3c24e5e3222592a0c4e002ac47e3b7e048327d1,tgen/tgen_random.py,,,#,59
Before Change
if __name__ == "__main__":
opts, files = getopt(sys.argv[1:], "n:")
num_trees = 10
for opt, arg in opts:
if opt == "-n":
num_trees = int(arg)
if len(files) != 1:
sys.exit(__doc__)
tgen = RandomTTreeGenerator()
After Change
tgen.train(fname_da_train, fname_ttrees_train)
// generate
log_info("Generating...")
doc = None
das = tgen.read_das(fname_da_test)
for da in das:
doc = tgen.generate_tree(da, doc)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: UFAL-DSG/tgen
Commit Name: a3c24e5e3222592a0c4e002ac47e3b7e048327d1
Time: 2014-03-26
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/tgen_random.py
Class Name:
Method Name:
Project Name: analysiscenter/batchflow
Commit Name: 222491435716cc587bde288964d65061847ecfc1
Time: 2018-05-04
Author: a.kozhevin@analysiscenter.ru
File Name: dataset/research/workers.py
Class Name: PipelineWorker
Method Name: run_job
Project Name: analysiscenter/batchflow
Commit Name: 6ada8256999d2231fc061e78f02fb492bacf63eb
Time: 2018-02-27
Author: a.kozhevin@analysiscenter.ru
File Name: dataset/research/workers.py
Class Name: PipelineWorker
Method Name: run_task