Brian Blaylock
December 10, 2019
If writing markdown in VSCode, install the Markdown+Math extension and take a look at the short documentation. In Jupyter Lab, the LaTeX ability is already included and mostly follows the same formatting (except for equation numbering).
In-line expressions are surrounded by single dollar signs and look like this: $
:
$in line equation$
Equation blocks are surrounded by a double dollar sign and are in a separate line:
$$block equation$$
You may also give it an equation number by specifying a number like this (doesn't seem to work in Jupyter Lab):
$$block equation$$ (1)
$$ 7 = x+5$$ (1)
Feature | Notation | Rendering |
---|---|---|
Times Sign | y=m \times x+b |
|
Subscript | x_{inside} |
|
Superscript | x^{inside} |
|
Fraction | \frac{top}{bottom} |
|
Integral | \int_{bottom limit}^{top limit}{equation} |
|
Parentheses | \left( \frac{x}{y}\right) |
|
All Together | F = G \left(\frac{m_1 m_2}{r^2}\right) |
Look at thislist of LaTeX symbols for more symbols and this cheatsheet for additional examples.
Observation Impact
Innovation
Slope of a line | |
Hypotenuse | |
Integral |
Feature Scaling (normalization)
Scale a set of number between 0 and 1:
$$ x^{\prime} = \frac{x - x_{min}}{x_{max} - x_{min}} $$ (1)
Scale a set of number between two numbers, [a, b]:
$$ x^{\prime} = a + \frac{(x-x_{min})(b-a)}{x_{max}-x_{min}}$$ (2)
Mean Normalization:
$$ x^{\prime} = \frac{x - x_{average}}{x_{max} - x_{min}} $$ (3)