1 00:00:07,850 --> 00:00:12,435 Hello and welcome to Course Two in your end-of-course project. 2 00:00:12,435 --> 00:00:14,810 In this project, you'll be building a program in 3 00:00:14,810 --> 00:00:18,905 a few steps to perform what's called a sentiment analysis. 4 00:00:18,905 --> 00:00:21,890 Programs like these are widely used in a bunch of 5 00:00:21,890 --> 00:00:24,950 different companies and different situations. 6 00:00:24,950 --> 00:00:28,355 In this case, you'll be working with Twitter data, 7 00:00:28,355 --> 00:00:30,920 although it's fake Twitter data. 8 00:00:30,920 --> 00:00:37,010 You will eventually make a CSV file and use that to produce a graph of your results, 9 00:00:37,010 --> 00:00:39,665 which is a super useful way to visualize data and 10 00:00:39,665 --> 00:00:42,635 share results of programs you build with other people. 11 00:00:42,635 --> 00:00:47,585 Then you'd be able to build a program like this one to use real twitter data, 12 00:00:47,585 --> 00:00:50,660 which we can't use in this particular case. 13 00:00:50,660 --> 00:00:54,600 In order to build this analysis in your eventual CSV file, 14 00:00:54,600 --> 00:00:57,620 we're going to take you through a series of steps to build 15 00:00:57,620 --> 00:01:01,520 different functions in order for you to put together this complete program. 16 00:01:01,520 --> 00:01:03,410 As you proceed through the program, 17 00:01:03,410 --> 00:01:07,880 you should focus on individual steps one by one and make sure that you 18 00:01:07,880 --> 00:01:13,115 understand the instructions for each step before you move forward to writing the code. 19 00:01:13,115 --> 00:01:18,890 You should always focus on one step at a time because thinking about multiple steps in 20 00:01:18,890 --> 00:01:22,070 your program can often get overwhelming and can confuse 21 00:01:22,070 --> 00:01:25,670 you about what code needs to happen first and what should happen later. 22 00:01:25,670 --> 00:01:31,115 So make sure you focus on individual instructions for one step at a time. 23 00:01:31,115 --> 00:01:37,110 Build your plan and translate that into code as you work through the project. 24 00:01:37,110 --> 00:01:40,250 As you think about each step that you have to work through, 25 00:01:40,250 --> 00:01:43,295 you should think carefully about what you know about functions. 26 00:01:43,295 --> 00:01:45,575 What is the input for each function, 27 00:01:45,575 --> 00:01:49,100 what is its return value and what does each function have to 28 00:01:49,100 --> 00:01:53,525 do after the input and before it returns its final output. 29 00:01:53,525 --> 00:01:55,370 As you work on each function, 30 00:01:55,370 --> 00:01:59,600 you'll be able to put them together to build the full project. 31 00:01:59,600 --> 00:02:02,620 Remember also that in each step, 32 00:02:02,620 --> 00:02:05,615 you may need to copy some work you have done 33 00:02:05,615 --> 00:02:10,430 earlier into the next step to come up with a chart like this. 34 00:02:10,430 --> 00:02:14,210 You'll want to make sure that as you work on each concept, 35 00:02:14,210 --> 00:02:19,160 you isolate what you have to do without focusing on earlier pieces. 36 00:02:19,160 --> 00:02:24,485 Focus on the examples from the course that will be useful to you for the project, 37 00:02:24,485 --> 00:02:27,205 for example, function definition, 38 00:02:27,205 --> 00:02:31,670 advanced functions and dealing with files, 39 00:02:31,670 --> 00:02:36,050 since you're creating a file in order to visualize your data here. 40 00:02:36,050 --> 00:02:41,060 I also think that this project is a particularly exciting way to think about how 41 00:02:41,060 --> 00:02:45,935 you can apply these concepts to things you might want to do in real life, so to speak. 42 00:02:45,935 --> 00:02:49,955 Understanding different things about how programs can apply to you. 43 00:02:49,955 --> 00:02:53,290 So good luck and have fun.