Latest / Technically Speaking | a science and engineering discussion / What can we use data science for?
Transcript
- 0:00[Music]
- 0:03hello and welcome to technically
- 0:04speaking where scientists and Engineers
- 0:05come together to chat about a common
- 0:06interest share knowledge and satisfy
- 0:08some curiosity I'm Laura and I'm joined
- 0:10by Emma and Antonia to talk about how we
- 0:12first encounter data science and what we
- 0:14use it for so Emma you're a physicist so
- 0:17what's your interest in this given your
- 0:19background my interest in data science
- 0:21kind of stems from the fact that I need
- 0:23it to analyze things and analyze lab
- 0:26results and data um but I started off
- 0:30using it uh when I was in college or
- 0:34even high school physics uh by doing
- 0:37some kind of basic stats in my maths um
- 0:40but I think I only kind of got the
- 0:42importance of it when I started to allow
- 0:44it to help me describe if data was
- 0:47important and if it was significant and
- 0:49how that kind of comes into play with
- 0:51how valuable your results are see I did
- 0:54stats in school as well and I really
- 0:56thought about it is this fancy thing
- 0:58that people call data science at the the
- 1:00time CU data science wasn't really a
- 1:01thing people talked about like 20 30
- 1:03years ago but now it seems like it's a
- 1:06whole industry you see stuff on the
- 1:08internet and they make it sound like
- 1:09kind of mysterious but it's just math
- 1:12right it's just applying
- 1:14it yeah I guess we'll get into the
- 1:17different kinds of it in a minute but uh
- 1:19Antonia I guess your experience as an
- 1:21engineer and energy analyst is a little
- 1:23bit different to Emma's physics
- 1:24background there are a few overlaps we'
- 1:27got a lot of data that you w to try and
- 1:31understand is it a pattern or is it not
- 1:35a pattern because then you can kind of
- 1:37predict or say that is standard and this
- 1:43is what we would expect or there's
- 1:46something that needs addressing so in in
- 1:51energy you've got a lot of data now so
- 1:53electricity is on uh measured on a half
- 1:57hourly basis so then in a in a day
- 2:00you've got 48 data points and then over
- 2:03a year 365 * 48 and then you have to
- 2:07start
- 2:08think which which is normal behavior and
- 2:11which is abnormal behavior and what is
- 2:13something that I can actually affect and
- 2:16how much of it is just
- 2:18Randomness um so I yeah bit of
- 2:21statistics and
- 2:23then it turns into data science I'm not
- 2:26sure like we used to just call it
- 2:28statistics right is what you were kind
- 2:31of saying Laura yeah I guess so of the
- 2:33stuff I did in a levels was like you
- 2:35know Finding standard deviations and
- 2:37finding if you've taken a sample of a
- 2:40population in a pond say what is the
- 2:41actual population of that pond which
- 2:44seemed quite simple it wasn't dealing
- 2:46with huge data sets which is what I
- 2:48ended up doing in my masters in uh
- 2:51process
- 2:52analytics where you'd have like dozens
- 2:54of variables from a processing plant
- 2:56that spans like months or years of
- 2:58operation and you had to figure out what
- 3:00those patterns were as you said so I
- 3:02guess it's just how much data are you
- 3:05dealing with and how much more
- 3:06complicated does that make it uh so I
- 3:08guess we've kind of described what data
- 3:11science is to an extent as far as we
- 3:14understand it given none of us is a data
- 3:16scientist and you were talking about
- 3:18using it in school for stats I I
- 3:21mentioned finding the mean in data in um
- 3:24standard deviation I guess that's the
- 3:25simplest way that we'd probably use it
- 3:27and you probably use it quite a lot cuz
- 3:28I used to use that pretty much any type
- 3:30of data collection that I did you know
- 3:32you'd always find get like at least
- 3:34three data points and find the average
- 3:37and then calculate your error yeah I
- 3:39mean even simpler than that you can go
- 3:41back to median and mode as well which I
- 3:45think you know gradually you don't use
- 3:47because they're not you know maybe the
- 3:49most useful um but yeah no definitely
- 3:53use standard deviation I use just all
- 3:55the time like that is my error on
- 3:57measurements and it allows you you to
- 4:00when you go into like different
- 4:01distributions and not to get too
- 4:03complicated um but you know when things
- 4:06lie outside one standard viation I think
- 4:10the percentage is you're like 65%
- 4:12confident that it's that your conclusion
- 4:15can be valid or something but if it's
- 4:17outside three then it should be really
- 4:19unlikely that you should have a
- 4:21deviation of that range depending on the
- 4:23distribution so you can actually use it
- 4:25to like get um confidence limits and
- 4:27really kind of when you analyze your
- 4:29data starts to become less binary and
- 4:31more like is how confident am I that
- 4:33this is good and then if it's not good
- 4:36or you're not that confident then you
- 4:37can start to take more repeats and
- 4:39rethink about your experiment as well so
- 4:41I think when you get more complex it
- 4:43allows you to actually design
- 4:45experiments better and how you analyze
- 4:47them better I don't that was answering
- 4:49in the right realm but um this is where
- 4:52my brain went to fair enough it doesn't
- 4:54make sense so Emma I think standard
- 4:58deviation and number of standard
- 5:00deviations is quite a good measure but
- 5:04sometimes for say like population
- 5:06statistics or gender pay Gap those
- 5:09outliers if you used a mean would be way
- 5:12too um skewed so instead median is a
- 5:17better measure because you've
- 5:19ordered all of the pay that people get
- 5:22in terms of size and then you find
- 5:25what's the most middling one I wanted to
- 5:29say the most like medium one and I was
- 5:31like no that's not going to help I guess
- 5:33that s gives you an idea of like cuz if
- 5:36you wanted to use the median and the
- 5:37standard deviation you assume it's got
- 5:39like a normal distribution so it's quite
- 5:40symmetric like like people getting paid
- 5:43an awful lot at one end of the scale
- 5:45sale people not getting paid a lot to
- 5:47create that nonb bell-shaped curve yeah
- 5:50yeah yeah I guess I've just worked in
- 5:52gaussian a lot it's just always you
- 5:54approximate everything to be a gaussian
- 5:56so it's my it's my default um
- 6:00distribution yeah I guess when it comes
- 6:02to physical sciences you just kind of
- 6:03assume that there isn't anything sort of
- 6:06disrupting your data set in that way it
- 6:07is just sort of there's a little bit of
- 6:09random noise in there and that's
- 6:11it I mean we're talking about like
- 6:14relatively straightforward maths and I
- 6:16remember in my masters doing different
- 6:19types of regression analysis like I said
- 6:21I was looking at loads of different
- 6:23variables at one point and you were
- 6:25trying to figure out you know which
- 6:26variable is most important for the thing
- 6:28that you're trying to model but I don't
- 6:30really remember any of the regression
- 6:31statistics all that well I don't suppose
- 6:33either of you two have encountered them
- 6:35and can explain it to me
- 6:37again um I wouldn't say it was
- 6:40particularly complicated the one that I
- 6:42would use for energy but sometimes say
- 6:45you know in winter it's it's colder so
- 6:49people would have more heating but how
- 6:52do you know if someone's overheating
- 6:54their house and say I don't know swing's
- 6:57broken with their heating system because
- 6:59because it's not reading off the
- 7:00thermostat which should tell it when to
- 7:03stop heating up the house and you get
- 7:05you know 30° in Winter
- 7:07um so we would use something called
- 7:11regression analysis which yeah was
- 7:14basically like those correlation graphs
- 7:16you do X against Y and then see the best
- 7:19fit line and how much of it was off the
- 7:22best fit line and then you've got how
- 7:25strong a correlation potential
- 7:29potentially causation and effect but not
- 7:33necessarily um but then you could do
- 7:36that for
- 7:37multiple uh variables and you get a
- 7:40multi
- 7:42regression um don't know what the word
- 7:45for is this model multi model and then
- 7:49you could recreate it to say for a
- 7:53different set of values in those
- 7:55variables you could then hopefully
- 7:57predict what that system would do if it
- 8:00was acting the same way okay so I guess
- 8:03you'd say if it was colder next year
- 8:06outside would someone's heating system
- 8:08act differently and can you predict how
- 8:10that would act taking into account that
- 8:12they might not manage it efficiently
- 8:15yeah so so yeah if it if like suddenly
- 8:19the heating system became less efficient
- 8:21say um you know they had a leak so so
- 8:26some of the hot water wasn't actually
- 8:28going through radiator actually just
- 8:30leaking outside the house so then inside
- 8:32they weren't feeling that warmth then
- 8:34yeah you could sort of say ah yes we
- 8:36were expecting you to use this much but
- 8:38used you more so something is a little
- 8:41weird about that oh it's interesting
- 8:44yeah it sounds like quite powerful like
- 8:46a real world you can see how this would
- 8:47be useful immediately you can help it
- 8:49like finding or you see how behaviors
- 8:51changed yeah only if you know if you can
- 8:56accurately model that system because if
- 8:58there's some variable
- 9:00that you aren't able to track say
- 9:03someone is constantly changing the set
- 9:06temperature because you kind of assume
- 9:08that someone always wants the house to
- 9:10be 21 but someone else could be
- 9:13occasionally going you know what I want
- 9:14it to be 25 degrees and so the system
- 9:17that you've compared it against is no
- 9:19longer the same system oh wow yeah so
- 9:22you need to add in more variables for
- 9:24different people so you've got like John
- 9:26likes it really cold and Kate likes it
- 9:27really hot variable John and VAR
- 9:29Kate maybe or you just kind of say sorry
- 9:33John or Kate we want it to be this way
- 9:36and that's it so that we can have a nice
- 9:39predictable system and we know how much
- 9:42energy you should be
- 9:45using the constant struggle in the
- 9:48office yeah whereas business is just say
- 9:51we're just going to ignore that thing
- 9:52because it it's makes like 2% of an
- 9:54effect and we don't really care it's
- 9:56accurate in know everything's in a
- 9:58vacuum everything vacuum everything's a
- 10:00spring everything's a gan everything's
- 10:03spherical yeah everything's perfectly
- 10:06spherical yeah yeah I mean I was going
- 10:08to say um when you mentioned uh
- 10:11regression as well it kind of took me
- 10:12back to I mean I guess AEL maths but
- 10:15also a level biology and like the
- 10:17different like uh population statistics
- 10:20and like um like students tea test I'm
- 10:22like throwing statistical test out there
- 10:24now like without fully remembering the
- 10:26entire context but I remember using them
- 10:29when we were doing like um like quadrant
- 10:31sampling and then like extrapolation
- 10:33like whole areas and stuff uh you do
- 10:36different statistical tests to try and
- 10:37like get a good estimate for you know
- 10:40how many species are in this area um so
- 10:44I guess it also it's very it's kind of
- 10:46like applying I mean it's still very
- 10:48like sciency application not very
- 10:51accurate um in style um but it's really
- 10:54interesting to see the like actual real
- 10:57life kind of applications that because
- 10:59I've only ever done it in kind of a
- 11:01theoretical
- 11:03context which is interesting well when I
- 11:06first started as an energy analyst that
- 11:08was something that my team was trying to
- 11:10do was say could we model if we had all
- 11:14this data to then say right this is how
- 11:17much we think this site should consume
- 11:20but there were too many variables that
- 11:23we tried those um test um K values gosh
- 11:28what else was in there but yeah we tried
- 11:30that and we thought I don't think our
- 11:33data is enough to actually use this we
- 11:38couldn't use the confid we didn't have
- 11:40confidence in it because there was just
- 11:42too much Randomness MH I guess you need
- 11:45more complicated models either sort
- 11:47of add in that Randomness I guess you
- 11:50don't need to know the source of it but
- 11:51you need some way of understanding it
- 11:53mathematically I feel like we're going
- 11:55back to Chaos Theory again it's probably
- 11:56not what we want
- 11:57unfortunately be something as simple as
- 12:00that we just didn't have the data so
- 12:03sometimes someone's like gas pipe would
- 12:05burst and then the data would just be
- 12:08wild or we'd have no data for a bit and
- 12:10so we're just like well there goes three
- 12:14months of measurements there so we can't
- 12:16use that and then there was coid and so
- 12:19the lockdowns really affected data like
- 12:22well 2022 2021 scrap that can't use it
- 12:27that data because they're not operating
- 12:30a standard but then you start arguing or
- 12:33should you should we have because that
- 12:36would that could have still been an
- 12:38indicator of how they operate under
- 12:40weird circumstances but how rep
- 12:43repeatable are those weird
- 12:46circumstances I guess if you've got
- 12:49these large data sets you need some way
- 12:51of managing it there's this term I've
- 12:52heard like big data and I don't know if
- 12:54there's a very good definition of what
- 12:56Big Data are um given you can get like
- 12:59terabyte hard drives quite cheaply these
- 13:01days is that considered big or not I
- 13:04used to collect an awful lot of data
- 13:06when I was in radiation science and you
- 13:08had like not a whole lot of time on an
- 13:11particle accelerator so you had some
- 13:13beam time and you collected all the data
- 13:15that you possibly could and then SED
- 13:16through it later on and you would easily
- 13:18generate terabytes of data on a know wow
- 13:22yeah that is crazy how many data points
- 13:24would that be though cuz if it was like
- 13:27one massive like 3D model then you kind
- 13:29of like have one thing to look at but if
- 13:32it was like lots of lots of little bits
- 13:36then you it'd be quite unmanageable yeah
- 13:39lots and lots of little bits really
- 13:40there wasn't like one just like 3D image
- 13:42that you were looking at it was pretty
- 13:44much the detector was on and you were
- 13:46collecting like an intensity at each
- 13:48pixel so you had this sort of like I
- 13:50guess have like a grid pretty much of
- 13:52what was happening at that pixel at that
- 13:54instance in time and I remember when I
- 13:56was coding you would use something um
- 13:58like what I thought of his tables you
- 14:00put your data in a matrix of a certain
- 14:03size so it would be like how many ever
- 14:07columns wide you wanted it and how many
- 14:09ever rows big and you could hold like
- 14:12different variables within that but it
- 14:13was still like almost sort of as one
- 14:15variable I don't remember it well enough
- 14:17to not talk about it in a way that isn't
- 14:20confusing but I feel like that's the
- 14:22start of the data analysis right
- 14:25managing the data and then figuring out
- 14:27what to do with it next yeah yeah so I
- 14:29suppose like it was kind of say you you
- 14:32ran your experiment and you'd have like
- 14:34a Time axis and then you'd have like
- 14:38temperature and then you'd have
- 14:40radiation in beells or I don't
- 14:44know that's beckel's activities it's
- 14:47what coming off a radioactive Source but
- 14:48um yeah like gray something like that
- 14:51how much energy you've deposited like
- 14:53that yeah and then you'd it so you'd
- 14:55kind of be creating like a cube of of
- 14:59data like at this time point at this
- 15:04there was this temperature and then
- 15:05there was this other activity level and
- 15:08then there was some other variable that
- 15:10you care about that I don't know because
- 15:12I'm not a
- 15:14radiation yeah but then you could say
- 15:15like the similar thing about you know
- 15:16chem a chemical plant that I guess you
- 15:18may be more familiar with you'd have
- 15:19like temperature flow rates
- 15:21concentrations pressures yes I can
- 15:24understand this yeah or your different
- 15:26vessels in the system and this is kind
- 15:28of what I remember from my masters and
- 15:29you just have if you try to put that in
- 15:31a graph of time and all these different
- 15:33variables you just have something that
- 15:34looked incredibly
- 15:36messy yeah yes i' I've I've tried out
- 15:38function in
- 15:39[Laughter]
- 15:43Excel but there were ways of sort of
- 15:46collecting the variables together so you
- 15:49had like one variable that represented
- 15:51three and I honestly don't understand
- 15:53how the math behind this because it was
- 15:55more sort of like engineering level in
- 15:58my masters which meant it was about the
- 16:00application and not about the pure maths
- 16:02behind it so it was um I think this
- 16:04principal component analysis is what we
- 16:06were doing and I remember being really
- 16:08good at applying it but thinking back I
- 16:10have no clue how it actually worked so
- 16:12what were you using it for pretty much
- 16:15what I said you had a bunch of variables
- 16:17like 20 variables from a processing
- 16:18plant taken over time and you would take
- 16:21some of the data that would be your
- 16:22training data and you generate a model
- 16:24mathematical model that explained how
- 16:28the interacted and then you'd apply that
- 16:30to the rest of the data to see how well
- 16:32it fit see if it could explain sort of
- 16:36the future essentially okay it kind of
- 16:39said that this this principal component
- 16:41explains like 30% of the variance in
- 16:45your data say and it's made up of these
- 16:47other variables that uh like I said the
- 16:50flow the temperature whatever else and
- 16:52then you'd have another principal
- 16:53component that was made up of other
- 16:55variables that would explain a bit more
- 16:56variance in the data and basically it
- 16:59included enough principal components to
- 17:01explain like 80% of the variant and that
- 17:03was
- 17:05sufficient so I guess I understand the
- 17:07steps to applying it but I don't
- 17:09understand the maths behind it I don't
- 17:11know if it's something either you have
- 17:13encountered that's about terms like
- 17:15principal components or igen values and
- 17:17igen vectors that you could explain in a
- 17:20way that relates to what I've just said
- 17:23I haven't touched it before but I want
- 17:25to I want to try it now principal
- 17:29component like as like a phrase I don't
- 17:31think I've used and or heard of but the
- 17:34um concept of kind of grouping together
- 17:38um some variables that can influence
- 17:41data sets and kind of finding a way to
- 17:44mathematically represent them in a
- 17:46simpler way so you know computers can
- 17:48understand it better and work with it
- 17:49better um but still fully represents the
- 17:53system to me just sounds like a matrix
- 17:56uh and how you store that information
- 17:59um in a way where you can kind of get a
- 18:02system of you know equations or problems
- 18:05you know imagine like simultaneous
- 18:06equations uh and then put those
- 18:09different elements into a matrix problem
- 18:12so that's where you know these fancy
- 18:14terms like IG values and IG vectors uh
- 18:17come into the Matrix equation uh but
- 18:20it's the same system that you've always
- 18:21had it's kind of just making it look a
- 18:24bit nicer and then when you want to do
- 18:25kind of computational calculations
- 18:27computers just just love working with
- 18:30matrices and then you just have to kind
- 18:32of take that output and then use it to
- 18:34find the coefficients that you needed
- 18:36you know in the context of simultaneous
- 18:38equations but you know the idea is you
- 18:40know you can use matrices for
- 18:44everything they're just so good but they
- 18:47are confusing um especially when you
- 18:49like hear about them in different
- 18:50context as well because that's a very
- 18:52like pure matth context but I feel like
- 18:54I've heard the con mat is being
- 18:56introduced and used different ways you
- 18:58know maybe with each module I did at
- 19:00University um and so very very
- 19:04applicable to many things but the
- 19:06connection between each one is always a
- 19:08bit shaky yeah and I guess this is the
- 19:11problem I have sometimes because I tend
- 19:13to span multiple different disciplines
- 19:16everyone uses like slightly different
- 19:17terminology to refer to what is
- 19:19essentially the same thing and I tend to
- 19:21get just a little bit confused and every
- 19:23time I speak to someone I feel like I
- 19:24get slightly closer to figuring out what
- 19:27this thing actually is I guess it's
- 19:29finding the person that can explain it
- 19:30to you in a way that makes sense to you
- 19:32that's always the challenge yeah because
- 19:34it also depends on your background as
- 19:36like a listener to what method of
- 19:38explanation is going to connect with you
- 19:41the most I mean that's just learning as
- 19:43well sometimes you know you connect with
- 19:45like a textbook that and you're like I'm
- 19:47going to read every textbook of this
- 19:48author because they just seem to
- 19:51understand things um but uh one of the I
- 19:55forgot to say one of the like main I
- 19:57guess benefits of of a matrix is if you
- 19:59have loads of loads of kind of data data
- 20:02points and loads of different variables
- 20:04and you can kind of put it in because
- 20:05it's quite hard to deal with I mean in
- 20:08the context of Big Data it's quite hard
- 20:10to you know solve those systems of
- 20:12equations quickly and efficiently if
- 20:14you're you know by hand it is definitely
- 20:17impossible um you know I you were
- 20:19solving simultaneous equations when in
- 20:21GCS and then aables but if you got a
- 20:23system of you know six simultaneous
- 20:25equations you'd be there the whole time
- 20:27um still probably wouldn't get there and
- 20:30so I think in the context of Big Data
- 20:32it's a way to kind of solve it and you
- 20:35know put it into kind of a
- 20:38understandable form for you or the
- 20:40computer I guess you'd be using just an
- 20:42algorithm so say when I was doing the
- 20:43principal component analysis I said I
- 20:44didn't quite understand the maths that
- 20:47was being used by the computer but I
- 20:49understood the output and I could look
- 20:50at the output and say does that make
- 20:52sense with what I've
- 20:54seen and if it doesn't then I'm probably
- 20:57applying the wrong angle algorithm I
- 20:59don't understand it well
- 21:01enough but so I guess there are two
- 21:03approaches you can take and understand
- 21:04the maths really well and know that the
- 21:06maass is doing the thing that it's meant
- 21:07to be doing or you can understand the
- 21:09system that you're modeling and know
- 21:11that you're modeling it well enough I
- 21:13guess they're two different approaches
- 21:14you can take as the pure mathematician
- 21:17and then the yeah scientist
- 21:20engineer yeah using maths as a
- 21:22tool about that whole difficult
- 21:25difficulty in learning I do find some
- 21:28times with maths especially where
- 21:30someone can use different um letters to
- 21:33represent the same variables and so then
- 21:35you try to look up an equation yeah and
- 21:37then you think I don't recognize this
- 21:40but I'm sure the same ideas are behind
- 21:43it you just kind of got used to always
- 21:46using like Y for the Y AIS and X for the
- 21:50xaxis and then they start using
- 21:52something else like f ofx everyone get
- 21:57really confused when they first
- 21:58introduce functions to us oh
- 22:02gosh it's also about some of the
- 22:05terminology as well like um PCR everyone
- 22:07knows what a PCR test is now right
- 22:09because of Co yeah oh I was like wait
- 22:13what exactly what PCR I forgotten so
- 22:16principal to me that means principal
- 22:18component regression because that's
- 22:19where I first encountered it oh but then
- 22:22in my Master's my Master's project was
- 22:24looking at um gene expression data and
- 22:27applying these different mathematical
- 22:29techniques to figure out what the
- 22:30patterns were in the gene expression
- 22:32data so suddenly PCR meant two different
- 22:34things to me at the same time so also
- 22:36meant polymer Chain Reaction I was very
- 22:39confused for quite a while I have a
- 22:41little game I play with my friends where
- 22:43whenever we see a row we are like what
- 22:46do we see cuz for me I always see
- 22:48density but there is a million different
- 22:52things for row and it so funny when you
- 22:55see like the Greek alphabet um I don't
- 22:58this is just going to be relatable to
- 23:00all the physicists but um there's so
- 23:01many letters that I haven't seen before
- 23:04and it just makes you think why always
- 23:05go back to row to Lambda to all of the
- 23:09classics when there's a million
- 23:11different um gek letters that I've never
- 23:13seen before um but people love to reuse
- 23:17reuse row as well it's kind of the
- 23:19favorite but row is always sensity to me
- 23:23um no matter what happens cool I can
- 23:25agree with that one I wonder you could
- 23:27just start making up your own symbols
- 23:28and call them some noise and then just
- 23:30start implementing them and that could
- 23:32be your claim to fame eventually like
- 23:33you know some people find new
- 23:36species yeah you just created your not
- 23:39created your own variable but created
- 23:41your own naming system yeah yeah that's
- 23:44how it used to be right like there were
- 23:45curies in loads of other different units
- 23:49of measure for certain things so why not
- 23:51I wonder if I will ever contribute so
- 23:54much to a field that I could have a Cy
- 23:57because Marik did a lot for radiation
- 24:02science true yeah there you go it's
- 24:05think to aim
- 24:06for you also have like cury temperature
- 24:08and stuff as well which is something I
- 24:11can't remember but it's something to do
- 24:14something to do with like oh I think
- 24:16it's uh semiconductors maybe I'm
- 24:19throwing something out there but yeah it
- 24:21may be wrong so fact check this please
- 24:24yeah that probably will be wrong I've
- 24:26never heard of a cury temperature oh
- 24:27it's a magnetic change yeah yeah okay
- 24:30yeah it's a magnetic change in the
- 24:31magnetic properties of a system okay
- 24:33close enough nothing to do with ionizing
- 24:35radiation though not strictly anyway I
- 24:38suppose I guess this is a warning for
- 24:39anyone wanting to get into data science
- 24:40and apply these principles to lots of
- 24:42different fields know what people are
- 24:44talking about when they start throwing
- 24:45terms out first don't be afraid to ask
- 24:48what is that yeah or ask to Define every
- 24:51term in every equation that gets brought
- 24:53up ever just so you're sure and also
- 24:56importantly the units that they're in
- 24:58yes oh my God unit conversions there's
- 25:02so many Astro stuff where the units are
- 25:05in mega Parx per per kilometer per
- 25:07second and it doesn't make any sense but
- 25:10that's just the way it is so always
- 25:12check your units in equations as well as
- 25:15what the symbols mean oh yeah very
- 25:17important that is yeah I had read that
- 25:20some of the mats that we've been talking
- 25:21about comes up in U machine learning or
- 25:25artificial intelligence it's like
- 25:27essentially
- 25:28some of the mass behind how you train
- 25:30the AI to do a particular thing like the
- 25:34example i' seen was using it to identify
- 25:35a tiger like you look at a tiger a
- 25:38picture of a tiger and you that's
- 25:39obviously a tiger but what are the
- 25:40things that you're looking at that tells
- 25:42your brain that is a tiger so you're
- 25:44obviously looking at the stripes the
- 25:46shape of its face its General size of
- 25:49the different features and these are all
- 25:50different variables that go into the
- 25:53algorithm that you use to train the AI
- 25:55so this is a tiger this is not a tiger
- 25:57yeah kind of like how the captures
- 26:00started you know when you're entering a
- 26:03website and it's saying are you a robot
- 26:05then it says click on the bikes that is
- 26:08like training data set for the AI to
- 26:11figure out ah right they're always bikes
- 26:15and then seeing what the um common
- 26:17pixels are I guess or common pixel
- 26:20relationship from one to another oh wow
- 26:22yeah so are you saying that every time
- 26:24we do a capture we're helping train some
- 26:26AI yeah yeah I didn't know that I'm not
- 26:29too sure how I feel about that I feel
- 26:31like it should be disclaimed
- 26:33somewhere yeah or or the ones where it's
- 26:35like got squiggly letters oh yeah yeah
- 26:39yeah and numbers yeah well I that's what
- 26:41I was told that that can be training
- 26:44data it makes sense I guess so and and
- 26:47it's very useful for like the postal
- 26:50service because everyone's handwriting
- 26:52looks slightly different and then now
- 26:55they don't have to have someone
- 26:56individually read
- 26:58addresses they they have um ANC whatever
- 27:02Optical recognition what a C stands for
- 27:05but you know when you're reading written
- 27:07stuff you can recognize it as text ah so
- 27:10I'm always quite proud of my skill of
- 27:12identifying weird handwriting because my
- 27:14own handwriting is really
- 27:17weird I've worked with a lot of people
- 27:19where you sit there for quite a while
- 27:20trying to figure out what a thing is and
- 27:21then when you get it it's like oh that's
- 27:23it I can understand anything you right
- 27:24now one of my Lab Partners at you
- 27:28I think it was like a four or a nine
- 27:30that they wrote really weirdly like they
- 27:32didn't write it in the same order I
- 27:34would so I was looked at it and got the
- 27:36number wrong uh which I guess is another
- 27:38argument for just letting the machines
- 27:40do it all so you don't have to write
- 27:41anything down it just sends the data to
- 27:44the thing that you need it to do and
- 27:46then it just does the analysis for you
- 27:47straight away and as long as I say as I
- 27:49say you sort of check to make sure that
- 27:50analysis makes sense there you go and
- 27:53check the sensor is working
- 27:56yes I feel like you would sort of see
- 27:59that as you were picking up the data I
- 28:01can't think of a reason why you wouldn't
- 28:02check that just inherently but maybe
- 28:05working on rigs for too long but like
- 28:07one thermac couple is always showing
- 28:09minus 20 and the other are showing 200°
- 28:11cus and clearly something's wrong in my
- 28:14line of work we have I don't know how
- 28:16many thousands of sensors to collect
- 28:18energy data across hundreds of places so
- 28:23being able to check those sensors are
- 28:25always working is a challenge
- 28:28and it kind of relies on knowing that
- 28:30that is a measurement that should have
- 28:32been taken or not because sometimes you
- 28:35think ah is it zero because they've
- 28:36turned off the machine which is no
- 28:38energy use or is there something wrong
- 28:41with the sensor we won't know unless we
- 28:44have that human data to tell us so I
- 28:48guess it's no matter how good your big
- 28:50data machine learning data science stuff
- 28:52is there always needs to be a human
- 28:54element of just understanding what's
- 28:56going on bad data in B results out yeah
- 29:00so I guess if we sort of go back to what
- 29:02I was saying before about this principal
- 29:04component analysis thing um I feel like
- 29:06this is probably something that works a
- 29:08lot better if you have some graphics to
- 29:10look at as well because I think my
- 29:13explanation of explaining this amount of
- 29:14variant is probably a little bit
- 29:17difficult to take in Via audio but we
- 29:19did come across when we were planning
- 29:20for this episode a website called built
- 29:22in.com that seemed to have some good
- 29:25examples of how it works
- 29:28and there was this this graph of a thing
- 29:30that was
- 29:31rotating sort of helped explain what it
- 29:34meant by understanding the variants a
- 29:37scatter plot yes it was it was a scatter
- 29:40plot and we've got you know you want to
- 29:42sort of find the least distance from
- 29:47what you think is the median
- 29:49relationship between them all and if you
- 29:51know which one has the least variance
- 29:55from it or distance um you found the
- 29:58thing that is most related I suppose and
- 30:01if you change the relationship you can
- 30:03kind of see which ones are further away
- 30:06and which ones are less affected or more
- 30:09affected is that is that your
- 30:11understanding of it that's what it look
- 30:13like to me uh would you agree with that
- 30:16Emma given your different background
- 30:18like I feel you're not as close to this
- 30:20so if you can understand it then maybe
- 30:22other people can understand our Strange
- 30:25descriptions yeah no I I think cuz it's
- 30:27also like Antonio is essentially
- 30:29describing how you calculate the
- 30:31standard deviation by just the
- 30:33difference between I mean there all the
- 30:35factors but the difference between the
- 30:38mean and you know every data point and
- 30:40then it's searching to minimize that
- 30:42because then you can be more confident
- 30:44that the data does lie in that range um
- 30:47and so it does yeah it makes makes sense
- 30:50it's just it's searching for um the kind
- 30:53of regression line that best fits the
- 30:56data in the the Scout plot right or have
- 30:59I totally just taken that the wrong way
- 31:01I don't know how does this differ then
- 31:03from like a standard
- 31:06deviation I guess or is this like taking
- 31:09it a step further and looking at a whole
- 31:12host variables yeah I think this is more
- 31:15variables I think so the graph's looking
- 31:18at just two variables so X and Y on this
- 31:20graph right so and the line that it's
- 31:23sort of rotating around until it gets to
- 31:26the point at which all the data points
- 31:29like closest to that line it's
- 31:30essentially a line of best fit right
- 31:32yeah then you do does something to
- 31:34explain the co variance because there
- 31:36are two variables So Co which I don't
- 31:38quite understand but I think it's the
- 31:41gradient of the line that's important
- 31:43and it gives you something called an
- 31:45igen vector and that IG Vector is useful
- 31:47somehow see I said I didn't quite
- 31:49understand the math so I can understand
- 31:50some words I think that I think the I
- 31:53think here the IG vector and the IG VI
- 31:56are like representing in the the
- 31:57different solutions that you get and so
- 31:59to the one line of best fit you'll have
- 32:02an ion Vector an ion value that is you
- 32:05know for that solution so it's kind of
- 32:08searching through them all until you
- 32:09find it is what I would take from it um
- 32:13but also I think the co-variance comes
- 32:14from if these data points have errors on
- 32:17them because you have that a lot of the
- 32:19time whereas um you know if you have
- 32:20like an error in your X and your y uh
- 32:22you get like a data point and you get a
- 32:24little cross around it with the you know
- 32:26the where that data point be the
- 32:28whiskers or what else do they call them
- 32:31erab bars erab bars yeah thank you I
- 32:35know what you mean by whiskers though
- 32:36because you do get like box and whisker
- 32:37plots yeah and so when you search for a
- 32:39line of bestfit sometimes you can waight
- 32:41it according to you know how big those
- 32:43errors are because if you have a data
- 32:44point with a really large error you want
- 32:46that to be less considered into your
- 32:48results because it's more likely if it's
- 32:50not officially an outlier because that
- 32:52is an official definition of an outlier
- 32:55which is great because when you you can
- 32:57just you know get rid of the data points
- 32:59which are terrible cuz they're outliers
- 33:00it make sense but if they're not then
- 33:02you still have to include them and then
- 33:04they'll have like a large um error so
- 33:06you can try and do your
- 33:08analysis um based on those error bars
- 33:10and that's where covariance comes in
- 33:12because it's um kind of describing how
- 33:14the errors are influencing your line of
- 33:18best fit but there is no error bars in
- 33:19the spot but I imagine they're there you
- 33:21know what that sounds very similar but
- 33:24obviously for a different application
- 33:26which which is called U multi criteria
- 33:30decision analysis where instead of
- 33:32having error bars you're saying how much
- 33:35preference do I have for this variable
- 33:38so you use it in um sustainability you
- 33:42want to optimize for multiple variables
- 33:44so like environmental impact social
- 33:47impact economic impact and then you
- 33:50could rank how important those things
- 33:53are and then that helps you get towards
- 33:56the one answer so instead of having to
- 33:58consider like are wind time are wind
- 34:01turbines better for society or not
- 34:03because they could attack you know
- 34:05migrant Birds then you can then optimize
- 34:09where is the best
- 34:11placement for for the wind turbines in
- 34:13terms of like cost um wind output to
- 34:17then generate electricity effect on
- 34:20environmental impact effect on social um
- 34:23impacts like flickering to people
- 34:27um sorry just I'm saying flickering to
- 34:29people like it's this is a thing but I'm
- 34:32guessing if they were casting a shadow
- 34:33over like someone's Garden say and it's
- 34:35a frequency that might generate I guess
- 34:38an epileptic seizure or something I
- 34:40suppose is where you go ultimately or
- 34:41just be really annoying or just
- 34:44youche yeah it could just be not
- 34:47pleasant to have and people don't want
- 34:49that so then you could then say all
- 34:51right this is the thing that we need to
- 34:53optimize for or the thing that we care
- 34:56the most most about and want to
- 34:57prioritize addressing and then rather
- 35:00than having loads of solutions you could
- 35:03start to narrow down Solutions it seems
- 35:05very similar I would have never gone
- 35:07from 's example of like sort of
- 35:08confidence in data sets which I
- 35:10understood from physical science to
- 35:13where Antonio went with figuring out
- 35:15where wind turbines go but I do see the
- 35:17link so I guess you're just you're using
- 35:19the same maths pretty much just for
- 35:21different applications for similar
- 35:24principles I don't think it's the exact
- 35:25same math Maybe the mul criteria
- 35:28decision analysis can be a lot more
- 35:29simple but it's like ranking your
- 35:31priorities first and then waiting adding
- 35:35the weights to the score that they get
- 35:37because when em we started talking about
- 35:39so having your error bars on your data I
- 35:41don't remember any of the data that I
- 35:43was working with explaining what the
- 35:46error was on that measurement I guess
- 35:47because there was a lot of data anyway
- 35:49right and the errors presumably would be
- 35:51quite small in comparison to what you're
- 35:53measuring because these are all sensors
- 35:55that people check as you say say Antonia
- 35:57and they' set them up to be a certain
- 36:00way so you don't necessarily need the
- 36:02error on that measurement as well it's
- 36:05just sort of an inherent part of the
- 36:06system it's not what you're interested
- 36:07in I guess for engineering applications
- 36:10but for physics it's not a result
- 36:12without an error bar is what I was
- 36:13always taught yeah yeah yeah yeah that's
- 36:16right that is right so I guess that
- 36:18that's quite a good place to leave it
- 36:21thinking about this sort of interaction
- 36:23between how physicists apply data
- 36:25science and how Engineers might apply it
- 36:28in a different way but to solve slightly
- 36:30more I don't know how what's the best
- 36:32way of describing Anton I want to say
- 36:33it's more complicated or more real world
- 36:36application as if physicists just aren't
- 36:38doing as good a job it's a bit more
- 36:40theoretical it's definitely more like
- 36:42apply to a situation in action I don't
- 36:46know more practical yeah something
- 36:49that's Dynamic and has external
- 36:50variables versus something that you
- 36:52would normally control a bit more
- 36:54because that's what physicists like yeah
- 36:56I guess I guess that is it it's in the
- 36:58uncontrolled world or you're like trying
- 37:00to observe something that there are lots
- 37:03of variables and you're trying to narrow
- 37:05down which ones matter but I suppose you
- 37:07could say the same for physics when I
- 37:08was taught physics at undergrad it was
- 37:10very much here is an algorithm that you
- 37:13apply to a defined problem and it was
- 37:15all very like textbook stuff and I
- 37:18couldn't work out why you had to do it
- 37:20that way and why you couldn't do it some
- 37:21different way there was no scope for
- 37:24putting in that random variable I don't
- 37:26know if that's what you'd say of it Emma
- 37:27because I mean it's been 20 years since
- 37:29I studied physics might have
- 37:30changed yeah I'd say I don't know I feel
- 37:33like there was a lot of the time where
- 37:35I've done things with things we haven't
- 37:37seen before or you know had random
- 37:40variables kind of like integrate them
- 37:42into the issue and then you kind of have
- 37:44to deal with but then like when you have
- 37:47you have like you know Randomness in it
- 37:49it always turned into a large data set
- 37:50problem so all the things you know you
- 37:52could really do like some not easy stats
- 37:54on it but it was kind of like I don't
- 37:56know like it was all very farfetched
- 37:59like I don't know I did big data
- 38:01problems on like particle physics and
- 38:02stuff that you know I'm never going to
- 38:04personally do and like isn't impacting
- 38:07much because of all the approximations
- 38:09that are a part of it at the level that
- 38:11I did it anyway I imagine people are
- 38:13doing really impressive things in their
- 38:16actual you know jobs but um as a little
- 38:18undergraduate project not really doing
- 38:21much um so I feel like in terms of like
- 38:23impact on lives for the stuff I was
- 38:25doing it was thing yeah I wouldn't say
- 38:27the maths that I use is more complicated
- 38:30it's almost like I'm using the same
- 38:32logic to apply to different places and I
- 38:34still and I still get like different
- 38:36results and I'm trying to figure out why
- 38:39is it is it something that is happening
- 38:42for real or is it something something
- 38:45that we actually need to uh mitigate or
- 38:48maybe we can follow on some of these
- 38:50conversations in another episode and
- 38:52kind of figure out a bit more where the
- 38:53similarities and differences lie yeah
- 38:56they science is a big topic and there's
- 38:58this great blog towards data science
- 39:01which people contribute how they've
- 39:03applied it and found
- 39:06interesting uh results from as well yes
- 39:08there are loads of other resources out
- 39:10there from actual data scientists as
- 39:12well as people that use bits of data
- 39:14science in their careers and in their
- 39:17studies that's well worth checking out I
- 39:19think ultimately what we're saying is
- 39:20there are different levels of applying
- 39:23the maths to get what you need and as
- 39:26long as you understand how you're
- 39:27applying it and you understand what
- 39:28you're applying it to that's the
- 39:30important thing so I suppose we'll leave
- 39:32it there thanks for listening and we
- 39:34will look forward to a future
- 39:36episode The Views expressed in this
- 39:38podcast belong entirely to the person
- 39:40that said them they do not represent any
- 39:42industry or organization if you enjoyed
- 39:44listening to these views it would really
- 39:45help us out if you could rate US leave a
- 39:46review and tell a friend this podcast
- 39:48was sponsored by no one but if you're
- 39:50interested in funding us to continue to
- 39:51have Frank discussions about science and
- 39:52engineering please get in
- 39:55touch
- 39:56[Music]