Skip to content

Commit

Permalink
jupyterhub help
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonconcepcion committed Oct 13, 2024
1 parent f90b02e commit 64bd5f6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,20 @@ These are functions in the `datascience` library that are used in the course tha
| **Name** | **Description** | **Intput** | **Output** |
| `sample_proportions(sample_size, model_proportions)` | `sample_size` should be an integer, `model_proportions` an array of probabilities that sum up to 1. The function samples `sample_size` objects from the distribution specified by `model_proportions`. It returns an array with the same size as `model_proportions`. Each item in the array corresponds to the proportion of times it was sampled out of the `sample_size` times. ([Ch 11.1](https://inferentialthinking.com/chapters/11/1/Assessing_a_Model.html)) | 1. **int**: sample size <br> 2. **array**: an array of proportions that should sum to 1 | **array**: each item corresponds to the proportion of times that corresponding item was sampled from `model_proportions` in `sample_size` draws, should sum to 1 |
| `minimize(function)` | Returns an array of values such that if each value in the array was passed into `function` as arguments, it would minimize the output value of `function`. ([Ch 15.4](https://www.inferentialthinking.com/chapters/15/4/Least_Squares_Regression)) | **function**: name of a function that will be minimized | **array**: An array in which each element corresponds to an argument that minimizes the output of the function. Values in the array are listed based on the order they are passed into the function; the first element in the array is also going to be the first value passed into the function. |

## JupyterHub Keyboard Shortcuts
First, to enter shortcut mode/exit editing mode, press `Esc`. This will then enable you to use any of the below keyboard shortcuts.

|Operation|Keys|
|---|---|
|To enter shortcut mode/exit editing mode|`Esc`|
|Enter edit mode | `Enter`|
|Insert cell above|`A`|
|Insert cell below|`B`|
|Delete selected cell|`D` + `D` (Press `D` twice)|
|Undo cell operation|`Z`|
|Copy cell|`C`|
|Paste cell|`V`|
|Paste cell above|`Shift` + `V`|
|Redo|`Ctrl` + `Shift` + `Z`|
|Undo|`Ctrl` + `Z`|

0 comments on commit 64bd5f6

Please sign in to comment.