function() {
library(readr)
data <- read_csv('data/data.csv', col_names = c('theta', 'x'))
# scale to (0, 1)
base <- data$theta / 360
ds <- list(base, data$x) %>%
as_tensor() %>%
tf$transpose()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.