Search for tag: "return"

Drew Sussman: Infrastructure Allocations Monitor

Drew Sussman of Hodes Weill explains the need for an Infrastructure Allocations Monitor, which will gauge investor sentiment on private investment in the infrastructure sector. Hodes Weill is a…

From  Olga Petrova 69 plays

Spirion - Run Scan

To Run your Spirion sensitive data scan:- Open Spirion and login- Open "Advanced Interface"- Set data types- Set locations -> be sure to include EMAIL, and under location options select…

From  Christi Smith 19 plays

AEM 2000 Contemporary Controversies in the Global Economy (2021SP) Lecture

Zoom Recording ID: 94155485003 UUID: 7Qw1N8WWQDa86I4FuD/aZg== Meeting Time: 2021-04-28T15:13:43Z

From  Chris Barrett 6 plays

ORIE Colloquium: Shie Mannor (Technion), Feb. 23, 2021

“Risk and robustness in RL: Nothing ventured, nothing gained” In this talk I will start from giving a broad overview of my research, focusing on the essential elements needed for…

From  Henry Lam 10 plays

Lesson 29.4 The yield Statement

While generators are coroutines, the communication only goes one way: from the child to the calling parent. In this video we show how to reverse this communication, passing down information from the…

From  Hannah Lee 59 plays

Lesson 29.3 Generators Revisited

In the previous video, we said that generators are a type of coroutine. In this video, we explore this idea. We use yield statements to write generators that are a little more sophisticated than…

From  Hannah Lee 62 plays

Lesson 28.4 Generator Visualization

Generators look like normal functions, but they do not behave like them. In this video we show how to visualize them, using the Python Tutor.

From  Hannah Lee 59 plays

Lesson 28.3 The yield Statement

Making iterator classes is hard. In this video, we show an alternative, allowing us to write the iterator as a ‘function”. This requires the addition of a new python statement, the yield…

From  Hannah Lee 60 plays

Lesson 20.7 Intializers

In this video, we introduce the most important method definition in any class: the initializer. The initializer is responsible for creating all the attributes so that the user does not need to worry…

From  Hannah Lee 109 plays

Lesson 17.6 Divide and Conquer Visualization

Just because you know how to write a divide-and-conquer algorithm does not mean you understand it. In this video we try to improve our understanding by visualizing divide-and-conquer. When we do this…

From  Hannah Lee 140 plays

Lesson 17.2 Recursive Functions

In this video we show how to take recursive definitions from mathematics and implement them in Python. To do this, we will need to have a function call itself in its own definition.

From  Hannah Lee 122 plays

Lesson 16.7 For-Loops and Testing

Another control-structure means another video on testing. But if you have following the Rule of Numbers, you will discover that you have enough tests for your for-loop. Instead, as we show in this…

From  Hannah Lee 70 plays

Lesson 15.7 Mutable List Functions

Because lists are mutable, just like general objects, we can modify them in the body of a function. In this video we show how to write mutable list functions, which are (typically) procedures that…

From  Hannah Lee 71 plays

Lesson 12.7 The Call Stack

In this video we look at the call stack in much more detail. In particular, we see that is possible to have more than one call frame active at a time, and the stack is the way these frames are…

From  Hannah Lee 84 plays

Lesson 12.6 Global Variables

With both modules and function definitions, we saw that global variables are incredibly important. But most of our code is inside of function definitions, and therefore executed inside of call…

From  Hannah Lee 72 plays

Lesson 11.7 Mutable Functions

In the past if we wanted to do any significant computation, we needed a a fruitful function. Procedures are limited to testing or printing stuff out on the screen. But in this video we show how we…

From  Hannah Lee 93 plays