Talk Python To Me - #497: Outlier Detection with Python

Have you ever wondered why certain data points stand out so dramatically? They might hold the key to everything from fraud detection to groundbreaking discoveries. This week on Talk Python to Me, we dive into the world of outlier detection with Python with Brett Kennedy. You'll learn how outliers can signal errors, highlight novel insights, or even reveal hidden patterns lurking in the data you thought you understood. We'll explore fresh research developments, practical use cases, and how outlier detection compares to other core data science tasks like prediction and clustering. If you're ready to spot those game-changing anomalies in your own projects, stay tuned.

Discount code for Outlier Detection in Python book: talkpython45 (45% off, no expiration date).

Episode sponsors

Posit
Python in Production
Talk Python Courses

Data-morph: github.com
PyOD: github.com
Prophet: github.com

Outlier Detection in Python Book: manning.com
Episode #497 deep-dive: talkpython.fm/497
Episode transcripts: talkpython.fm

--- Stay in touch with us ---
Subscribe to Talk Python on YouTube: youtube.com
Talk Python on Bluesky: @talkpython.fm at bsky.app
Talk Python on Mastodon: talkpython
Michael on Bluesky: @mkennedy.codes at bsky.app
Michael on Mastodon: mkennedy

NBN Book of the Day - Andrew Clapham, “War” (Oxford UP, 2021)

This book poses the question: How relevant is the concept of war today? Professor Andrew Clapham of the Graduate Institute of International and Development Studies in Geneva examines how notions about war continue to influence how we conceive rights and obligations in national and international law. It considers the role international law plays in limiting what is forbidden and what is legitimated in times of war or armed conflict. The book highlights how, even though war has been outlawed and should be finished as an institutions, sates nevertheless continue to claim that they can wage necessary wars of self-defence, engage in lawful killings in war, imprison law-of-war detainees, and attack objects that are said to be part of a war-sustaining economy. Professor Clapham argues that, while there is general agreement that war has been abolished as a legal institution for settling disputes, the time has come to admit that the belligerent rights that once accompanied states at war are no longer available. In other words, simply claiming to be in a war or an armed conflict does not grant anyone a licence to kill people, destroy things, and acquire other people’s property or territory.

In this podcast, we begin by exploring Professor Clapham’s motivation for writing the book and the central arguments challenging traditional ideas of war, law, and state power. We discuss how historical, and outdated, ideas of ‘prize’ or war booty continue to influence modern conflict, and explore how rhetorical usages of the words ‘war’ and ‘armed conflict’ exert a particular influence on populations and even on the soldiers themselves. Professor Clapham argues that human rights law should play a bigger role in limiting actions of states in armed conflict, and looks to the future legal challenges posed by cyber warfare, drones and AI / autonomous weapons. We also touch on accountability for war crimes and other international crimes, both at the level of international state responsibility as seen at the International Court of Justice, and at the individual criminal liability as seen in the International Criminal Court. We end with an intriguing insight into how Professor Clapham is looking to further develop his thinking for his next book.

This book is available OPEN ACCESS here.

Alex Batesmith is an Associate Professor in Legal Professions in the School of Law at the University of Leeds, and a former barrister and UN war crimes prosecutor, with teaching and research interests in international criminal law, cause lawyering and the legal profession, and law and emotion.

His University of Leeds profile page can be found here

Bluesky: @batesmith.bsky.social

LinkedIn

Learn more about your ad choices. Visit megaphone.fm/adchoices

Support our show by becoming a premium member! https://newbooksnetwork.supportingcast.fm/book-of-the-day

What A Day - The Miseducation Of Donald Trump feat. Former Sec. Arne Duncan

President Donald Trump signed an executive order Thursday to officially start shutting down the Department of Education. The thing is... he can't do that, at least not unilaterally. Shutting down the Education Department will require an act of Congress. But the Trump administration has already done a pretty thorough job of gutting the department from the inside, cutting the DOE's staff in half earlier this month. Arne Duncan, who served as education secretary under President Barack Obama, talks about the potential catastrophes on the horizon.

And in headlines: Maryland Congressman Glenn Ivey became the first sitting Democrat to call on Senate Minority Leader Chuck Schumer to step down, a federal judge blocked the Department of Government Efficiency from accessing personal information on the Social Security Administration's data systems, and the United Kingdom and Germany issued travel warnings for the U.S.

Show Notes:

The NewsWorthy - Musk’s Military Briefing?, Travel Hub Closes & Record Sports Deal – Friday, March 21, 2025

The news to know for Friday, March 21, 2025!

We’ll tell you about the latest controversy involving President Trump’s top adviser, Elon Musk, who now seems to be going beyond the role of cost-cutter.

Also, a couple of key American allies are warning their citizens about traveling to the U.S.—we’ll explain.

Plus, theories as to why the U.S. is falling in the happiness ratings, how the federal government is now handling a rash of attacks on Teslas, and a record-breaking sale that shocked the sports world.

Those stories and even more news to know in about 10 minutes! 

 

Join us every Mon-Fri for more daily news roundups! 

See sources: https://www.theNewsWorthy.com/shownotes

Become an INSIDER to get AD-FREE episodes here: https://www.theNewsWorthy.com/insider

Sign-up for our Friday EMAIL here: https://www.theNewsWorthy.com/email

Get The NewsWorthy MERCH here: https://thenewsworthy.dashery.com/

Sponsors:

This episode is sponsored by BetterHelp. Give online therapy a try at betterhelp.com/NEWSWORTHY and get on your way to being your best self.

Treat yourself with Honeylove. Get 20% OFF by going to honeylove.com/NEWSWORTHY

