2017-10-18

Hw3: Typo in the sample output for data generation.

Hi,
As an example, you might run gene_snippet_generator.py with concrete with the values:
python sticky_snippet_generator.py 5 .1 3 test_data.txt This might write to the file test_data.txt the lines:
ABCBDCBDBCADBACBACDADACBDADBACBDACBBADC BACBDCBDBBACBACDADDADBDACBBACACBDACBDCD DDAADCBDBBADACACBDBDACBBABDACBBADACBCBB
Here you have printed only 3 lines. Should the position of the numbers 5 and 3 be swapped in the sample program run statement like below:
As an example, you might run gene_snippet_generator.py with concrete with the values:
python sticky_snippet_generator.py 3 .1 5 test_data.txt
Hi, As an example, you might run gene_snippet_generator.py with concrete with the values: python sticky_snippet_generator.py 5 .1 3 test_data.txt This might write to the file test_data.txt the lines: ABCBDCBDBCADBACBACDADACBDADBACBDACBBADC BACBDCBDBBACBACDADDADBDACBBACACBDACBDCD DDAADCBDBBADACACBDBDACBBABDACBBADACBCBB Here you have printed only 3 lines. Should the position of the numbers 5 and 3 be swapped in the sample program run statement like below: As an example, you might run gene_snippet_generator.py with concrete with the values: python sticky_snippet_generator.py 3 .1 5 test_data.txt

-- Hw3: Typo in the sample output for data generation
Yeah, I agree the first parameter could be 3. I think the other parameter might also have been 3 in my example. I have updated it accordingly.
Best, Chris
Yeah, I agree the first parameter could be 3. I think the other parameter might also have been 3 in my example. I have updated it accordingly. Best, Chris

-- Hw3: Typo in the sample output for data generation
You're also missing the output_file argument in problem description
   
"To generate data for your neural net, I want you to write a program sticky_snippet_generator.py. This program's command line signature should look like:
python sticky_snippet_generator.py num_snippets mutation_rate from_ends"
It should be : python sticky_snippet_generator.py num_snippets mutation_rate from_ends output_file
You're also missing the '''output_file''' argument in problem description "To generate data for your neural net, I want you to write a program sticky_snippet_generator.py. This program's command line signature should look like: python sticky_snippet_generator.py num_snippets mutation_rate from_ends" It should be : python sticky_snippet_generator.py num_snippets mutation_rate from_ends '''output_file'''
2017-10-20

-- Hw3: Typo in the sample output for data generation
fixed
fixed
X