syntax | examples | languages |
---|---|---|
decimal literals | -123.45 |
(most languages) |
scientific notation | 1.23e-2 |
|
prefix hexadecimal | 0xDEADBEEF |
|
prefix binary | 0b1110 |
|
prefix octal | 0o777 |
A big moving company gets so many applications that it has started using an automated algorithm to decide who to hire. You have been called in as an independent consultant to determine if the hiring algorithm is biased against women. The algorithm is proprietary so you cannot access its source code. Instead, you will learn how to perform an algorithmic audit to measure potential biases.
In this activity, you will edit the influence.py
module.
Each applicant's data is stored as a list with five elements. Each element is a string representing a different attribute:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var x = 180; | |
var y = 180; | |
var xspeed = 9; | |
var yspeed = 10; | |
function setup() { | |
createCanvas(windowWidth, windowHeight); | |
background (25); |