This is a method for making quick markdown reports for things like weekly meetings. Suggestions for improvement are welecome.
This tutorial shows us how to make this sample document
Positives:
import os | |
import shutil | |
import sys | |
from argparse import ArgumentParser | |
from datetime import datetime | |
from typing import Optional, Sequence | |
def modified_timestamp_to_filename(timestamp: float) -> str: | |
return datetime.fromtimestamp(timestamp).strftime('dji_%Y-%m-%d_%H-%M-%S') |
<p><script type="math/tex; mode=display" id="MathJax-Element-1"> | |
\newcommand{\pderiv}[2]{\frac{\partial #1}{\partial #2}} | |
\newcommand{\lderiv}[1]{\frac{\partial \mathcal L}{\partial #1}} | |
\newcommand{\argmax}[1]{\underset{#1}{\operatorname{argmax}}} | |
\newcommand{\argmin}[1]{\underset{#1}{\operatorname{argmin}}} | |
\newcommand{\switch}[3]{\begin{cases} #2 & \text{if } {#1} \\ #3 &\text{otherwise}\end{cases}} | |
\newcommand{\blue}[1]{\color{blue}{#1}} | |
\newcommand{\red}[1]{\color{red}{#1}} | |
\newcommand{\overlabel}[2]{\overset{#1}{\overline{#2}}} | |
\newcommand{\loss}[0]{\mathcal L} |
<p><script type="math/tex; mode=display" id="MathJax-Element-1"> | |
\newcommand{\pderiv}[2]{\frac{\partial #1}{\partial #2}} | |
\newcommand{\lderiv}[1]{\frac{\partial \mathcal L}{\partial #1}} | |
\newcommand{\argmax}[1]{\underset{#1}{\operatorname{argmax}}} | |
\newcommand{\argmin}[1]{\underset{#1}{\operatorname{argmin}}} | |
\newcommand{\switch}[3]{\begin{cases} #2 & \text{if } {#1} \\ #3 &\text{otherwise}\end{cases}} | |
\newcommand{\blue}[1]{\color{blue}{#1}} | |
\newcommand{\red}[1]{\color{red}{#1}} | |
\newcommand{\overlabel}[2]{\overset{#1}{\overline{#2}}} | |
\newcommand{\loss}[0]{\mathcal L} |
$$ | |
\newcommand{\pderiv}[2]{\frac{\partial #1}{\partial #2}} | |
\newcommand{\lderiv}[1]{\frac{\partial \mathcal L}{\partial #1}} | |
\newcommand{\argmax}[1]{\underset{#1}{\operatorname{argmax}}} | |
\newcommand{\argmin}[1]{\underset{#1}{\operatorname{argmin}}} | |
\newcommand{\switch}[3]{\begin{cases} #2 & \text{if } {#1} \\ #3 &\text{otherwise}\end{cases}} | |
\newcommand{\blue}[1]{\color{blue}{#1}} | |
\newcommand{\red}[1]{\color{red}{#1}} | |
\newcommand{\overlabel}[2]{\overset{#1}{\overline{#2}}} | |
\newcommand{\loss}[0]{\mathcal L} |
<!DOCTYPE html> | |
<html> | |
<head><meta charset="utf-8" /> | |
<title>experiment_tutorial</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
<style type="text/css"> | |
/*! |
# Identities | |
**Delta, Sum** | |
\begin{align} | |
\Delta (x_t) &:= x_t - x_{t-1} \\ | |
\Sigma (x_t) &:= s_t := s_{t-1} + x_t \\ | |
\Sigma \circ \Delta &= \mathcal I | |
\end{align} |
This is a method for making quick markdown reports for things like weekly meetings. Suggestions for improvement are welecome.
This tutorial shows us how to make this sample document
Positives:
$$ | |
\newcommand{\pderiv}[2]{\frac{\partial #1}{\partial #2}} | |
$$ | |
My Update: | |
$x \leftarrow x - \eta \pderiv{\mathcal L}{x}$ | |
 |
$$ | |
\newcommand{\pderiv}[2]{\frac{\partial #1}{\partial #2}} | |
\newcommand{\pderivsq}[2]{\frac{\partial^2 #1}{\partial #2^2}} | |
\newcommand{\lderiv}[1]{\frac{\partial \mathcal L}{\partial #1}} | |
\newcommand{\pderivgiven}[3]{\left.\frac{\partial #1}{\partial #2}\right|_{#3}} | |
\newcommand{\norm}[1]{\frac12\| #1 \|_2^2} | |
\newcommand{argmax}[1]{\underset{#1}{\operatorname{argmax}}} | |
\newcommand{argmin}[1]{\underset{#1}{\operatorname{argmin}}} | |
\newcommand{blue}[1]{\color{blue}{#1}} | |
\newcommand{red}[1]{\color{red}{#1}} |
$$ | |
\newcommand{\pderiv}[2]{\frac{\partial #1}{\partial #2}} | |
\newcommand{\pderivsq}[2]{\frac{\partial^2 #1}{\partial #2^2}} | |
\newcommand{\lderiv}[1]{\frac{\partial \mathcal L}{\partial #1}} | |
\newcommand{\pderivgiven}[3]{\left.\frac{\partial #1}{\partial #2}\right|_{#3}} | |
\newcommand{\norm}[1]{\frac12\| #1 \|_2^2} | |
\newcommand{\argmax}[1]{\underset{#1}{\operatorname{argmax}}} | |
\newcommand{\argmin}[1]{\underset{#1}{\operatorname{argmin}}} | |
\newcommand{\blue}[1]{\color{blue}{#1}} | |
\newcommand{\red}[1]{\color{red}{#1}} |