Exploring Astrophysics in Python With pandas and Matplotlib

This course uses three problems often covered in introductory astro-physics courses to play in Python. Along the way you’ll learn some astronomy, and how to use a variety of datascience libraries like NumPy, Matplotlib, pandas, and pint. In this video course you’ll learn about: Introductory astrophysics topics Working with dataframes in pandas Writing code that uses scientific units Visualizing information with Matplotlib What’s Included: Downloadable Resources:    

Read more

One Hot Encoding: Understanding the “Hot” in Data

Preparing categorical data correctly is a fundamental step in machine learning, particularly when using linear models. One Hot Encoding stands out as a key technique, enabling the transformation of categorical variables into a machine-understandable format. This post tells you why you cannot use a categorical variable directly and demonstrates the use One Hot Encoding in our search for identifying the most predictive categorical features for linear regression. Let’s get started. One Hot Encoding: Understanding the “Hot” in DataPhoto by sutirta […]

Read more

Quiz: The Walrus Operator: Python’s Assignment Expressions

Interactive Quiz ⋅ 8 QuestionsBy Geir Arne Hjelle Share Or copy the link: Copied! Happy Pythoning! In this quiz, you’ll test your understanding of the Python Walrus Operator. This operator, used for assignment expressions, was introduced in Python 3.8 and can be used to assign values to variables as part of an expression. The quiz contains 8 questions and there is no time limit. You’ll get 1 point for each    

Read more

Quiz: Web Scraping With Scrapy and MongoDB

Interactive Quiz ⋅ 13 QuestionsBy Martin Breuss Share Or copy the link: Copied! Happy Pythoning! In this quiz, you’ll test your understanding of Web Scraping with Scrapy and MongoDB. By working through this quiz, you’ll revisit how to set up a Scrapy project, build a functional web scraper, extract data from websites using selectors, store scraped data in a MongoDB database, and test and debug your Scrapy web scraper. The    

Read more

Free Tools Every ML Beginner Should Use

Image by Author We have all experienced it: starting is the toughest part of any journey. So getting started in the ML field wouldn’t be any different. This is why today I want to highlight some of the essential tools that every beginner — or person willing to get started — with ML should be using. Jupyter Notebook Jupyter Notebook is a blessing for any beginner willing to start to code professionally. It is an open-source web interface that allows […]

Read more

The Search for the Sweet Spot in a Linear Regression with Numeric Features

Consistent with the principle of Occam’s razor, starting simple often leads to the most profound insights, especially when piecing together a predictive model. In this post, using the Ames Housing Dataset, we will first pinpoint the key features that shine on their own. Then, step by step, we’ll layer these insights, observing how their combined effect enhances our ability to forecast accurately. As we delve deeper, we will harness the power of the Sequential Feature Selector (SFS) to sift through […]

Read more

Abstracts: August 15, 2024

SHREY JAIN: Thank you. We’re happy to be back. ZOË HITZIG: Thanks so much. TINGLE: Shrey, let’s start with a brief overview of your paper. Why is this research important, and why do you think this is something we should all know about? JAIN: Malicious actors have been exploiting anonymity as a way to deceive others online. And historically, deception has been viewed as this unfortunate but necessary cost as a way to preserve the internet’s commitment to privacy and […]

Read more

The Walrus Operator: Python’s Assignment Expressions

Each new version of Python adds new features to the language. Back when Python 3.8 was released, the biggest change was the addition of assignment expressions. Specifically, the := operator gave you a new syntax for assigning variables in the middle of expressions. This operator is colloquially known as the walrus operator. This tutorial is an in-depth introduction to the walrus operator. You’ll learn some of the motivations for the syntax update and explore examples where assignment expressions can be […]

Read more

Research Focus: Week of August 12, 2024

Welcome to Research Focus, a series of blog posts that highlights notable publications, events, code/datasets, new hires and other milestones from across the research community at Microsoft. EVENT Register now for Research Forum on September 3 Discover what’s next in the world of AI at Microsoft Research Forum (opens in new tab), an event series that explores recent research advances, bold new ideas, and important discussions with  

Read more

Sorting Dictionaries in Python: Keys, Values, and More

You’ve got a dictionary, but you’d like to sort the key-value pairs. Perhaps you’ve tried passing a dictionary to the sorted() function but didn’t receive the results you expected. In this video course, you’ll go over everything you need to know to sort dictionaries in Python. In this video course, you’ll: Review how to use the sorted() function Learn how to get dictionary views to iterate over Understand how dictionaries are cast to lists during sorting Learn how to specify […]

Read more
1 21 22 23 24 25 913