This question is about linear regression.
But keep in mind you need to know linear regression well to answer it correctly! It may be tricky.
Give it a try: bnomial.com
@nedbat To follow up, left-to-right order in a list comp matches the top-down order of the nested for loops and if statements.
The only thing that goes in a different place is the final `.append`; that goes in the very beginning.
Data Analysis Mini-Tutorial
Understanding the distribution of your data is usually a crucial step in the data analysis process.
Having normally distributed (bell-shaped) data makes it a lot easier for most machine learning algorithms to detect patterns.
🐙 ML Notebooks (~800⭐️)
We've added new ML and NLP notebook tutorials. Some are also available through Kaggle.
Hope you find them useful. github.com/dair-ai/ML-Not…
Do you use Python 🐍?
I often like to suggest people get acquainted with the function `itertools.product`.
Handy, for example, to flatten 2 or more nested `for` loops.
@driscollis In Python, below quick operands can be used for different operations.
| for union.
& for intersection.
– for difference
^ for symmetric difference
I have always liked the ability to add functions as values in #Python dictionaries.
This allows you to make complex conditionals much simpler by calling the dictionary based on the key that is passed in.
Here is an example that uses lambdas, but you can swap functions in too!
Only one more week to go and I'll be finished covering most of the 75+ built-in functions of #Python here on Twitter.
I hope you've enjoyed the series so far and that you'll stick around for the rest! 🐍🔥
BreakFastApi
The most delicious API on the web. Just send a request and you'll receive the most mouth watering dish recipe with estimated cooking time and all the necessary ingredients and instructions.
github.com/MariiaSizova/b…
523 Followers 2K FollowingImproviser in life, on stage, on Zoom & in space @startrekimprov | Marketing Ex: @testcontainers @docker, @atomicjar, Kong, SignalFx, PagerDuty
3K Followers 13 FollowingThe @testcontainers company.
We're here to change testing, and we promise you're going to love it.
Backed by @boldstartvc / @TribeCapital / @chalfs / @snyksec
9K Followers 726 FollowingConstantly looking for simple ways to explain complex things You'll find: • Python • Narrative Technical Writing • Track & Field Athletics—Links in pinned post
149K Followers 58 FollowingOpen Government Data Platform India is single-point access to datasets/applications published by Government Ministries/Department/Organizations.
1K Followers 5 FollowingLinuxWorld ('LW') is a fast growing ISO 9001:2008Certified Organisation; fully governed by young and energetic Technocrats, dedicated to Open Source technology.
358K Followers 1K FollowingML/AI researcher & former stats professor turned LLM research engineer. Author of "Build a Large Language Model From Scratch" (https://t.co/O8LAAMRzzW).
75K Followers 136 FollowingAnnouncing new open source releases, exploring projects, sharing how we approach FOSS, and supporting communities around the world.
30K Followers 794 Following🥑 Sr. Developer Advocate for @streamlit at @SnowflakeDB ▶ Data Professor on YouTube (200K+ Subs) 🎓 ex-Professor in Bioinformatics
266K Followers 680 FollowingBuilding with AI agents @dair_ai • Prev: Meta AI, Galactica LLM, Elastic, PaperswithCode, PhD • I share insights on how to build with AI Agents ↓
30K Followers 914 FollowingProduct Manager & High-Performance Coach powered by 🌱 | showing (TECH-) people how to crack the code of discipline with a habits-based system.
39K Followers 1 FollowingFastAPI framework, high performance, easy to learn, fast to code, ready for production. 🚀
Web APIs with Python type hints. 🐍
By @tiangolo 🤓
94K Followers 0 FollowingThe world's first AI super assistant and general-purpose agent - DeepAgent. We have two products: ChatLLM for professionals and Abacus Enterprise
10K Followers 1K FollowingSoftware developer passionate about building useful tools and helping people grow their #Python and #programming skills through @Pybites
950K Followers 158 FollowingWe're a community of millions of people who are building new skills and getting new jobs together. A 501(c)(3) public charity. Tweets by @abbeyrenn.