Skip to content

Commit

Permalink
Fix math rendering in README
Browse files Browse the repository at this point in the history
  • Loading branch information
jemus42 committed Nov 20, 2024
1 parent d9dab02 commit aea8d6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ pak::pak("bips-hb/wflsa")

The problem solved by the wFLSA algorithm is formulated as follows:

```math
$$
\hat{\beta} = \underset{\beta}{\arg\min} \left( \frac{1}{2} \| y - \beta \|_2^2 + \lambda_1 \| \beta \|_1 + \lambda_2 \sum_{i < j} w_{ij} | \beta_i - \beta_j | \right)
```
$$

Where:
- $y$ is the response variable with mean 0.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ pak::pak("bips-hb/wflsa")

The problem solved by the wFLSA algorithm is formulated as follows:

``` math
$$
\hat{\beta} = \underset{\beta}{\arg\min} \left( \frac{1}{2} \| y - \beta \|_2^2 + \lambda_1 \| \beta \|_1 + \lambda_2 \sum_{i < j} w_{ij} | \beta_i - \beta_j | \right)
```
$$

Where: - $y$ is the response variable with mean 0. - $\beta$ is the
vector of coefficients to be estimated. - $|| \cdot ||_1$ and
Expand Down

0 comments on commit aea8d6b

Please sign in to comment.