To advertise on our podcast, please reach out to ad-sales@libsyn.com

Pod Save America - Trump Comes for the Judges

With a Republican Congress bending to Trump’s every whim, the judicial branch is the last check on his power—and now he, Elon, and the MAGA regime have decided to wage war against it. Meanwhile, Trump wants to ax the Department of Education and is going after colleges he doesn’t like. Jon and Dan break down Trump’s latest (probably illegal) moves, check in with the DOGE-bags, and dig into Trump’s broader effort to dismantle the federal government. Then they dive into a new 2024 post-mortem from Blue Rose Research, revealing who voted—and why.

 

For a closed-captioned version of this episode, click here. For a transcript of this episode, please email transcripts@crooked.com and include the name of the podcast.

The Best One Yet - 🧠 “Severed” – AppleTV+ dirty secret. Ben & Jerry’s chocolatey lawsuit. Nvidia’s AI Super Bowl.

Ben & Jerry are trying to buy back their company… and it reminds us of 

The Super Bowl of AI just went down… Nvidia now plays with Disney, Taco Bell, and Barbie.

AppleTV+ is the only Apple product *losing* money... because it’s missing a Growth Mindset.

Plus, there are a dozen real-life companies in America named… Lumon. #Severance


$UL $NVDA $AAPL


Want more business storytelling from us? Check out the latest episode of our new weekly deepdive show: The untold origin story of MTV 📺 “How Video Killed the Radio Star”  


Subscribe to The Best Idea Yet: Wondery.fm/TheBestIdeaYetLinks to listen.


“The Best Idea Yet”: The untold origin stories of the products you’re obsessed with — From the McDonald’s Happy Meal to Birkenstock’s sandal to Nintendo’s Susper Mario Brothers to Sriracha. New 45-minute episodes drop weekly.



—-----------------------------------------------------

Subscribe to our new (2nd) show… The Best Idea Yet: Wondery.fm/TheBestIdeaYetLinks

Episodes drop weekly. It’s The Best Idea Yet.


GET ON THE POD: 

Submit a shoutout or fact: https://tboypod.com/shoutouts 


FOR MORE NICK & JACK: 

Newsletter: https://tboypod.com/newsletter 

Connect with Nick: https://www.linkedin.com/in/nicolas-martell/ 

Connect with Jack: https://www.linkedin.com/in/jack-crivici-kramer/ 


SOCIALS:

Instagram: https://www.instagram.com/tboypod 

TikTok: https://www.tiktok.com/@tboypod

YouTube: https://www.youtube.com/@tboypod 


Anything else: https://tboypod.com/ 


Subscribe to our new (2nd) show… The Best Idea Yet: Wondery.fm/TheBestIdeaYetLinks

Episodes drop weekly. It’s The Best Idea Yet.



See Privacy Policy at https://art19.com/privacy and California Privacy Notice at https://art19.com/privacy#do-not-sell-my-info.

Short Wave - What Experts Say About ADHD-Tok

Ever diagnosed yourself with a mental health disorder based on a TikTok video? If so, you're not alone. "I personally don't think that there's anything more human than wanting to understand yourself and wanting to understand your own experiences," says Vasileia Karasavva. Vasileia is the lead author of a paper published Wednesday in the journal PLOS One that gets into why this kind of self-diagnosis can be such a double-edged sword.

Listen to every episode of Short Wave sponsor-free and support our work at NPR by signing up for Short Wave+ at plus.npr.org/shortwave.

Learn more about sponsor message choices: podcastchoices.com/adchoices

NPR Privacy Policy

NPR's Book of the Day - In two noir novels, crime lurks beneath small town life in Norway and New England

In their new noir novels, authors Joseph Finder and Jo Nesbø choose small towns as the settings for dark plotlines. First, Finder's The Oligarch's Daughter follows a man named Paul who has built a new life under a new name in New Hampshire. He's on the run from a Russian oligarch, who happens to be his father-in-law. In today's episode, Finder speaks with NPR's Mary Louise Kelly about the difficulty of disappearing in today's era of surveillance technology, the difference between typical wealth and oligarch wealth, and how the Russian oligarch class' status has shifted under President Vladimir Putin. Then, one of the protagonists in Nesbø's Blood Ties is Roy, a 35-year-old mass murderer who's ready to start a family. Nesbø says his challenge was to make Roy someone readers could root for. In today's episode, the author speaks with NPR's Kelly about a piece of advice he received from Christopher Nolan, the way small towns hold secrets, and how writing lyrics prepared him to write novels.

To listen to Book of the Day sponsor-free and support NPR's book coverage, sign up for Book of the Day+ at plus.npr.org/bookoftheday

Learn more about sponsor message choices: podcastchoices.com/adchoices

NPR Privacy Policy

The Indicator from Planet Money - A new-ish gold rush and other indicators

It's Indicators of the Week! Our weekly look at interesting numbers from the news.

On today's show, we welcome back co-host Adrian Ma.

We also have the price of gold going up, German defense stocking up, and U.S. mergers and acquisitions slowing down.

Related episodes:
NPR's Adrian Ma remembers girlfriend, Kiah Duggins, who died in D.C. plane crash
Europe's NATO members take an economic hit (Apple / Spotify)

For sponsor-free episodes of The Indicator from Planet Money, subscribe to Planet Money+ via Apple Podcasts or at plus.npr.org.

Fact-checking by
Sierra Juarez. Music by Drop Electric. Find us: TikTok, Instagram, Facebook, Newsletter.

Learn more about sponsor message choices: podcastchoices.com/adchoices

NPR Privacy Policy