1 00:00:00,000 --> 00:00:04,660 Okay, looks like everybody's got a seat at this point pretty much. 2 00:00:04,820 --> 00:00:13,480 And I wanted to let you guys know that I will be putting the code on GitHub that goes along with the presentation that I'm giving. 3 00:00:13,480 --> 00:00:21,540 So if any of you are new to data analysis and want some code to get started with, that will be available on GitHub. 4 00:00:26,430 --> 00:00:36,510 And my talk will be a combination of different ways to explore... Oh, sorry about that. 5 00:00:36,510 --> 00:00:37,310 Okay. 6 00:00:40,500 --> 00:00:42,280 Oh, okay. 7 00:00:45,740 --> 00:00:46,960 Okay. 8 00:00:46,960 --> 00:00:56,400 So my talk is going to be a combination of why you should do exploratory analysis and how to do exploratory analysis. 9 00:00:56,420 --> 00:01:14,300 I'm not going to cover everything because that could take weeks, but just a couple of graphs to get everyone started and thinking about why we do exploratory analysis, why it's important, and what happens if you don't do it. 10 00:01:17,460 --> 00:01:27,920 So the biggest problem that I have seen with machine learning is not that we don't have enough algorithms to use or that we don't have enough techniques. 11 00:01:28,380 --> 00:01:31,500 It's that people don't want to start with the basics. 12 00:01:31,500 --> 00:01:33,500 They want to jump right to the exciting stuff. 13 00:01:33,500 --> 00:01:35,900 Oh, let's throw a neural net at it. 14 00:01:35,900 --> 00:01:37,780 Oh, that'll fix it. 15 00:01:38,460 --> 00:01:43,120 Rather than just looking at the basics of the problem. 16 00:01:43,480 --> 00:01:45,540 Kind of like eating your vegetables. 17 00:01:45,540 --> 00:01:51,360 People aren't super excited about vegetables generally, but they help make you stronger and healthy. 18 00:01:51,520 --> 00:01:56,200 And exploratory analysis can also help you make your data healthier. 19 00:02:01,980 --> 00:02:11,200 So some examples of why you want to do exploratory analysis or even just sort of think about what you're doing with your data. 20 00:02:11,720 --> 00:02:25,280 Because this article as an example, they were trying to identify criminals based on facial recognition. 21 00:02:25,280 --> 00:02:28,960 Not a specific criminal, just criminals in general. 22 00:02:28,960 --> 00:02:33,380 That doesn't really sound like a great idea if you think about it. 23 00:02:34,220 --> 00:02:41,100 Especially when you realize that, oh, hey, they weren't even comparing pictures from the same source. 24 00:02:42,300 --> 00:02:50,000 They were comparing mug shots to photos that they found on the internet of smiling people. 25 00:02:52,700 --> 00:03:00,940 So, yeah, I think most of you are probably familiar enough with data science to realize why that's a problem. 26 00:03:02,360 --> 00:03:12,600 But it's easy to just get so involved in what you're doing that you don't stop and think about, is this actually a good idea, what I'm about to do? 27 00:03:16,960 --> 00:03:18,780 And another example 28 00:03:21,900 --> 00:03:24,700 is this one I'm not as sure about. 29 00:03:24,700 --> 00:03:32,480 I think it's an interesting example because there are some diseases that have hyphens in the name. 30 00:03:32,480 --> 00:03:42,460 And it turns out having a bunch of hyphens in the title of your article has a negative correlation with how many citations your paper has. 31 00:03:43,700 --> 00:03:46,400 Well, this could be a thing. 32 00:03:46,920 --> 00:03:57,300 Or it could just be that longer titles generally have more hyphens and also are a more specialized article. 33 00:03:58,020 --> 00:04:05,880 So then it's going to be cited less because you're talking about a niche within medical research. 34 00:04:05,880 --> 00:04:07,820 So maybe, maybe not. 35 00:04:08,440 --> 00:04:11,460 A lot of interesting correlations out there. 36 00:04:11,860 --> 00:04:15,980 Something that I think needs to be looked into more. 37 00:04:15,980 --> 00:04:21,360 But just an example of why we need exploratory analysis. 38 00:04:21,360 --> 00:04:28,980 We need to figure out what's actually there, what might not be important. 39 00:04:35,210 --> 00:04:40,470 And the good news is that there's all sorts of Python packages out there to help you with your data. 40 00:04:41,810 --> 00:04:50,450 And I'm going to go through a couple of my favorites and show you guys some examples of what you can do with them. 41 00:04:53,680 --> 00:05:03,760 So I'm not going to cover a lot about feature extraction just because it's very specific to the kind of data you have. 42 00:05:03,760 --> 00:05:08,750 For my dissertation research, I used inertial sensors. 43 00:05:09,480 --> 00:05:12,320 So I dealt a lot with time series data. 44 00:05:12,320 --> 00:05:15,790 That is completely different from language processing. 45 00:05:16,490 --> 00:05:20,210 So how you extract features from your data. 46 00:05:20,610 --> 00:05:27,630 Look within whatever area of research you're doing, but also other areas that might have similar data. 47 00:05:27,630 --> 00:05:35,170 When I did my research, I used a lot of papers that were from the aviation industry. 48 00:05:35,290 --> 00:05:49,370 Because it turns out it's a lot more important to keep a plane upright while it's flying through the air than it is to make sure that you know the exact position of grandma's ankle when she's walking around the house. 49 00:05:49,590 --> 00:05:54,270 So there's been a lot more research for aviation applications. 50 00:05:54,270 --> 00:06:02,790 So had I just looked in medical journals, I would have missed a lot of valuable information about how to deal with the data from these sensors. 51 00:06:03,610 --> 00:06:10,870 So just something to keep in mind that you don't have to stick to exactly the application that you're using something for. 52 00:06:16,500 --> 00:06:21,370 And another thing to keep in mind with feature extraction. 53 00:06:23,120 --> 00:06:31,100 So for categorical data, there's really two different kinds of categorical data. 54 00:06:31,100 --> 00:06:36,220 Some of it is in order, some of it not really so much. 55 00:06:36,220 --> 00:06:50,320 And I've seen these mixed up and people will try and turn nominal data into numerical data. 56 00:06:51,360 --> 00:07:00,160 It can work if you look at it and you see if there's some sort of correlation, put it in a specific order. 57 00:07:00,380 --> 00:07:02,480 I mean there's always exceptions. 58 00:07:02,480 --> 00:07:21,960 It is specific to the data you use, but in general if you haven't explored your data, you probably don't want to take something like colors, like what's someone's favorite color, and just randomly say, oh zero is going to be blue and one is going to be red, 59 00:07:21,960 --> 00:07:24,800 without looking at your data first. 60 00:07:30,910 --> 00:07:42,050 And another thing that I just wanted to mention was binning, because I've seen that done a variety of different ways. 61 00:07:42,410 --> 00:07:50,810 When something is not continuously distributed, it's probably worth looking at your data before you make your bins. 62 00:07:52,970 --> 00:08:07,370 I'm going to use an example of the Titanic data set from Kaggle, just because there's so many different options out there for code to analyze it already. 63 00:08:07,370 --> 00:08:17,510 Once you get familiar with that particular data set, then looking at the different ways it's been reanalyzed is a good way to get started with visualization. 64 00:08:17,510 --> 00:08:38,690 I think that's how I decided to get started looking into different kinds of visualization, so I'm going to use the same example here, except for a couple of different graphs that don't really lend themselves well to the data from the Titanic data set. 65 00:08:44,980 --> 00:08:56,470 So the first thing that I usually do is just use describe, and that will work on your numerical data sets. 66 00:08:56,470 --> 00:09:12,030 A good way to get started, find out how many things there are, some standard information, very easy to do, worthwhile information. 67 00:09:16,720 --> 00:09:21,740 The next thing is pandas profiling. 68 00:09:21,820 --> 00:09:27,900 If you haven't heard of pandas profiling, it's really great. 69 00:09:30,240 --> 00:09:32,220 Please use it. 70 00:09:32,220 --> 00:09:34,220 It gives you so much information. 71 00:09:34,220 --> 00:09:40,380 It can be overwhelming if you're not used to doing data analysis, but it's a great place to get started. 72 00:09:40,380 --> 00:09:47,480 You get a bunch of different graphs with distributions of the different features that you have. 73 00:09:47,480 --> 00:09:48,960 It will give you warnings. 74 00:09:48,960 --> 00:09:56,720 I've put an example up on the screen of what happens when you run pandas profiling on the Titanic data set. 75 00:09:59,970 --> 00:10:04,170 So definitely pandas profiling, great way to get started. 76 00:10:05,090 --> 00:10:12,310 It won't necessarily tell you everything you need to know about your data though, so that shouldn't be the only thing you do. 77 00:10:12,310 --> 00:10:18,190 It just sort of gives you a direction to figure out what you might want to explore further. 78 00:10:23,970 --> 00:10:29,310 So the cons of profiling, the output is HTML. 79 00:10:29,610 --> 00:10:32,090 I normally use spider. 80 00:10:33,330 --> 00:10:38,370 Spider is not super happy about HTML files. 81 00:10:38,370 --> 00:10:41,670 You can save it to a file. 82 00:10:41,810 --> 00:10:44,270 That's pretty much your only option with spider. 83 00:10:44,430 --> 00:10:50,530 If you use it with Jupyter notebooks, then it's going to be a lot easier. 84 00:10:56,330 --> 00:10:59,610 But definitely worth using. 85 00:10:59,610 --> 00:11:10,390 I'll even open up Jupyter notebooks, even though it's not what I usually use, just to look at something in pandas profiling real quick before I get started. 86 00:11:14,950 --> 00:11:21,870 So once you use pandas profiling, get an idea of what might be interesting. 87 00:11:22,430 --> 00:11:29,030 Then, if you have time series data, it's good to start with just a simple graph. 88 00:11:30,190 --> 00:11:39,130 This graph is from the data analysis that I did as part of the data science boot camp that I went to. 89 00:11:40,250 --> 00:11:55,240 And I realized partway through my project at the data science boot camp that, oh, hey, I was classifying data that had come from two different wards of a hospital. 90 00:11:55,590 --> 00:12:06,630 And I realized, oop, I'm pretty sure that they had two different kinds of sensors on the patients in the two different wards. 91 00:12:06,630 --> 00:12:21,670 And that was kind of a problem, because I was classifying based on what sensor they were using instead of if the patient was actually in the cardiac ward of the hospital or not. 92 00:12:22,290 --> 00:12:33,590 So that was unfortunate for my project, but at least I didn't think that I actually had something that was super exciting and useful. 93 00:12:33,590 --> 00:12:39,830 And then it turns out, oh, hey, I was just classifying an artifact of the different machines that were used to collect the data. 94 00:12:41,330 --> 00:12:50,190 So, yeah, I'm telling all of you guys about my very embarrassing story, just so that you know that everyone has these stories. 95 00:12:50,290 --> 00:12:52,770 If they say they don't, they're lying. 96 00:12:56,150 --> 00:13:18,450 So, yeah, if I had started with doing some of these graphs, just a simple graph of the data from the two different groups that I was trying to classify, I could have saved myself a lot of time, and then it would have been early enough into the boot camp that I could have picked a different project and not had to tell potential employers that, 97 00:13:18,450 --> 00:13:20,230 oh, hey, here's this analysis I did. 98 00:13:20,230 --> 00:13:29,930 I think it might actually just be a giant steaming pile, but it's what I did, because I figured it out too late to start a new project. 99 00:13:35,520 --> 00:13:40,400 So, heat maps. 100 00:13:40,400 --> 00:13:42,720 Everyone loves heat maps. 101 00:13:44,020 --> 00:13:55,080 I like using them to help show data to people that are not necessarily data scientists. 102 00:13:55,380 --> 00:14:05,040 It can be a good way to see what might be interesting and correlated, but also it's easy for someone that's not super technical to understand. 103 00:14:05,040 --> 00:14:07,020 So, I am a fan of heat maps. 104 00:14:07,020 --> 00:14:14,720 I realize that not everyone might be, but I do find value in them. 105 00:14:15,580 --> 00:14:24,680 And it's also part of Panda's profiling, so you get one of those without having to really do any extra analysis. 106 00:14:25,680 --> 00:14:28,980 Oh, well, that's not great. 107 00:14:28,980 --> 00:14:29,840 Okay. 108 00:14:30,660 --> 00:14:43,480 But another thing that I like is violin plots, especially if you have a binary classification, because then you can put your two classes on either side and see if they are similarly distributed. 109 00:14:45,240 --> 00:15:01,160 So, this example is from the Titanic data set, and you can see that, okay, this data is definitely dependent upon age, which makes sense. 110 00:15:01,160 --> 00:15:04,780 They put all the children on the lifeboats first. 111 00:15:04,780 --> 00:15:08,480 Well, especially the male children, it looks like. 112 00:15:09,520 --> 00:15:20,220 But, yeah, if you look back at the heat map between survival and age, there's not really much of a correlation. 113 00:15:20,540 --> 00:15:38,160 But then if you start breaking it out into different ages versus just age, then you can see, oh, hey, I might should make my bins according to where these probabilities are. 114 00:15:38,240 --> 00:15:43,420 So, that's what I was talking about with looking at your data first before you decide to bin it. 115 00:15:43,580 --> 00:15:57,800 Because this one, if you had just taken the youngest and the oldest and divided it into a certain number of groups, you might have not had the best classification based on the probabilities that are in there. 116 00:16:01,340 --> 00:16:07,480 So, I prefer to look at data before just randomly assigning it to bins. 117 00:16:11,890 --> 00:16:16,230 And another thing that I like, pair plots. 118 00:16:16,910 --> 00:16:23,210 And pair plots are great because you can see how two variables are related. 119 00:16:23,210 --> 00:16:40,750 This is not the best example of a pair plot, but you can sometimes see just, okay, all it really takes is those two variables to separate out your classes, if you're lucky. 120 00:16:40,750 --> 00:16:54,290 That happened with the pair plot for my dissertation research, but unfortunately that one was really large and I wanted to keep this consistent with showing you guys the same data. 121 00:16:55,670 --> 00:17:05,270 But it's not necessarily that if you don't see a separation on a pair plot, you won't be able to classify your data. 122 00:17:05,270 --> 00:17:08,690 It's just, if you see it, that's good news for you. 123 00:17:08,730 --> 00:17:15,950 Your life just got easier because you know that, oh, hey, these two variables definitely can show you something. 124 00:17:21,050 --> 00:17:22,170 Okay. 125 00:17:23,530 --> 00:17:33,530 And here is a little more of me showing you guys just how terrible my idea at the data science boot camp was. 126 00:17:33,530 --> 00:17:34,510 Okay. 127 00:17:34,890 --> 00:17:41,030 Because if I can't be an example, at least I can be a terrible warning for all of you. 128 00:17:41,590 --> 00:17:53,750 So this drift feature that was the most important when I used a tree-based classifier, that was when I did that midline. 129 00:17:55,110 --> 00:18:00,670 So back, oh, I should have put these two slides next to each other. 130 00:18:04,870 --> 00:18:05,870 Okay. 131 00:18:05,870 --> 00:18:14,410 So here when I did that midline correction, so that orange line, I took that out and then you get the green one. 132 00:18:14,410 --> 00:18:26,330 So that orange line, the standard deviation of that line was the most important feature that I found for my project. 133 00:18:26,530 --> 00:18:38,150 The thing that I took out to try and make the two different datasets the same, yeah, that was my most important feature. 134 00:18:38,150 --> 00:18:49,310 Because one of the datasets had already been normalized and had that midline correction and the other did not. 135 00:18:49,310 --> 00:18:57,330 So, yeah, that was a frustrating experience for me. 136 00:18:57,330 --> 00:19:02,790 But at least I found it out before I went any further with it. 137 00:19:03,190 --> 00:19:05,450 So I can't really complain. 138 00:19:05,710 --> 00:19:19,910 And, I mean, I did learn something from going to the data science boot camp because now I know the importance of doing much more EDA much earlier before I have to commit to an idea. 139 00:19:24,750 --> 00:19:30,430 So, yeah, that was my boot camp experience. 140 00:19:30,430 --> 00:19:40,950 I would say if you are thinking about going to a data science boot camp, they might tell you not to pick a project before you go there. 141 00:19:41,210 --> 00:19:45,950 Definitely find some data you're interested in and look into it a little bit first. 142 00:19:45,950 --> 00:19:55,270 Try to avoid doing what I did and realizing your project is a steaming pile when it's too far in to switch. 143 00:19:59,570 --> 00:20:08,170 So, yeah, that just my rant on data science boot camps, but... 144 00:20:08,750 --> 00:20:09,850 Okay. 145 00:20:11,530 --> 00:20:23,070 So, this was another thing that I did while I was at the data science boot camp because I needed to get results that didn't look too terrible. 146 00:20:23,710 --> 00:20:29,490 So I just threw a bunch of classifiers at my data because I was running out of ideas. 147 00:20:29,730 --> 00:20:42,990 I'm not saying that it's a bad idea to try a bunch of different classifiers, but at least look at your data first so you don't end up in the same situation that I was in. 148 00:20:47,060 --> 00:20:51,260 And in this case, yeah, there were a bunch of ones that were overfitting. 149 00:20:51,260 --> 00:20:54,560 I should have also used more data. 150 00:20:56,220 --> 00:21:01,060 But it was a learning experience. 151 00:21:08,480 --> 00:21:18,920 And here's another graph with me just telling you guys how terrible my idea was. 152 00:21:18,920 --> 00:21:23,620 So, yeah, really high training accuracy, really low test accuracy. 153 00:21:23,620 --> 00:21:27,300 I was overfitting and it was so bad. 154 00:21:29,740 --> 00:21:38,340 But... I at least was able to look at false positives versus false negatives. 155 00:21:38,700 --> 00:21:43,480 Since this was a medical application, it's a little bit different than security. 156 00:21:43,480 --> 00:21:55,100 For medicine, we really, to miss anything, like saying that, oh, hey, someone that's having a cardiac event is fine is real bad. 157 00:21:55,100 --> 00:22:01,200 Better to accidentally say, oh, hey, someone might be having a cardiac event when they aren't. 158 00:22:01,240 --> 00:22:06,540 So this is a little bit different than security. 159 00:22:08,160 --> 00:22:12,000 But... yeah. 160 00:22:13,940 --> 00:22:14,580 So... 161 00:22:17,700 --> 00:22:21,840 Does anyone have any questions? 162 00:22:22,360 --> 00:22:23,440 Because... 163 00:22:25,180 --> 00:22:27,100 I could just keep on going. 164 00:22:27,100 --> 00:22:29,180 But... okay. 165 00:22:29,620 --> 00:22:30,700 I guess... 166 00:22:58,850 --> 00:23:06,770 So for that, there's a bunch of different techniques you can use. 167 00:23:06,770 --> 00:23:08,570 You could do... 168 00:23:11,410 --> 00:23:17,910 dimensional reduction, so combining those features, seeing what features end up being combined. 169 00:23:18,930 --> 00:23:19,470 But... yeah. 170 00:23:19,470 --> 00:23:22,270 I was just showing some ways to get started. 171 00:23:22,390 --> 00:23:27,670 Definitely just looking at two variables together is not the only thing you want to do. 172 00:23:27,670 --> 00:23:34,490 If two variables is all you need to start getting it separated, then that's really good. 173 00:23:34,630 --> 00:23:38,110 But that's not how it usually works. 174 00:23:40,350 --> 00:23:41,190 Sorry. 175 00:23:41,190 --> 00:23:44,350 Did I answer your question? 176 00:23:44,810 --> 00:23:45,030 There 177 00:23:57,250 --> 00:24:02,690 are a bunch of different techniques for that. 178 00:24:03,410 --> 00:24:11,590 Principal component analysis, lasso, sorry, I'm drawing a blank on all of them. 179 00:24:11,590 --> 00:24:14,730 But yes, there are definitely ways to do that. 180 00:24:14,730 --> 00:24:23,010 And then, again, one option you can use is running it through a tree-based classifier. 181 00:24:23,010 --> 00:24:31,010 That might not be what you end up using in the end, but it can show you if there are multiple variables that are important. 182 00:24:31,010 --> 00:24:41,310 So for this one, it showed there wasn't just one or two standout variables that, okay, that's the one that was really predicting what was going on. 183 00:24:43,630 --> 00:24:49,990 So as far as if you want to visualize it, that could be an option, looking at that feature importance. 184 00:24:57,470 --> 00:25:03,990 Oh, he was asking about when there would be more than two features that would be important. 185 00:25:06,090 --> 00:25:30,590 So I was just, because I'd shown the pair plot, which only shows two features combined with each other, but a lot of the time you're going to have a combination of more than two features that will end up being what you use to predict whatever it is that you're classifying. 186 00:25:31,090 --> 00:25:34,370 So yeah, there are other techniques beyond what I showed. 187 00:25:34,370 --> 00:25:41,610 This was just more of a starting to think about your data and please, please think about what you're doing. 188 00:25:41,610 --> 00:26:03,850 And if there's bias in your data before it was even collected, like the example that I gave of my data science bootcamp project, where it turns out I was just checking to see which kind of sensor had been used to collect the data versus what I was trying to do. 189 00:26:03,930 --> 00:26:13,530 There's so much bias data out there and it's easy to not really think about where the data came from. 190 00:26:13,870 --> 00:26:16,090 Is this a good idea? 191 00:26:16,930 --> 00:26:18,770 And that sort of thing. 192 00:26:22,550 --> 00:26:30,870 Like the, sorry, I keep on coming back to this, but it's just, it's so bad. 193 00:26:32,110 --> 00:26:40,810 Like this, like if they would have just thought about, oh hey, why am I trying to separate criminals from non-criminals? 194 00:26:42,750 --> 00:26:54,550 I feel like if they just spent a little more time thinking about that, maybe they wouldn't have put that out there and now everyone's seen it and sort of makes fun of it. 195 00:27:01,950 --> 00:27:02,810 Okay. 196 00:27:02,810 --> 00:27:02,810 Oh 197 00:27:09,850 --> 00:27:12,970 yes. 198 00:27:16,350 --> 00:27:30,390 There are a lot of people I've seen that skip EDA because they either don't know how to do it or they just get really excited about their project and want to just go straight to classification. 199 00:27:42,790 --> 00:27:49,530 So I think EDA is so easy that there's not really any excuse to skip it. 200 00:27:49,530 --> 00:28:01,710 Like you're never going to look back at a project and say, I really wish I hadn't spent that hour or two looking into my data to make sure that it's what I think it is. 201 00:28:02,290 --> 00:28:14,430 But there are plenty of times like my bootcamp project where I looked back and thought, I really wish I had spent more time looking into that project before I committed to it. 202 00:28:16,750 --> 00:28:17,470 Yeah. 203 00:28:17,470 --> 00:28:34,130 So that's sort of why I am now very passionate about EDA because I don't want to have any more of those experiences and I want to help prevent others from having that experience because it was fairly unpleasant for me. 204 00:28:34,790 --> 00:28:47,150 I mean, also I'm happy that I did discover it during the bootcamp and not try and submit it and get a grant and then realize after I told even more people about it. 205 00:28:47,150 --> 00:28:47,150 So 206 00:28:51,490 --> 00:28:55,050 but yeah, it would have been better if I'd found that earlier for sure. 207 00:28:57,430 --> 00:28:58,730 Okay. 208 00:28:58,730 --> 00:29:00,910 Oh, and your question? 209 00:29:09,880 --> 00:29:32,160 So to be honest, most of my experiences with medical data where there's not really an issue of ever having too much data because there's so much regulation around medical data and rightly so, we don't want medical records just being available freely on the internet. 210 00:29:34,180 --> 00:29:39,480 So in medical research, it's more a problem of needing to get more data. 211 00:29:40,260 --> 00:29:46,980 If you have tons and tons of data, then okay, number one, I'm jealous. 212 00:29:46,980 --> 00:29:48,720 I want your data. 213 00:29:49,530 --> 00:29:51,460 I want that problem. 214 00:29:51,980 --> 00:30:10,320 But also, you can always take a subset of your data to do some exploratory analysis with and then maybe do a couple of different comparisons to make sure that that subset you took is representative of the entire data set. 215 00:30:10,620 --> 00:30:17,760 If you want to do something like pandas profiling, running that on a very large data set is going to take quite a while. 216 00:30:17,840 --> 00:30:27,880 So you could take a subset, do a couple of basic comparisons to make sure that they are similar and then run that subset through your EDA 217 00:30:31,290 --> 00:30:33,790 to do more extensive analysis. 218 00:30:33,790 --> 00:30:42,270 Some of the things like the correlation coefficients can take a while if you've got a very large data set. 219 00:30:44,790 --> 00:30:54,350 But definitely taking that step to do that comparison of, oh, hey, is this subset comparative to the whole of the data set? 220 00:30:55,850 --> 00:30:57,810 That's valuable. 221 00:31:04,180 --> 00:31:05,260 Okay. 222 00:31:05,520 --> 00:31:07,680 Any other questions? 223 00:31:10,120 --> 00:31:11,640 Okay. 224 00:31:11,860 --> 00:31:14,560 How would you handle data that has sparsely populated 225 00:31:17,850 --> 00:31:18,970 features? 226 00:31:18,970 --> 00:31:22,310 Sparsely populated features. 227 00:31:22,630 --> 00:31:51,490 So for that, probably the best way to deal with sparsely populated features is to look into how language processing is done, because that is a common problem in language processing, because they will vectorize word strings, or strings, and then vectorize it. 228 00:31:51,490 --> 00:31:55,410 So one hot encoding of each word that is in a sentence, for example. 229 00:31:55,410 --> 00:31:58,910 So there is a lot of very sparse data in NLP. 230 00:31:59,770 --> 00:32:02,290 So I'm not super familiar with NLP. 231 00:32:02,290 --> 00:32:03,710 I don't want to tell you for sure. 232 00:32:03,710 --> 00:32:05,010 I do this and that. 233 00:32:05,010 --> 00:32:15,530 But even if you're not dealing with language data, I would say look at some of the different processes that are used for NLP. 234 00:32:17,410 --> 00:32:32,270 And, yeah, one of the things that is used for NLP is combining some of the fields so that then you don't have as many different dimensions that are sparsely populated. 235 00:32:34,410 --> 00:32:37,870 And there's a bunch of different ways to do that. 236 00:32:37,870 --> 00:32:40,330 It's going to be specific to your data. 237 00:32:40,850 --> 00:32:41,770 So, 238 00:32:47,940 --> 00:32:49,960 okay. 239 00:32:52,340 --> 00:32:57,340 Well, I guess that's all the questions. 240 00:32:57,960 --> 00:33:01,620 Thank you for coming to my talk. 241 00:33:01,620 --> 00:33:10,140 And hopefully, if I have even prevented one person from making the same mistake that I did, then I am very happy. 242 00:33:11,160 --> 00:33:19,520 Because it's really frustrating to get far into a project and then realize, oh, hey, I missed a fundamental flaw in my data. 243 00:33:23,060 --> 00:33:23,600 Okay. 244 00:33:23,640 --> 00:33:24,000 Thank you.