Skip to content

Latest commit

 

History

History

without_config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Step 1: Write and Test Your Function​

Changes

  • Create functions for code
  • Turn values that are frequently changed into parameters of functions
  • Add tests

Advantages

  • Easier to test functions

Disadvantages

  • Need to dig into the code the change the parameters

How to Run Code in This Step

Go to the step1 directory:

$ cd step1

To process the data, type:

$ python src/process_data.py

To segment the data, type:

$ python src/segment.py

Next step

Go to step2.