Hugo speaks with Tanya Cashorali, a data scientist and consultant that helps businesses get the most out of data, about what end-to-end data science looks like across many industries, such as retail, defense, biotech, and sports, including
scoping out projects,
figuring out the correct questions to ask,
how projects can change,
delivering on the promise,
the importance of rapid prototyping,
what it means to put models in production, and
how to measure success.
And much more, all the while grounding their conversation in real-world examples from data science, business, and life.
In a world where most organizations think they need AI and yet 10-15% of data science actually involves model building, it’s time to get real about how data science and machine learning actually deliver value!
Get full access to Vanishing Gradients at hugobowne.substack.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00Hugo Bown Anderson here, your friendly neighborhood podcast host. Today, it is with great pleasure that I'm speaking with Tanya Kacharelli about end-to-end data science. Tanya is a data scientist and consultant that helps businesses get the most out of data across many industries, including government, healthcare, telecommunications, education, financial services, and life sciences. Tanya is also the founder and CEO of TCB Analytics, a consulting firm specializing in data and analytics with
experience building
SPEAKER_00comprehensive solutions designed to help clients most effectively extract actionable insights. So in this episode, we're going to be talking about what end-to-end data science actually looks like across many industries, such as retail, defense, biotech, and sports, including scoping out projects, figuring out the correct questions to ask, how projects can change, delivering on the initial promise, the importance of rapid prototyping, what it means to put models in production,
SPEAKER_00and how to measure success, one of the holy grails of the work we do. So a bit of bookkeeping before we jump in. I'd honestly love to hear from you about what resonates with you, what doesn't, anybody you'd like to hear me speak with, along with topics you'd like to hear more about. The best way to let me know currently is on Twitter. At Vanishing Data is the podcast handle, and I'm at Hugo Bowne. It would be great if you could subscribe to the show on your app of choice. And if you like it, do write us a review on iTunes and or anywhere else. Also, this episode was recorded as a YouTube live stream.
So when we occasionally refer to people commenting in the chat, that's what we're on about. We plan to have more such live streams and you can subscribe to our channel to keep up to date.
SPEAKER_00The link's in the show notes. Now, in this conversation, Tanya talks us through some shiny, that's our dashboarding tool, our shiny code that she screen shared. We do our best to talk through it, but definitely check out the video also if you think it would help. And we actually have a live stream coming up soon with Eric Ma about research data science in biotech. And we'll include the link in the show notes to sign up if you'd like to come and join us for that. So Eric leads research data science in the data science and AI group at Moderna Therapeutics.
SPEAKER_00Prior to that, he was part of a special ops data team at the Novartis Institute for Biomedical Researcher's Informatics Department, and Eric does so many more things, including we're actually writing a book together on Bayesian inference at the moment, and we may even talk about that. So I hope to see you there. All right, let's jump in. I'm your host, Hugo Bowne-Anderson, and welcome to Vanishing Gradients.
so Tanya I'd love to kind of know your origin story how you got into the data world
SPEAKER_00so maybe you could tell us a bit about your journey to where you are now
SPEAKER_01My origin story. It's like a Marvel hero.
SPEAKER_00It is, isn't it?
SPEAKER_01It's not as exciting, though.
SPEAKER_00Or even more exciting.
SPEAKER_02Yeah, maybe. Well, I was born in 1985. I always liked computers. I always liked technology. I think I would play on my friend's computers. And then we finally got one, I think, when I was in seventh grade or something. But regardless, I remember... family friend showing me something called QBasic. And he's like, yeah, you can enter in commands and make your own programs and code. And I think the very first thing I coded was an insult
generator in QBasic.
SPEAKER_02It was like a list of adjectives and a list of nouns. And it was very juvenile insults back then. It was like, you dirty pile of maggots.
SPEAKER_01You'd like...
SPEAKER_02Generate it. And so anyway, I always knew I wanted to do something with computers. Majored in computer science and ended up adding biology because I took an elective in neuropsychology and got very interested in the brain and neurotransmitters. And I then learned about this whole field called bioinformatics, which is like... analyzing molecular data. So gene expression data, genetic data, proteomic data, basically all these inner workings of the body to help further personalized medicine, personalized cancer treatments.
SPEAKER_02And I was just... blown away by that whole world. So anyway, I got very lucky at Northeastern to work my first co-op, which is an internship program at Northeastern, where you work for six months full time, and then you go back to school six months. So you're doing the real world and then back to class. And I got to work for very well-known PhD MDs at Harvard Medical. And I had no idea what I was doing. They threw me into R in 2005. And before I knew it,
SPEAKER_02I was just...
SPEAKER_00And so you were in Boston area at that point, which is such an amazing place for this type of work as well, right? Like biology, biotech now, bioinformatics.
SPEAKER_02Exactly. So I felt like I kind of got in on the ground floor with that stuff. I mean, I was somewhat of an early adopter of R because of that. Beautiful. 2005. Yeah. My boss was like, you're gonna go learn something called R. And I printed out the entire crayon booklet and brought it home over summer break and started flipping through it. And I was like, wow, this doesn't look easy.
SPEAKER_00And there was no tidyverse then? Were there even data frames in R at that point?
SPEAKER_02Yes, but there was no... There was a lot of matrix work. We were doing a lot of stuff with matrices. There was no... I think ggplot was barely out, if at all, at that point. That's why I get so excited about the Plotly libraries and the D3 libraries and Shiny being able to put together a whole web app because it used to just be like, you print your charts, you put together maybe a presentation and that's it. It just kind of collects dust. And now we build these living, breathing data solutions.
SPEAKER_00amazing and for those who maybe don't know what ggplot is it's for data visualization the other types of tools we're talking about we'll get we'll get into what what they are what they do and why they're useful i i will add this was a decade later that i was living and working in connecticut working in cell biology and biophysics and i wasn't specifically working in genomics or bioinformatics but i was working with a bunch of people who were and that's when i started using r a lot as well and particularly i mean R became the programming language R, the data work became prominent across a lot of different disciplines.
SPEAKER_00But as far as I could tell, biology in basic science research was one of the big ones where it demonstrated a huge amount of value. And I'm thinking, you know, I work in Python a lot as well. So compared to Python in biology, R was incredibly strong.
SPEAKER_02Yeah, it was a lot of biologists using it, a lot of statisticians using it, and a very high presence in academia. And that's kind of where I started. And there were a lot of packages that could analyze this microarray data, which is the gene expression chips that are coming off these very expensive machines. So to have a free tool that did all that was just really amazing, I think. Yep. Back at that time. But yeah, then I did a couple startups. I did a couple biotech companies. I worked outside of healthcare for a bit, came back to healthcare,
SPEAKER_02ultimately started TCB Analytics in 2015. So we're going into our eighth year of business.
SPEAKER_00Congratulations.
SPEAKER_02Thank you.
SPEAKER_00Yeah, it's been fun. And so in between 2005 and starting TCB, you worked for some pretty big places as well, right?
SPEAKER_02Yeah. So my first job was working at a biotech startup called GNS Healthcare, run by incredibly talented, smart PhDs out of Cornell. These were physicists, statisticians. My boss was the guy that worked on the initial microarray chip. And then after I left there, I learned just a ton there. I was just a sponge. That was my whole thing. Early on in my career, I just learned as much as I could from all these people that are way smarter than me. And then after that, I ended up going to a distributed databases company called Basho,
SPEAKER_02which they were the creators of React, which is a NoSQL, kind of like a MongoDB database company. After that, I wanted more management experience. I went to a telecom data company called Comlink Data. where i ran the data team built out the data products there and i think they were acquired a few years later i went back to biogen big fortune 500. they're the big drug maker for multiple sclerosis and yeah i was there about nine months and i'm lucky my boss was very supportive when i left
and he said well bring us on as a client and so i got to work with a bunch of different departments at
SPEAKER_02biogen and we still work with them incredible Yeah.
SPEAKER_00It must be, I suppose before we dive more into what you're up to now, the differences between working at a place like Biogen and running your own consulting firm doesn't seem like there are things as different as those two, right?
SPEAKER_02Yeah, very different. It all comes down to personal preference too. I'd say I really enjoyed learning from people at my first job and delivering on these high-profile projects for the Pfizer's and the Merck's of the world. But after a couple of years, you just feel like, okay, I'm a cog in a wheel. And I was at a small company. I did startups. But you're feeling like, okay, I'm starting to do a little bit of everything. I'm helping write proposals, helping sell and bring in business,
and I'm delivering on projects.
SPEAKER_02So I'm thinking, I don't have that much stock option. I don't have that much stake in the company. Yeah. And I'd wear myself out. I would just go hard on all my jobs that I had because I just I enjoyed it. I enjoyed what I did. And so I didn't like sitting at a cubicle desk all day either. I didn't like answering to someone, whether it's my boss or just having to be somewhere at all times. I enjoy my freedom and flexibility. I think a lot of people after COVID are probably in the same boat now. But yeah, just a lot of reasons. And I like making decisions,
being able to do things the way I want to do them.
SPEAKER_02So for me, yeah, starting my own company was the way to go. Some people actually prefer that structure, being at the office every day, working on something, doing one thing very well for a long period of time. And that's one thing I did enjoy while I was at Biogen was, I'm just gonna focus on one project, take my time, learn some things while I'm here. But I'll be honest, I got bored very quickly.
SPEAKER_00Yeah, absolutely. And I do, I mean, I've worked in and out of startup land for some time now and several early stage startups and so different to academia. I mean, one thing I really love, you don't necessarily have all the support you do from a big bureaucracy, but there's so much less red tape and the project turnaround time is so, I mean, you know, particularly working in scientific research and biology, it could be two to three years between start of a project and end of a project as opposed to like weekly or sub or under weekly turnaround times in startup land.
So the excitement of that for the time being and the past half a decade to a decade
SPEAKER_00for me has been incredibly exciting.
SPEAKER_02The red tape is huge too. I like being able to just go to AWS, like spin something up and I don't have to put it through 10. I got to go through Weagle to write a blog post.
SPEAKER_00Yeah. And in all honesty, I don't mind a bit of red tape when I understand why it's there. But when it, you know, when I feel like I'm wrapped in it, you know, and I have to tear it off my face.
SPEAKER_01You don't want to be a Christmas gift with all the bows.
SPEAKER_00Exactly. Exactly. So maybe you can tell us a bit about your business now and what you do.
SPEAKER_02Yeah. So we still have quite a strong presence in life sciences and healthcare. So we work with big pharma, a couple of big pharma companies. We actually just signed a couple of new small pharma. And when I say small, I want to say more like anywhere from 50 to 500 employees. And I really enjoy those because the group we're starting to work with is... They're our enthusiasts, and they want to learn more, and they've already got our Connect set up. And they've got a really cool opportunity as well where they
have information on
SPEAKER_02patients, their cancer patients, and the process they have to go through to get access to the drugs that this company is creating. And there's hang-ups and there's financial assistance programs that they have to go through. There's shipping. There's all kinds of delays that can happen along this process from drug to getting it to the patient. And right now, the way they have to identify those bottlenecks is just very manual through Excel. And I was like, Oh, this is perfect. We can build you a shiny app that... Automates all of this,
SPEAKER_02gives you exactly where the hangups are, points you to the right place, says, hey, I need to make a phone call about this patient because they haven't received their medication and it's been X number of days. That's one example. But yeah, small pharma like that, the big pharma, we do a lot of work around clinical trials, helping them either manage their clinical trial data from an operations standpoint, like which sites are recruiting patients the fastest, which ones are lagging behind and why. And so we do a lot of work on that. And then we work outside of healthcare. So we work with...
Actually, some of the demos I have lined up are around a sports tech company.
SPEAKER_02And their whole... value prop is that understanding and engaging the fan of the future. So the way we engage with sports content, as you probably know, has been changing. We used to watch it on the TV or listen to it on the radio. Now we've got apps. We're betting on the game where you can bet inside some of the stadiums. You can interact with the athletes on social. So they're at the forefront of how do we engage with the future fan, the younger fans,
SPEAKER_02keep people engaged and coming back to consume that sports content. So yeah, I'd say it's kind of all over. We also work in financial services, government, as you mentioned, education. Anywhere that there's data where data is kind of being generated as a result of day-to-day business operations or where data is their product, typically you can work with them.
SPEAKER_00Great. And I do want to jump into kind of the work you do in these industries and the value that you think data science can generate and maybe what we're missing as well. But before that, we've mentioned Shiny and Archonnect a few times. So maybe you could just say a bit about what kind of the different tools in the landscape that you use are just to set the scene.
SPEAKER_02Yeah. Well, from a lot of R. R is a programming language that Hugo and I were talking about. I think it's very beginner-friendly if you have never programmed before. It's got a great community, really friendly people online to help you. And then, of course, SQL. I think having SQL knowledge in general is key because a lot of the tools now like Tableau, Looker, the business intelligence tools, what they're doing under the hood is SQL anyway. And it can be a dangerous thing where it might be doing
something you think looks right.
SPEAKER_02But when it abstracts away the SQL, if you're not able to check that, you can get in trouble there. So tools like Tableau, R, SQL, we're doing a lot of work with Snowflake lately. It's the columnar database that enables you to just very quickly load data in massive data sets and query them very quickly. So we'll connect our Tableaus or our Shiny apps to Snowflake. some Python here and there for more like when we're building kind of data pipelines. So moving data through, adding checkpoints and testing.
SPEAKER_02And I'd say that covers probably most of it. If I think of another one, if it comes up, I'll let you know, but that probably covers a lot of it.
SPEAKER_00And so Shiny and Archonnect as well.
SPEAKER_02Yeah, Shiny for the dashboarding. We're actually making a big focus towards Shiny this year. We're shifting gears away from more of the... We've done some more of the back end like data structuring and optimization and databases. And we're moving more towards... We want to focus on what we're good at, which is we'll build you a data product that's going to help you actually take action on those insights in a way that is useful and not just slapping together a bunch of charts somewhere that looks pretty.
SPEAKER_00Exactly. And I think something we'll get to is how Shiny and dashboarding tools in general, but Shiny in particular, have allowed you to rapidly iterate with clients, not go and build something in the abstract and then you deliver it, but show them prototypes and get their feedback, inject their domain expertise into it and figure out what's most useful for them as well and the rapid nature of that. But before we get there, I suppose I'm wondering, what is some of the biggest value that you think data science can deliver to businesses that you've worked with?
Yeah, I think the biggest value we've seen is typically around distilling.
SPEAKER_02Anytime you have a lot of data and there's a manual process involved with distilling it down into something that needs to happen, that's where we have the biggest, I think, impact. So it sounds obvious, but you'd be amazed. There's a lot of clients that will come to us and think they need machine learning or something or think they need this... fancy visualization or dashboard when really they just need a little bit of automation and the answer put in front of them. So for example, the Biogen drug manufacturing work we did
SPEAKER_02there is a process when drugs are manufactured. And it's a very expensive, very time-consuming process. And you can imagine it just as pieces that go into the recipe to make the drugs. If one of those lots or pieces is contaminated or something is wrong, it goes through every step and it forms a new combination of recipe or a piece in that recipe. And then it forms another one and you have this kind of tree that goes from... beginning to end, you get a lot of things to check and you've got to figure out
when did the
SPEAKER_02contamination come in and what else is affected downstream. So they were doing this highly manually, pulling data from SQL, putting like five, ten people on it. It would take them months and months to... They'd have to shut down drug manufacturing and find the culprit and then resume. And that sounds incredibly expensive as well to shut down manufacturing, right? Exactly. And this is a common problem. This is... Across all pharmaceutical companies, they have this issue. So we built something that allows them to search that data,
SPEAKER_02it pulls up basically a tree, it builds a network diagram, and you can keep walking through it and get to... It essentially is a guided user exploration tool. And at the end of the day, we cut down from that five-person team six months to one or two people in a week to find that problem. And so that's hundreds of thousands of dollars, if not millions of savings just from this Shiny app that we
built in collaboration
SPEAKER_02with a scientist there who was awesome. He was very good at just coming to us with initial requirements and mock-ups, and we iterated really fast with him.
SPEAKER_00Amazing. So one thing I'm hearing here is that people may want machine learning, AI, all of these types of things. But a lot of the time, if people are doing stuff manually and spreadsheets and like passing things along via emails and that type of stuff, that there's a lot of low hanging fruit in terms of automating these kind of rote repeatable tasks. And that's where a lot of the value can come in.
SPEAKER_02Yes. Automating it and then presenting it in a way that's easily digestible quickly. So I'm like, I know what I need to do. Bubble it up to me because I don't want to sit around clicking around a dashboard and be overwhelmed with a million things to look at. So this is really interesting because people used to do this bubble up, I suppose.
SPEAKER_00I mean, I don't particularly like the term insights, but I'm a bit feeling it's Saturday morning and it's 9.30. But people used to deliver insights in PowerPoint presentations and now we're able to deliver it in interactive dashboards. And that seems almost like a paradigm shift, right? In a lot of ways.
SPEAKER_02Exactly. Yeah. And that was actually part of the thing that got me to start my company was I saw these vendors coming in, charging hundreds of thousands of dollars, and all they would deliver was a PowerPoint. And I thought, well, I could do better than this. Yeah, absolutely. And for less. We're small. We're a startup. So we'll be scrappy. We'll do way better than these. I don't want to name the big four consulting firms, but we can do better than them. So that's what we did. And PowerPoint's not terrible either. I like to use it when I'm iterating over just the results so
far, the progress to date.
SPEAKER_02But ultimately, I'm going to deliver you something that's living that you can use moving forward.
SPEAKER_00Yeah, absolutely. Something you said to me last time we recorded a podcast, which must be five or six years ago or something like that. And I've heard you say this elsewhere, I think, is that you want people to be jumping into data in the future the way people adopted email a couple of years ago. That's a poor paraphrase, right?
SPEAKER_02No, I know exactly what you're talking about.
SPEAKER_00Yeah.
SPEAKER_02I still believe that. Yeah.
SPEAKER_00And I suppose my question and or statement is, I think what you do in building Shiny apps and these types of tools in general is part of this movement. But I suppose how do you see that's panned out so far?
SPEAKER_02I see it happening slowly. I think we have to be the stewards of that process where I want to show you what I'm talking about. When I say that you think you're asking a simple question or you think counting isn't hard, but it is, I'm going to show you what actually happens when I put together what you're thinking in your head. And then you're going to see how many different things and nuances actually occur once we actually start building. And then the more you get to see the data, because I'm going to show it to you somehow in Shiny or whatever it is,
SPEAKER_02your question is going to come to life through data. And then you're going to see, Oh, when I start slicing and dicing by all these different areas and segments, I end up with a sample size of two. Right? It's just getting them thinking and starting to see it more and more. And I'm starting... I am starting to see more of my clients who I wouldn't necessarily... I wouldn't normally give access to a dashboard. I wouldn't normally have them involved in the process. I'm just seeing more people get involved. And so I think it's getting there. But yeah,
I think between Excel and looking at tables and understanding just aggregations,
SPEAKER_02it's going to be... If your job has anything to do with data, you've got to be like... looking at data. You've got to know the data set you're working with to some extent.
SPEAKER_00Very much so. And for all the crap that Excel gets, for good reason as well, a lot of the time, it is an incredible tool that opened up the world of data to millions, if not tens of millions of humans around the world, right?
SPEAKER_02Yeah, no, it totally is. I have my qualms about it. I will use it for certain things. There's things where I hate that it destroys my dates or it does stupid things. But I try to also explain the brittleness. When I see something that's being used in production in Excel, I'm like, no, no, no, let's get away from there and write a script or put it behind a dashboard. But our dashboards, we usually have an export to Excel button because... All our clients, they live in Excel, and then they can go and do whatever they want with the data as well.
So sometimes our dashboards are really just a way to standardize the SQL so that
SPEAKER_02the client doesn't have to write the SQL. And some people would say, well, why not just use Tableau then? And it's like, well, there's things we can do in charting. There's more flexibility I have in Shiny, depending on the use case.
SPEAKER_00Yeah, totally. And I think speaking about what Excel does with dates and that type of stuff, I think there was a repo that I saw a while ago that it was like Excel fails or something like that. And it's all the things, like 100 different examples of Excel doing something nightmarish.
SPEAKER_02You know about the gene symbols, right?
SPEAKER_00They're all... Oh, yeah.
SPEAKER_02They get transformed to dates.
SPEAKER_00Exactly. There's like millions of them out in the literature that they're just... Wild, isn't it? Yeah. So this actually, before jumping into the ins and outs of end-to-end data science, if we're talking about fails and failure modes, we have talked about some of the biggest value that data science can deliver. What are some common failure modes or how can data science fail?
SPEAKER_02I can feel a lot of ways. I'm not one of those people that's like, you know, I am kind of a pessimist in a sense. I saw JD join, by the way.
SPEAKER_00Yeah, yeah. He's made some great points as well. Actually, he made a point that looking at data is fantastic. Making sure pipelines have access points to peek into data being transformed, which is, yeah.
SPEAKER_02Yeah, I like that. More transparency in general to the business or to whoever's using it is just, I think, a requirement. It's key. Otherwise, I want to know how something's working before I start putting it out into the field, at least to some extent. But maybe that's just me. But no, sorry, we were talking about... Failure modes.
SPEAKER_00Failure modes, yeah.
SPEAKER_02Yeah. Again, people think that there's this magic data science box and you put the data in, just feed it in, and then out comes insights and profit. And that's that transparency part that I think is still lacking for a lot of people of what goes into this. So failure mode is number one. Starting and just doing stuff. I've seen this happen all the time. Standing up big clusters, getting a Hadoop cluster, Spark, whatever it is, Databricks, and then just putting all the data into a data lake.
SPEAKER_02And so you're checking off a box, but no one knows what the point is or what they want to do with it. So failure mode number one is not formulating a question in the first place.
SPEAKER_03Mm-hmm. Data science is not this magical thing where if you just throw the data in, magic stop appears.
SPEAKER_02And it's one of those things where... I think that the biggest thing, and you and I were talking about this earlier, is communication. Yeah. You tell me you want all this data together. You want to visualize these charts. You gave me 20 ways you want to visualize data. But can you tell me why that is? What are you ultimately trying to do? And after having that conversation with the client, I usually could come away with a better grasp of what it is they're trying to accomplish, and then build them something rather than just generating charts and sending them
SPEAKER_02reports and PowerPoints. It's like, let me just give you a tool that's going to do what you need on a rinse and repeat basis. But that process can be difficult, especially if you're not in direct communication with the end users.
SPEAKER_00Yeah, and ideally it is iterative and bespoke. There are patterns we can form, but it does come down to the actual question. One thing I'm hearing here is doing your best as possible to tightly couple the data work to the actual business question.
SPEAKER_02Yes. Tying it back to... I'm always asking, well, why? Why do you want to do that? And sometimes people just don't have a good answer. And then we got to go back to the drawing board. And I say, well, I'm not just... I don't want to just make charts for fun. Let's figure out why you want to do this. And then sometimes, other than that, usually we get there. The other failure mode, I think, is trying to be too thoughtful upfront and build up detailed requirements. And I'm beating a dead horse about this, this rapid prototyping idea,
SPEAKER_02but I still firmly believe in it. It's still been very successful. I was just on a project where the requirements document was pretty good. I could go back to it and look at the R code and figure out if things were working the way they were expected. But I'd ask questions about, hey, can I reference this in the requirements document? Because I need to update the code. And they'd say, no, no, that's out of date now. I think, okay. Well, then where are we gathering all this updated information? Where's this updated information coming from? Well, the updated information was coming from the scientists and the
clinicians.
SPEAKER_02And it was just being relayed in emails and all over and here and there. And so it's just... You have to iterate. I think you build a v0, you put it in front of your scientists or your users, you get that feedback, you track it somewhere, and you make a few small changes and you put it in front of them again. But it just doesn't work if you're thinking you're going to anticipate every little thing with a data product at the outset.
SPEAKER_00Absolutely. So I think this is a really nice segue into the importance of rapid prototyping, which we've mentioned a few times. I don't know whether it'd be worth talking through a specific example where rapid prototyping has been really important or just general patterns or...
SPEAKER_02Well, I do have screenshots of some examples. I have some Shiny apps that are examples, but I don't know if you want to save any of that for later.
SPEAKER_00Let's save them for later, I think.
SPEAKER_02Okay. For the end. I have a good example that does have some slides on the rapid prototyping.
SPEAKER_00Great.
SPEAKER_02Okay. Should I share that?
SPEAKER_00Definitely. Okay. And what I'll try to do... I'm just making you co-host. What I'll try to do is talk through it because we're going to release this as an audio-only podcast as well.
SPEAKER_02Oh, okay.
SPEAKER_00All right.
SPEAKER_02So there's this use case that... I think this is an awesome one. I still talk about this. And we're still working with them. But they're a hardware manufacturer. They make the diagnostic instruments for hospitals around the world. And when you get your blood work done in the hospital and it comes back really quickly, that's them. That's what they make.
SPEAKER_03Amazing.
SPEAKER_02And with any hardware, there's going to be hardware failures. And so they were manually identifying those faulty instruments after they were deployed in the field, which is pretty typical. There's a complaint that gets sent in, it gets shipped out, gets repaired or whatnot, sent back out. But one of our contacts there saw this and thought, there's no way that we couldn't catch these first because there's a ton of data coming off these machines. And so the data is a bunch of metrics at various time points, And I thought this is a perfect use case for anomaly detection.
And so the rapid prototyping idea that comes into play here is I started with just
SPEAKER_02different iterations of the anomaly detection first, where let's try removing outlier values first. Let's look at different proteins and different time points. And you start to realize you're doing all these combinations And then I'm looking... I'm paging, literally paging through charts and paging through charts. And it got to the point where it just seemed to make sense to put this in a Shiny app. And this is why the rapid prototyping Shiny is so good for this
use case in general.
SPEAKER_02Because now, instead of having to look through... 100 charts. I can just make some dropdowns. I can change the parameters. And then I can give this to the client and also get his feedback in semi-real time versus this kind of async. I have to make the charts. You have to wait on me. And then I have to get your feedback and I have to go back. And so this enabled him and I to communicate so much faster. He would run these on real data too. And he'd say, hey, Tanya, this popped up. What does this mean?
SPEAKER_00Amazing. And it sounds like that going through these types of apps with an end user seems like there's so much utility there in terms of you getting their domain expertise through it, them understanding what you're getting, you getting feedback on what you're building for them as well, them understanding what you're intending to present. It seems like we're hitting like three or four really important points there in terms of what this type of iterative rapid process delivers.
SPEAKER_02Yeah. And I'm a visual learner in general. I need to see things. I want to see the data. Just give me the data. Let's build something and react to it. And the other thing that's nice is all these parameters. He can now play around with... These are essentially like parameters to a model where he can play around with different thresholds and figure out what works best. So I'm not relying on some model, just tell me what's perfect. Sometimes it's a combination of the human knows best, you know, whole human in the loop thing. And he knows this data better than I do.
SPEAKER_02So let me see what he thinks by examining it visually. So it's this whole feedback loop that it enables as well that I think is just critical. So that was the one example I was going to mention, but then I do have, of course, a few others and I was going to demo those Shiny apps as well.
SPEAKER_00Yeah. So let's save that to the end. That's a little teaser of where we'll be going. I'd like to just, before diving into any more details, to just have a think through and reason through what end-to-end data science actually means to you and what all the moving parts are from start to finish.
SPEAKER_02Yeah. And I remember you asked me, it was a good question, like, do we call it full stack data science or end to end? And I was thinking, you know what, that's a good question. And really it is about, it's the end to end process because we're talking about really the people. So the way we think about it is number one, I want to be there at the outset of defining the goals. If I'm not, it's not already a failure. It could probably be salvaged, but you can't find a needle in a haystack of data if the haystack was created in a
SPEAKER_02vacuum. If that makes sense.
SPEAKER_00That makes perfect sense, strangely. It was a wonderful mixed metaphor, but I loved it. In a haystack vacuum, no one can hear you scream data. Sorry. Okay.
SPEAKER_02I'm going to have nightmares about that now.
SPEAKER_00Well, it is Friday the 13th.
SPEAKER_02I remember when I worked at the biotech company, there were times where we'd come back or we'd get... It's always the case that salespeople go and make all these promises. I'd be talking to the scientists after and they'd say, you can't do that. The experimental design for this project, it just wasn't set up to do that. I mean, the laws of physics can't be broken to make this happen, right? Yeah. So we're not talking to that extent, but it is sort of at that point where it's like, look,
I want to be there to talk to the end users who are going to use the tool,
SPEAKER_02who are trying to take action, and let's make sure that we're collecting the data appropriately so that you can answer those questions and you can take the appropriate steps needed after you look at this tool. So to me, it's a whole process that goes from... Initial meetings, which is why when we're scoping, we're always asking about who should we be talking to. We do stakeholder interviews. We talk to the right people. And then it goes to this kind of what I call like a collaborative kind of mock-up
SPEAKER_02wireframe process. And this is where you start to get them thinking about how are you going to use this thing? How do you envision using this? And we'll actually live create a mock-up with them.
SPEAKER_00Amazing.
SPEAKER_02And we're like, oh, so how are you thinking about... Because people will just throw stuff out there and I'll say, well, where do you think that's going to live and how do you want to control that? And then they start thinking about it.
SPEAKER_00So this would be a live mock-up of the Shining app?
SPEAKER_02Yep, exactly.
SPEAKER_00Yep.
SPEAKER_02Really helpful, actually, to do that. I highly recommend it because then you're not going back later and moving stuff all around. It's like no one knows how to use it.
SPEAKER_00I don't remember where this is, but I heard you recently speak. You gave a really nice example. I hope it was you. I hope I'm not messing this up. Trading apps, right? Trading. Yeah. I think the example was if your stocks have gone up a certain amount and it's obvious that you probably want to sell at that point, having the button... next to it saying, hey, sell, instead of having to dig deep three levels down and click through.
SPEAKER_02Yeah, yeah, yeah. Like having very clear call to actions somewhere on your dashboard is huge. Having very self-explanatory instructions or tool tips or anything that guides the user through this whole experience. Because when you're building something too, it's very easy to look at them and think it's obvious, but you're looking at it every day. So I try to make it almost like, yeah, hey, here's what you do.
SPEAKER_00Or the export to Excel button that you mentioned earlier, right? Like having something as simple as that, which provides a huge amount of utility for the end user.
SPEAKER_02Yeah. And there's a lot of nice art packages that do a lot of this cool stuff for me.
SPEAKER_00So it's nice. Awesome. Okay.
SPEAKER_02Sorry. Yeah. So then, so yeah, we mock it up and then I'll put together a very basic, like a V0 or a prototype or POC and connect that either to extracts or live data, depending on the access we have. And we'll start very simple and we'll put it in front of them. Great. Now, the floodgates open. All the ideas, all the things that weren't in the requirements stock, if there was one, all the gotchas and the little weird things about not enough
data here and the edge cases here and how I want to visualize this and how I want to drill down and how I
SPEAKER_02want to navigate. You just get everything now. It opens up everyone's creative juices. Suddenly, everyone has ideas. And that's good and bad, right? Because now you got to prioritize as well. So what we do is we collect all that feedback. And we'll have a meeting and walk through it. And I'll give them estimates. I'll say, here's... If you need this, this is how long it will take. But this has to fall to the bottom. And based on their client needs, they'll hopefully prioritize accordingly. And then once they feel comfortable with it, we've had some internal testing.
I always try to get internal testing resources because we're a small team. Also, I'll just keep our costs down and we can focus on what we're good at.
SPEAKER_02They know their data. Yeah, go through some testing phases, start to mature up the app, whether it's clean up the code, optimize it, make things faster, connect now to live data, and then deploy it on their ARK Connect or whatever it is. And it depends on the client, but there's even clients where we've deployed prototypes internally just for them to test on our Connect. So it depends on if it's an internal tool only or if it's like we need to serve this up to our customers. Typically, we're making Shiny apps that are for internal consumption.
But we have a few coming up that are probably going to go from internal consumption
SPEAKER_02to client-facing, which I think is a fun segue. Yeah. You got to figure out the personas. Who's using it? How do we make this better? How do we now set permissions up for the clients to use it? What do we want the client experience to be, right? It can be a little quick and dirty for internal, but it becomes a different ballgame when you deploy it for clients.
SPEAKER_00Absolutely. Yeah. The expectations are totally different at that point, right?
SPEAKER_02Yeah. And I just tell people when we're in the testing phase and prototype, this is not the word of God yet. Don't tell anyone it is. Until we go through this testing and everything, this is art of the possible. We're in development phases. And this is the pros and cons of rapid prototyping is people see that really nice shiny dashboard and they think this is a finished product.
SPEAKER_03Yeah.
SPEAKER_02And it's like, no, this is very much not. This is an intermediate product that is a work in progress. Yeah. And it can be a work in progress for a long time. It's just you got to check the different boxes of what we feel really good about what's really been tested. and go from there.
SPEAKER_00Totally.
SPEAKER_02That's my like fluffy high level. I don't have like a, you know, that's the general process we use.
SPEAKER_00Yeah. No, that makes a lot of sense. And I appreciate you spilling that out. And I'd love to kind of dive into a few of the details there, starting with how do you even think about scoping out projects and maybe going through to how you think about measuring success at the end. But yeah, maybe we can jump in and think about the scoping phase.
SPEAKER_02Sure. So we're flexible. That's the nice thing about being a small company. When we feel... We have a few discussions at the outset. If we feel like the guidelines are not very clear, if they don't have concise goals in mind, if there's too many unknowns, that's when we'll do more time and materials. And we're going to say, look, we're just going to come in and do a one month exploratory scoping. honestly, where we come in and look at what's happening, have a few meetings with your various stakeholders and figure
out what it is we're
SPEAKER_02trying to do here.
SPEAKER_00Understand the business a bit more and figure out what data there is.
SPEAKER_02Right. That's a safe play. Before we open the hood and say, this is a mess, we want to know before we sign a six-month contract. And usually, they're very on board with that. They're like, yeah, makes sense. Let's get you access and just come in and you tell us what you can do. And then we'll put together a three-month plan. Three, six months. But for the scopes, the nicely scoped ones, which I love, it's like, we have a need. We have even a mock-up. I can get you data. And here's what we want to do. Here's the action that needs to be taken.
SPEAKER_02For example, that patient one, we need to... follow up and figure out why this patient's medication has not gotten to them. That's like chef's kiss. It's like, we can build something for you that does that very nicely. So in that case, we have our overall goals, summary of the project, and then we have our deliverables. And in this case, it would be... We spell it out. A one view. Here's the functionality it's going to have. We'll have an export to Excel. And we get very specific. Anything else, you get into scope creep and it gets messy.
SPEAKER_02And then the timeline, pricing, and we have key assumptions. And key assumptions are the things that you look at and you're like, yep. They've been screwed by this before, so they put that in there. And mainly it's around things like if you're not... The client needs to be available to answer questions within two weeks or one week turnaround time, right? Or we won't hit the deadlines. The data needs to be in such a state that we have access to it and yada yada. We don't guarantee model performance in any way. We're not going to say we absolutely guarantee 95% accuracy, right?
SPEAKER_02Anyone selling you that is full of it. So yeah, I think... And the key assumptions is something that just you learn over time and you just put them in there for the next time.
SPEAKER_00Yeah, amazing. I suppose I'm also interested in scope creep and how you manage it and tame it, but also like... Scope creep can be very dangerous. But as we know, the truth of the matter is it's a lot of the time, at least somewhat inevitable because things change. Like if the scope of statement of work and scope document says, oh, we're going to deliver on these buttons and that we're going to solve this. And when you deliver that, it's like, oh, actually, the business problem is actually this.
SPEAKER_00And we didn't quite realize this until we started delving into the rapid prototyping of dashboards with you, right?
SPEAKER_02Oh, yeah. I mean, all the time. We have one pretty cool project, actually. If you look at the initial wireframe compared to the final project, it's like bells and whistles and the Corvette version. But we scoped it. We did it in phases. But it happens. And the give and take is... We had leftover time from the first phase. So we said, look, we'll roll those hours over and work on all these extra things that weren't in scope for phase one. And then inevitably,
you've got more testing and bug fixing to do because of software development.
SPEAKER_02But it definitely becomes sometimes a judgment call too. Like, do I want to work with this client again? Do they have more interesting work? Is this kind of an act of good faith that we will... And so there's give and take. Usually, clients are pretty reasonable. If they're not, you just set the precedent and you draw the line and move on to the next project.
SPEAKER_00Totally.
SPEAKER_02It definitely happens. And it's something that you kind of just have to be a little flexible and adaptable and try to figure out ways to... The way we've tried to work around is put literally a number of hours for each task and just say, here's the bucket of hours you choose now based on your budget.
SPEAKER_00Yep. Makes sense. I'm wondering whether... I really like the Department of Defense example. I wonder if that's something which changed throughout. Maybe you could talk us through that.
SPEAKER_02Yeah, that was a really interesting one. So none of it was classified, so I can talk about it. I didn't need security clearance. Initially, they basically had a bunch of budget to do this AI ML initiative, whatever it was. And they figured out, well, you know what? Our inventory data is a mess. And when I say a mess, it was just... It's all entered manually. So everything that the army purchases from Blackhawk helicopter parts to batteries to laptops gets entered in a handheld thing or on the computer.
SPEAKER_02And it's by humans, right? So there's errors. Now, their whole goal, their mission statement was like, if we don't know what we have on hand, how can we be mission ready? How can we be in a state of readiness? Totally makes sense. So it wasn't as simple as just find the duplicates or just do some fuzzy matching. It was much more complex than that because we had a lot of pretext data, a lot of six-digit codes where zeros would be O's and twos would be Z's and one
SPEAKER_02word would be off or one letter. So actually, really... Talented friend of mine came in to work on it with me. And he was using all these genetic string algorithms to do this work.
SPEAKER_03Right.
SPEAKER_02Interesting. And we built it very custom, tested it and found what worked best for their data. And we took that same approach with the rapid prototyping. We built a Shiny dashboard. And we enabled the users at the army to then interact with it and tell us, is this right? Is it not right? And have that feedback loop to then improve the algorithm. It also sounds like there's a need for maybe jumping in and starting to hand label
SPEAKER_00data or, you know, it sounds like there's a bunch of manual stuff involved there as well, right?
SPEAKER_02Yeah. And that's the step that no one wants to take or do. It's time consuming. But it's like, hey, just hand label 100 of these, 1000 of these, whatever it is. And the algorithm, the model will get better. And then once you feel confident, we can turn it on and then start automating the stuff. Because AI is like... There's a huge leap from machine learning to let's automate the work. Do you trust the machine enough to actually just turn this on and let it go? I would... almost always say you need some kind of dashboard monitoring
what's happening.
SPEAKER_02You need someone checking in on it. So there's some people that still think that the bots are just going to come and do this stuff, no problem.
SPEAKER_00Yeah, I don't want to get too tinfoil-hattie. My spidey sense tingles when anyone says that, including myself. But I do think a lot of the machine learning, a lot of the software and quote-unquote AI built around machine learning, there's not a conspiracy per se, but I do think big tech's interests have been to, I suppose, at least hide a lot of the work that's done in hand labelling and claim a lot of its AI. And see, I mean, one of the most cynical examples is that Amazon Mechanical Turk used to market
SPEAKER_00itself. They were literally just getting people to hand label stuff, right? And they used to market themselves as artificial, artificial intelligence, right? So, and that, like, my mind contorts when I think about that. No, that's just like the necessary mechanism in order to like train a model in my mind.
SPEAKER_02You know what I mean?
SPEAKER_00Exactly.
SPEAKER_02And we use that. We use a similar tool at one company. It was a crowd flower. It was called at the time to exactly do that and label things so we could then train the model. Yeah. Yeah. In terms of, I don't know, I think we shifted gears a couple of times with them, but it was mainly around, they had another initiative where they wanted our, our, input and then they wanted a training. It was more like they were kind of doing this massive AIML initiative at the DoD. And we were kind of evangelists of that whole idea and showing
what was possible.
SPEAKER_02And I got to present this work at the Pentagon and to four star generals. And it was pretty cool. You know, it was fun. But also, I mean, the fact that, you know, like, and I mean, I think Department of Defense
SPEAKER_00Of course, incredibly sharp people, highly competent people as well by nature of their work on average, at least at the top. I am interested that they were like, hey, let's do AI, ML. And then I was like, actually, like the inventory stuff is some of the most impactful stuff. So once again, it comes down to counting and figuring out what's there and that these are kind of the hard tasks of AI boiled down to pretty simple questions which require a lot of work, right? Yeah.
SPEAKER_02Exactly. Yeah, it's simple. There's a lot of work that is required by people still. And it has to be collaborative. It has to be that feedback loop. And exactly.
SPEAKER_00Yeah. I'm really excited to think about and talk through how you measure the success of data science initiatives. And even if we kind of know how to do it at all.
SPEAKER_02Yeah. That's like the holy grail. So there's some... I think there's some projects where it's very possible. There's a couple ways we consider it successful. One is adoption and use of the tool. If people are logging in and using it, I'm already pretty pumped. One of our clients wanted us to track the number of logins by user and everything. And we did that and just actually stored it in a Google Sheet. It was a live connection. And we saw the user when they logged in.
SPEAKER_02And they're just getting a lot of action. So I'd say that's one. Some of them are not quantitative in that sense. The other one is they're using it to... There's time savings, actually. So I guess it is quantitative, but they're using it as part of their monthly process they had. For example, where... We were doing something for a small drug company. They were manually putting together all these reports again around all their clinical trials and drugs and how many deviations there were in each study. And we managed to bring that time down from like 40 hours a month to two.
So that's one of those things where instead of someone spending a full work week, they send us the data and it gets published to the Shiny app and they can use that
SPEAKER_02for their monthly meetings. So adoption, time savings. And then in terms of metrics, yeah, we just had a case of this where The sports company I work with, they're working with the major leagues like the National Women's Soccer League, the MLB, etc. And they want to measure the effect of sponsorship, let's say. So if Nike sponsors the NFL, is that a fruitful relationship for Nike?
SPEAKER_02Well, it depends. Do we have the data needed to track that? What does Nike see as success? Are they looking to increase sales on their footwear? And if so, do we have that data? We actually do. We have transaction data at this company. So it's tying it back. It's just understanding, well, what are your goals? What are you trying to do? And can we measure it? And if we can, that's an easy one, right? That's great. Okay, well, we'll tell you if it increases over time. Then you get into... Is it causal or not?
SPEAKER_03Yeah, exactly.
SPEAKER_02But so those are the big three. And I'd say that last one is a very iffy. You don't always have it. Number one, because someone didn't ask the question of, well, what is success to you? I can't make it up for you. And number two, do we have the data to measure that? So do we want to increase spend in this category year over year? Great. We can measure that and tell you if what we did helped with that.
SPEAKER_00And tying this back to kind of initial goals and scoping out, is this something you do your best to think through during the scoping phase as well?
SPEAKER_02Yes, exactly. That's why I want to be there at the beginning. It's like, before you make these promises, I want to make sure, number one, we can answer, we can help them with whatever question is they have. Number two, we have the data. And yeah, exactly. Like being there at the beginning. And then also, sometimes it's just a matter of, we just need insight into this landscape, this drug landscape. And if we're able to do that for any data set we upload, that's success. So we make sure that whatever we build is generalizable and can
abstract for them.
SPEAKER_00Yeah. Great. We've been talking about the impact of data science and machine learning across a lot of industries and the work you do. I want to talk briefly about what it means to operationalize or productionize models and data science work, because I think this term is overloaded. But at the same time, we hear there are the trolls who say like R can't be put in, isn't good in production and that type of stuff. We all know that isn't the case. But I think we have a limited view of what productionizing models and data science means and one example i'll give is i know a
big tech company that has data science work done which the question is where do we put where do we buy billboard space on major arteries in the los angeles metropolitan district
SPEAKER_00something like that right And there's machine learning work and data science work that goes into that that's delivered as a PowerPoint presentation or Google Slides or whatever it is, right? And a multi-million, if not tens of millions of dollars decisions are made around this. And you may say, oh, that's not productionized. I think that's not particularly useful if you're saying it's not productionized because it isn't put up as an endpoint or a REST API or whatever. Because the truth is it's operationalized and it's one of the biggest... multi-million dollar decisions that needs to be made.
So I'm wondering how you think through the productionization and operationalization discussion.
SPEAKER_02Yeah, it's another one of those things where I don't necessarily think about the technical aspect of it. It's like, are people using it to make decisions. If they are, I think it's productionized.
SPEAKER_03Yep.
SPEAKER_02So just trying to think of an example of that. Some of our best stuff that's been in production just pulled data from Google Sheets. Because that was just the easiest way for the client to input data and for them to access or for our app to update. Sometimes it's just a matter of... It's gone through all the necessary steps through this rapid prototyping or end-to-end data science where now we feel we trust it enough that we can run it
SPEAKER_02live on new data that might also be in production means like, okay, it's updating now. And also you're making decisions based off of it.
SPEAKER_03Yeah. I think when you're just exploring and you're in the early stages of coming up with hypotheses or you're in the early stages of getting familiar with the data,
SPEAKER_02that's different. To me, production is definitely... It's being put in front of people and decisions are being made by the business based on what I see.
SPEAKER_00Exactly. And related, actually, there's some... I can't even remember what the statistic is and it doesn't actually matter. It's like 90% of models don't make it to production and we need to improve that or something. And my question always is, maybe that's a good thing. Like if you're testing hypotheses constantly in a scientific manner, maybe only one in 10 models should make it to production or whatever, or even less, actually.
SPEAKER_02Right. Right. Yeah. I mean, a failed experiment is still a success, right?
SPEAKER_00Yeah.
SPEAKER_02Plenty of publications on failed results.
SPEAKER_00Yeah, yeah. And actually, from my time in academic research, I did always think there should be more journals of failed results and we should incentivize the publishing of failed results and non-results and that type of stuff. It would save so much work.
SPEAKER_02Right. And it would be amazing if we're ever at the point where you could actually reproduce their work, whether it's a Docker or R Markdown report in the cloud or Jupyter notebook. But imagine... Yeah. It's really... We should be getting closer to that point, you'd think. But I think we're still a ways away.
SPEAKER_00Yeah. So I'd love to jump in into looking at some shiny dashboards. Finally, we have, you know, 10 to 20 minutes left. It'd be great to have a look at some of the work you do and whatever you'd like to show and is most exciting and interesting to you.
SPEAKER_02Yeah. And then so should I, for the podcast purposes, do we just kind of describe it as best we can?
SPEAKER_00Yeah, let's do that. And we can then direct people to the video as well.
SPEAKER_02I'll rely on your articulation then. I'm sure you know it's best.
SPEAKER_00I'll do my best.
SPEAKER_02Yeah. Okay. So let's see.
SPEAKER_00As my mom would say, I've never had a problem talking.
SPEAKER_02This isn't as interesting, but this is just a cool... example for one of our clients, Takeda, that they wanted to enable some more advanced outlier detection methods. And I'm not going to go through the whole thing. The point here is I wanted to talk about ease of use. And you mentioned that. And so I always like adding an about that explains, it gives the user instructions on how to use it. But what I really like is, I think this is BSLib maybe.
SPEAKER_02There's a library that gives these nice just kind of hover tooltips.
SPEAKER_00Great.
SPEAKER_02Is this zoomed in enough?
SPEAKER_00Yep, that looks good. Or maybe even one more would be great.
SPEAKER_02Perfect. So one thing that I also have started adding is example data. If the app requires an upload and maybe the user just doesn't have any yet or just wants to see what the format of the data should be, you know, it's just columns with values, for example. I like to add that. And then, yeah, they can go ahead and just upload. And another thing I like is having select column. You're basically being very direct about what the user needs to do here. For example, select at least two numeric columns.
SPEAKER_02And then we're getting immediate feedback about if there's missing data. So just being... You're kind of thinking about it as an interaction with a person. It's not... I'm trying to think about it less of like... You know, this is a presentation, but this is an interaction. Like I'm having a conversation through a dashboard.
SPEAKER_00Exactly. So one thing I am seeing that there's a bunch of exploratory data analysis you can do really rapidly. And then you can, I mean, that tab about outlier detection, you can immediately start selecting things and have that conversation and interaction with the app.
SPEAKER_02Right. That's mainly around UX a little bit. I love these hover tool tips. But the ones I wanted to talk through... There's two others. This is with the Sports Innovation Lab company in Boston. So for this particular example, I could talk through it. This was a case where we were doing a lot of different charting and reporting. Things like, tell me if Boston Bruins fans are shopping for luxury goods more than the average person. Tell me if Xbox players are buying footwear from these specific brands.
SPEAKER_02more frequently than the average population. So anyway, we had a conversation. I started to ask that question like, what are we doing actually? And the idea is we want to identify audiences to help teams and leagues acquire new fans. So if you're trying to figure out where do these people shop because I want to place digital targeted advertisements, The whole idea is like, okay, then I need to figure out what's different about these fans and how do I attract them to come to a game,
SPEAKER_02buy our jerseys, right? So what we ended up building was, again, this is V0.
SPEAKER_00Okay, this is actually connected to... Setting expectations, I like it.
SPEAKER_02Yeah. I love these picker dropdowns where it populates everything from the database. This is all server-side. We can select, let's say, the Washington Wizards, the NBA team. It tells me here what I've selected because there's so many here. I want to make sure I've kept track of what's selected. So we list it out for the user. And then we say go. And this is querying live and the Snowplake instance. And so this still needs work. This to me, I want to add tool tips and explanatory things, but we made this this week.
So right away, I see categories like pharmacies, garden and outdoor, community services.
SPEAKER_02And then I have these bars over here. Now, what do these mean? So these are the purchases per fan. And it's actually the difference between Wizards fans and the general pop. So this tells me... What I want to add is that something like when we hover here, Wizards fans spend or have made 233% more purchases at fast casual restaurants than the general population. Great. So I'm going to place ads on fast casual restaurants.
SPEAKER_02And maybe I want to know which fast casual restaurants. And that's kind of... next phase is, okay, let's add a drill down into the subcategory.
SPEAKER_00Amazing. And just to be super explicit there and reflect to make sure I get it right, the fact that you can have this table, you have the PPF change, and that you can rank order it via percentage there, really, and then you'll add hover tool tips and that type of stuff to drill down into more information. But even that by itself goes such a long way to answering the question of where to put these ads.
SPEAKER_02Right. And it's like, the thing I like about this is it first tells me right away, it says, well, here's the most significantly different one, right? Fast casual, followed by rideshare. Like the general pop has made... Or they're making 186% more purchases, right? So more than double. And from there, it's like, that's one aspect, but the... These people are more advanced users at the company. They may want to explore and they have hypotheses. So I can go to categories over here then and say, well, I am actually interested in travel and transportation specifically.
SPEAKER_02And this will break that down for you down here. So we can see, well, Wizards fans are not really purchasing taxis. If you want to target them, let's look at bike and scooter shares, for example. And then we can take it even a step further and say, well, actually, I want to acquire more high-value Wizards fans, which means the fans are spending a lot of money. So I'm going to segment this by top 25%. And that's based on just overall spend. So take the people spending the most on whether that's Wizards merchandise, Wizards jerseys, Wizards ticket sales.
SPEAKER_02And the general population is based off of 21 million consumers. So that's something where we've built a view so it's quicker. So yeah, so now you can do the same thing but by a different segment. So now you're getting into kind of segmented. All right, I have my high value fans now and it looks like they also are interested in ride share. And if we look at everything, professional sports, that's kind of redundant because these are sports fans. But it looks like ride share, scooter share, booking platforms are popping up to the top.
SPEAKER_03Awesome.
SPEAKER_02Yeah. So that's one example of rather than... You could see how many different ways this can go. And there's a lot more that can be added here. But when you start slicing and dicing by where they live, the value, if we want to see it over time, seeing this over time is also answering a different question,
SPEAKER_03potentially.
SPEAKER_02So yeah, that context matters. And they were actually pretty happy with this in terms of like, okay, I can see this, where this is going, and I like it. I can now run this for any merchant in the database, and I don't have to go to the analysts and ask for one-offs. Can you give this to me now for the Bruins? I can just go in. We empower the user to go and do it.
SPEAKER_00That's great. And then it allows you to go and figure out what to add next for v1 and v2 and v3, right? Exactly, yeah.
SPEAKER_02Yeah, and actually, it's the first time I used this kind of visual here, and I really like the little bar chart with the color coding.
SPEAKER_03That's really cool.
SPEAKER_02Yeah. Yeah. Awesome. It's little things for me I get excited about.
SPEAKER_00Well, yeah, and it's the little things for end users that, I mean, you know, I don't want to hop on too much about this example, but the button export to Excel, it's a little thing, but it's little things like that provide arguably the most utility, right?
SPEAKER_02Yeah. Yeah. And that's next. Because then they could also compare the bottom 75 to the top 25 themselves without us having to have a whole meeting about how do we want to visualize it? How do we want to... It's a whole new view. And when you're... If you want to compare two things, now you've got a multi-select and now you've got... So a lot goes into just minor things. And I think this gives them also the idea that, oh, by the way, if this looks significant, well, it's actually only eight fans. So I wouldn't hang my hat on eight fans.
SPEAKER_02So next is adding a threshold filter to say, let's guarantee at least like 50 or have some minimum.
SPEAKER_03Amazing. But I want them to see that because it goes back to that data literacy transparency
SPEAKER_02so that they know this can happen.
SPEAKER_00Exactly. And the more you cut and now you add state, home state, you're going to get fewer and fewer. And actually, I suppose it comes back to JD's point as well where he wrote, I'll repeat, looking at data is fantastic. Making sure pipelines have access points to peek into data being transformed. You could consider this an access point of some sort, right? But if then you decide to threshold, making sure that people understand that that's actually what's happening.
SPEAKER_02Yeah, and if they see that without having known before, they'll be like, what's this for, you know?
SPEAKER_00Totally.
SPEAKER_02So this whole process is collaborative in that nature.
SPEAKER_00Yeah. Yeah. Well, I really appreciate you walking us through that. We'll need to wrap up in a minute, but... I thought one question that I think several people have and have had is when doing the type of work you do end-to-end data science and in the consulting world, this comes back to the idea of data something. I mean, it seems like you need a huge variety of skills in a lot of ways. So how do you think about whether you've got to delve into
SPEAKER_00You know, thinking about distributed compute and then maybe some data engineering and then building machine learning and being a machine learning engineer and then all of these different types of things. Seems like a lot.
SPEAKER_02It is. I'm overwhelmed every day. I learned new things about R every day. And I've been using it since 2005. So really, I think it depends on what you like. Focus on what you enjoy. Because my downfall was at startups getting stuck into doing everything. And while I learned a ton, I don't regret it by any means. But... led to a lot of stress and pressure. And here's the thing, when you're interviewing at jobs, ask them, do you have a DevOps or data engineering team?
And if they say no, and you're the first data hire, congrats, you are now it.
SPEAKER_02That's you. You're the data scientist, you're the data viz, you're everything. And that can be really fun and you can learn a lot. But if you're passionate about the visualization aspect, focus there. You can get a doctorate just in visualization. You can read Edward Tufte's work for a long time and study that. But for me, I wore a lot of different hats. So I'm like master of none, jack of all trades. So yeah, I always tell people, just find a dataset that's cool and interesting to you and
start playing with it.
SPEAKER_02Whether it's R, Python, Tableau, just start playing, dive in. There's so many tools out there now. Kaggle.com has a whole website or section dedicated to public datasets. So that's what I do. I find sports datasets and I started playing with them. And yeah, I think you'll... You kind of figure out just by diving in what excites you or what's interesting to you.
SPEAKER_00focus there. That's actually another point that you're super into sports, your background is in a lot of biology and genomics and that type of stuff, and you're continuing to do that type of work. So you are pursuing things that you're curious about, right? And pursuing intuition and curiosity with these things, I think, is super key.
SPEAKER_02Yeah. I always want any edge I can get in my sports daily fantasy and sports betting, which I'm considering a research expense.
SPEAKER_03Awesome. It's fun. Yeah, absolutely. So, you know, yeah, I, I'm just like, and I also do, I do stuff for video games.
SPEAKER_02Like I analyze data because I'm a video game nerd too. So I don't only do data things though. Like I don't recommend that either. Like you can go outside and touch grass, like do other things. It doesn't have to be your whole life, but you know, I just have, it just so happens. Some of my hobbies also overlap with like cool data projects that I do.
SPEAKER_00Totally. So I have one final question before to wrap up. What's most exciting in the space for you at the moment, either now or in the coming years?
SPEAKER_02Yeah. So I'm actually having a lot of fun with the AI stuff, the new bots, like the chat GPT.
SPEAKER_00Yeah, yeah. It's fun, isn't it?
SPEAKER_02mid-journey. But honestly, I don't see the application yet from a business standpoint, other than with the art stuff. I can see generating custom stock, concept art, custom stock images for your brand or whatever. It can be cool for that. The ChatGPT thing is wild. I had it write me a scraping script the other day and it worked. I said, scrape me this table from this URL. And it just wrote it for me. So that stuff's exciting. I think there's a lot of hype, but I'm afraid it's going to be the next blockchain of 2022
because big people hype
SPEAKER_02it with no actual application.
SPEAKER_03Yeah.
SPEAKER_02So I'd say that's the fun thing. But then in terms of what I think is actually really gaining steam is just the whole data literacy thing. I think a lot of people are just becoming more... aware of it. You're seeing sports on live broadcasts talking about analytics, talking about player tracking. So it's cool to just have what you do be more out there. Because most of the time people are like, I don't know what the hell you do. I tell them, don't worry about it. I play with data.
SPEAKER_00I tell people to go and watch Moneyball or whatever, right?
SPEAKER_02Yeah, that's a good example.
SPEAKER_00But I do think that it's a slow burn, but I think there is significant movement on the data literacy front in particular.
SPEAKER_02I'm going to flip it then. What are you most excited about in the field? Or what do you see kind of like happening?
SPEAKER_00I actually... It's tough because I'm actually very excited about the two things you mentioned and they're kind of at odds in some ways. What I'm... What I'm most frightened about, which will lead us to what I'm most excited about, is poor marketing or marketing away from impact. So AGI and the future of work and these types of things are worth considering in a lot of ways, of course. But I do think that the whole marketing of large language models and chat GPT moves us away from the importance of
SPEAKER_00counting and how difficult that actually is. So I am really excited about data literacy, about how a lot of businesses and a lot of different verticals are becoming aware of the simple automation things that we've been talking about can really impact their businesses. I'm also really excited about bringing more science to business in general. I think there's not a lot of science on average to data science.
SPEAKER_00There's a lot of data. There's not a lot of science. And it's because we don't have the culture, the tools, the communication, all of these different things. We're figuring it out, figuring out what it looks like. And whatever it is, like a decade after we were told data science would be the sexiest job or the whatever, And I don't mean to be dismissive of that, actually. I do think it's incredibly important. But we're a decade on from that and figuring out what science looks like in industry. Personally, for me, I'm also excited. And that's one of the reasons I do this podcast.
SPEAKER_00I'm interested in helping, you know, my background's in research science. And I see a lot of research scientists entering industry. This is another big challenge. The academic brain drain, I think, is... Oh, there's a massive academic exodus right now. Yeah, and that's very challenging. I mean, but the academic world has a lot of challenges these days. But helping scientists figure out how to do science in an industry setting. I'm really excited about what that looks like. Once again, I'm a bit cynical. I think it's ridiculous that the best
SPEAKER_00tools we have for causal inference at scale are like A-B tests. I mean, we can do better than that, people. So I'm very excited about building tools and cultures and communities where we can do more robust causal inference. And you even spoke to that at one point. You're like, oh, we've got these trends and that type of stuff. Now, is it causal? How do we start thinking about those questions? So bringing more science to data science is what I'm really excited about.
SPEAKER_02And that's our mission, honestly. Because coming from that world, I'm like, let's put a little more rigor and scientific rigor into what we do, but also get stuff done. We can still do things quickly and deliver value, but let's be mindful about our questions. Yeah. What we're trying to do.
SPEAKER_00Exactly. Exactly. And demonstrating utility... I mean, a lot of time we're talking about businesses and industries that have been working really well, right? And they should be skeptical of putting in a lot of resources and capital and employee bandwidth into new things like this. So demonstrating the utility early on, this type of rapid prototyping, all of these things are super exciting. So... Awesome. Which is the reason I invited you here once again.
SPEAKER_00But thank you so much for such a wonderful conversation, Tanya.
SPEAKER_02Yeah, no, it's always fun with you. I love talking about this stuff. And before I know it, it's like the time flies.
SPEAKER_03Yeah.
SPEAKER_02Yeah, well, I'm sure we'll be in touch and we'll hopefully do another one when I have some more interesting content to share. I'll let you know.
SPEAKER_00You're always, you've got an open invitation to come back. And before we... Before we can see how ChatGPT and the AI art bots did in a year. Fantastic. I always think we can even maybe do some transfer learning to train them on us and then they can just generate the podcast episode. And before we sign off, I'd just like to thank everyone for joining the live stream. Thanks for all the cool comments and look forward to next time. So thanks everyone.
SPEAKER_00And thank you so much, Tanya.
SPEAKER_02Thanks, Hugo.
SPEAKER_00Awesome. Thanks for tuning in, everybody. And thanks for sticking around to the end of the episode. I would honestly love to hear from you about what resonates with you in the show, what doesn't, and anybody you'd like to hear me speak with, along with topics you'd like to hear more about. The best way to let me know currently is on Twitter, at Vanishing Data is the podcast handle, and I'm at Hugo Bowne. See you in the next episode.
Hilary Mason, CEO of Hidden Door, works with agents across software development and creative projects. Drawing on Richard Hamming’s distinction between science and engineering, she describes agents as “bringing the...
Agents can write the code, run the analysis, and produce a convincing explanation. How do you check that they’ve answered the right question, used the data appropriately, and reached a conclusion you can act on? I...
“It’s an LLM, a loop, and enough tokens.” - Nicolay Gerold, Amp Code So why does a coding agent forget your instructions, keep reading tiny pieces of a file, or struggle with an edit another model handles easily?...
“If you feel that a product is hard to eval, or you feel like, ‘I don’t even know how to eval this,’ it’s a strong smell that your product isn’t good.” - Hamel Husain, on AI product design An AI data agent tells you...
“It would be sad if local models were not an option and there were only proprietary models. It’s good to have alternatives. Competition is good for business.” - Sebastian Raschka, on open-weight AI Kimi K3’s weights...