R Markdown

Instalando dependências

install.packages("dplyr")
## Installing package into '/home/lucas.burle/R/x86_64-pc-linux-gnu-library/4.1'
## (as 'lib' is unspecified)
library("dplyr")
## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
install.packages("tidyr")
## Installing package into '/home/lucas.burle/R/x86_64-pc-linux-gnu-library/4.1'
## (as 'lib' is unspecified)
library(tidyr)

library(stringr)

install.packages("DT")
## Installing package into '/home/lucas.burle/R/x86_64-pc-linux-gnu-library/4.1'
## (as 'lib' is unspecified)
library("DT")

Manipulação

Data Set: Beer Profile and Ratings Data Set.

beers = read.csv("beer_profile_and_ratings.csv")

beers <- beers %>%
  rename("Beer.Name.Full" = "Beer.Name..Full.",
         "Review.Appearance" = "review_appearance",
         "Number.Of.Reviews" = "number_of_reviews",
         "Review.Palate" = "review_palate",
         "Review.Taste" = "review_taste",
         "Review.Aroma" = "review_aroma",
         "Review.Overall" = "review_overall"
         )

beers <- beers %>%
  filter(Review.Overall >= 3) %>% # filtrando apenas por cervejas com review geral >= 3
  arrange(Alcohol) # ordenando por nível de alcool

beers <- beers %>%
  mutate(Style.SubType = case_when(
    grepl(" - ", Style, fixed = TRUE) ~ strsplit(Style, " - ")[[1]][1],
    TRUE ~ "")) # Nova variável Style.Type

beers <- beers %>%
  mutate(Style = case_when(
    grepl(" - ", Style, fixed = TRUE) ~ strsplit(Style, " - ")[[1]][2],
    TRUE ~ Style)) 

beers$Style <- factor(beers$Style)
beers$Style.SubType <- factor(beers$Style.SubType)

beers <- beers %>% 
  relocate(Name, Style, Style.SubType) %>%
  rename("Style.Type" = "Style")

DT

datatable(beers)
## Warning in instance$preRenderHook(instance): It seems your data is too big for
## client-side DataTables. You may consider server-side processing:
## https://rstudio.github.io/DT/server.html

LaTex

Transformada de Fourier \[ {\displaystyle {\hat {f}}(\xi )=\int _{-\infty }^{\infty }f(x)\ e^{-2\pi i\xi x}\,dx.} \]

Transformada de Laplace \[ {\displaystyle F(s)=\int _{0}^{\infty }f(t)e^{-st}\,dt} \]

Transformada de Laplace-Carson \[ V^{\ast }(j,p)=p\int _{0}^{\infty }V(j,t)e^{-pt}\,dt \]

Matriz de projeção de perspectiva \[ {\displaystyle {\begin{bmatrix}\mathbf {d} _{x}\\\mathbf {d} _{y}\\\mathbf {d} _{z}\end{bmatrix}}={\begin{bmatrix}1&0&0\\0&\cos(\mathbf {\theta } _{x})&\sin(\mathbf {\theta } _{x})\\0&-\sin(\mathbf {\theta } _{x})&\cos(\mathbf {\theta } _{x})\end{bmatrix}}{\begin{bmatrix}\cos(\mathbf {\theta } _{y})&0&-\sin(\mathbf {\theta } _{y})\\0&1&0\\\sin(\mathbf {\theta } _{y})&0&\cos(\mathbf {\theta } _{y})\end{bmatrix}}{\begin{bmatrix}\cos(\mathbf {\theta } _{z})&\sin(\mathbf {\theta } _{z})&0\\-\sin(\mathbf {\theta } _{z})&\cos(\mathbf {\theta } _{z})&0\\0&0&1\end{bmatrix}}\left({{\begin{bmatrix}\mathbf {a} _{x}\\\mathbf {a} _{y}\\\mathbf {a} _{z}\\\end{bmatrix}}-{\begin{bmatrix}\mathbf {c} _{x}\\\mathbf {c} _{y}\\\mathbf {c} _{z}\\\end{bmatrix}}}\right)} \]

Gradiente descendente \[ {\displaystyle \mathbf {a} _{n+1}=\mathbf {a} _{n}-\gamma \nabla F(\mathbf {a} _{n})} \]

Data Science

Referencias

Corrêa, Bueno Filho, and Carmo (2009) Comparison of three diagrammatic keys for the quantification of late blight in tomato leaves

Grolemund (n.d.) R Markdown

Susskind and Hrabovsky (2014)

Turing (1950)

Ngiam et al. (2011)

Corrêa, F. M., J. S. S. Bueno Filho, and M. G. F. Carmo. 2009. “Comparison of Three Diagrammatic Keys for the Quantification of Late Blight in Tomato Leaves.” Plant Pathology 58 (6): 1128–33. https://doi.org/10.1111/j.1365-3059.2009.02140.x.
Grolemund, Garrett, J. J. Allaire. n.d. R Markdown: The Definitive Guide. Accessed February 17, 2021. https://bookdown.org/yihui/rmarkdown/.
Ngiam, Jiquan, Aditya Khosla, Mingyu Kim, Juhan Nam, Honglak Lee, and Andrew Y Ng. 2011. “Multimodal Deep Learning.” In ICML.
Susskind, Leonard, and George Hrabovsky. 2014. Classical Mechanics: The Theoretical Minimum. New York, NY: Penguin Random House.
Turing, A. M. 1950. “Computing Machinery and Intelligence.” Mind, New series, 59 (236): 433–60. http://www.jstor.org/stable/2251299.