Commit 863dee4a authored by Shengpu Tang (tangsp)'s avatar Shengpu Tang (tangsp)
Browse files

update README math

parent 2a4ada9a
...@@ -44,7 +44,7 @@ Refer to the notebook `tests/small_test/Run-docker.ipynb` for an example to run ...@@ -44,7 +44,7 @@ Refer to the notebook `tests/small_test/Run-docker.ipynb` for an example to run
## Usage Notes ## Usage Notes
FIDDLE generates feature vectors based on data within the observation period $`t\in[0,T]`$. This feature representation can be used to make predictions of adverse outcomes at t=T. More specifically, FIDDLE outputs a set of binary feature vectors for each example $`i`$, $`\{(s_i,x_i)\ \text{for}\ i=1 \dots N\}`$ where $`s_i \in R^d`$ contains time-invariant features and $`x_i \in R^{L \times D}`$ contains time-dependent features. FIDDLE generates feature vectors based on data within the observation period <img src="https://render.githubusercontent.com/render/math?math=t\in[0,T]">. This feature representation can be used to make predictions of adverse outcomes at t=T. More specifically, FIDDLE outputs a set of binary feature vectors for each example <img src="https://render.githubusercontent.com/render/math?math=i">, <img src="https://render.githubusercontent.com/render/math?math=\{(s_i,x_i)\ \text{for}\ i=1 \dots N\}"> where <img src="https://render.githubusercontent.com/render/math?math=s_i \in R^d"> contains time-invariant features and <img src="https://render.githubusercontent.com/render/math?math=x_i \in R^{L \times D}"> contains time-dependent features.
Input: Input:
- formatted EHR data: `.csv` or `.p`/`.pickle` file, a table with 4 columns \[`ID`, `t`, `variable_name`, `variable_value`\] - formatted EHR data: `.csv` or `.p`/`.pickle` file, a table with 4 columns \[`ID`, `t`, `variable_name`, `variable_value`\]
...@@ -54,7 +54,7 @@ Input: ...@@ -54,7 +54,7 @@ Input:
- specifies additional settings by providing a custom `config.yaml` file - specifies additional settings by providing a custom `config.yaml` file
- a default config file is located at `FIDDLE/config-default.yaml` - a default config file is located at `FIDDLE/config-default.yaml`
- arguments: - arguments:
- T: The time of prediction; time-dependent features will be generated using data in $`t\in[0,T]`$. - T: The time of prediction; time-dependent features will be generated using data in <img src="https://render.githubusercontent.com/render/math?math=t\in[0,T]">.
- dt: the temporal granularity at which to "window" time-dependent data. - dt: the temporal granularity at which to "window" time-dependent data.
- theta_1: The threshold for Pre-filter. - theta_1: The threshold for Pre-filter.
- theta_2: The threshold for Post-filter. - theta_2: The threshold for Post-filter.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment