This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| See attached screenshot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| model = jaxLightningModule() | |
| def fit(model): | |
| opt = model.configure_optimizers() | |
| opt_state = opt.init(model.params) | |
| for iter | |
| for batch | |
| losses = model.step(batch) | |
| grads = jax.grad(losses, model.params) | |
| grad = model.reduce_gradients(grads) | |
| param_update, opt_state = opt.update(grad, opt_state, model.params) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add a (14x7) table of methods * tasks, where each cell lists the metrics ("at least 5") available for that combinaiton. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| screenshot of file editing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| will add file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| The first quote on https://jerrykaplan.com/, "AI isn't magic", shows up with some hidden spam links related to the chosen font. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "Payment type is a required field" yet there is no way to specify it. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| See phots below. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| post_prior <- function(m_pr, m_lik, sd_pr, sd_lik, df_pr, df_lik, | |
| xlim = c(-5, 15), n = 1001, ttl = "",...) { | |
| xvec <- seq(xlim[1], xlim[2], length.out = n) | |
| tfun <- function(x,m,s,df, ...) dt((x-m)/s, df) | |
| prvec <- tfun(xvec, m_pr, sd_pr, df_pr) | |
| likvec <- tfun(xvec, m_lik, sd_lik, df_lik) | |
| postvec <- prvec*likvec/(sum(prvec*likvec)*diff(xvec[1:2])) | |
| matplot(xvec, cbind(prvec, likvec, postvec), | |
| type = "l", |
OlderNewer