AI Frontiers: The future of causal reasoning with Emre Kiciman and Amit Sharma

[MUSIC FADES] Emre, Amit, let’s jump right in. I’m so excited to speak with you both about causal reasoning. And this is such a timely conversation because we’re living through the rise of generative pretrained models, specifically large language models. And when I’ve engaged with GPT-4 in dialogue, depending on what I ask, it can appear to be doing something resembling causal reasoning. And as a machine learning person myself, I have to say this is not something that I’d expected […]

Read more

What’s the Zen of Python?

If you’ve been learning Python long enough, then you’ve likely seen or heard about the Zen of Python. Experienced Pythonistas often refer to it as a source of wisdom and guidance, especially when they want to settle an argument about certain design decisions in a piece of code. Others take these principles even more seriously by considering them a sort of Pythonic decalogue. In this tutorial, you’ll learn where to find the Zen of Python, how it came into existence, […]

Read more

Research Focus: Week of June 5, 2023

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. In this article PODCAST  The GPT-x Revolution in Medicine, with Peter Lee  Microsoft Research’s Peter Lee recently sat down to discuss the impact of GPT-4 and large language  

Read more

Mazes in Python Part 1: Building and Visualizing

If you’re up for a little challenge and would like to take your programming skills to the next level, then you’ve come to the right place! In this hands-on video course, you’ll practice object-oriented programming, among several other good practices, while building a cool maze solver project in Python. This is the first part in a two-part series. Throughout the series, you’ll go step by step through the guided process of building a complete and working project. This will include […]

Read more

Using the NumPy Random Number Generator

Once you have a NumPy array, regardless of whether you’ve generated it randomly or obtained it from a more ordered source, there may be times when you need to select elements from it randomly or reorder its structure randomly. You’ll learn how to do this next. Selecting Array Elements Randomly Suppose you have a NumPy array of data collected from a survey, and you wish to use a random sample of its elements for analysis. The Generator object’s .choice() method […]

Read more

Create and Modify PDF Files in Python

So far, you’ve learned how to extract text and pages from PDFs and how to concatenate and merge two or more PDF files. These are all common operations with PDF files, but pypdf has many other useful features. In the following sections, you’ll learn how to rotate and crop pages in a PDF file. Rotating Pages With PageObject.rotate() You’ll start by learning how to rotate pages. For this example, you’ll use the ugly.pdf file in the practice_files/ folder. This file […]

Read more
1 140 141 142 143 144 985