Publications by Miguel Arquez Abdala
Deep learning basic
Redes neuronales artificiales (ANN) Son un tipo de algoritmo de machine learning para extraer patrones de los datos. Los redes neuronales son aproximadores de funciones, que mapen inputs y outputs, y están compuestos por muchas unidades computacionales, llamadas neuronas. Cada neurona individual posee una pequeña capacidad de aproximación, sin...
8062 sym
Spatial Statistics
library(ggplot2) library(spatstat) ## Warning: package 'spatstat' was built under R version 4.0.3 ## Loading required package: spatstat.data ## Loading required package: nlme ## Loading required package: rpart ## ## spatstat 1.64-1 (nickname: 'Help you I can, yes!') ## For an introduction to spatstat, type 'beginner' ## ## Note: spat...
17378 sym R (28434 sym/170 pcs) 32 img
Parallel programming
library(parallel) library(foreach) ## Warning: package 'foreach' was built under R version 4.0.3 library(future.apply) ## Warning: package 'future.apply' was built under R version 4.0.3 ## Loading required package: future ## Warning: package 'future' was built under R version 4.0.3 library(future) library(microbenchmark) ## Warning: package 'mi...
4017 sym R (11294 sym/75 pcs) 4 img
Defensive programming notes
Global environment The default environment is the .GlobalEnv Objects are stored in enviroments To view environment content: ls() Packages and environments Packacges use namespaces as spaces for names We can think of a namespaces as a box that containts the package # exported functions of stats getNamespaceExports("stats") ## [1] "confint...
1548 sym R (12942 sym/16 pcs)
Optimizing code with Rcpp
library(Rcpp) library(microbenchmark) ## Warning: package 'microbenchmark' was built under R version 4.0.3 x <- rnorm(50000) # Define the function sum_loop sum_loop <- function(x) { result <- 0 for(i in x){ result <- result + i } result } # Check for equality all.equal(sum_loop(x), sum(x)) ## [1] TRUE # Compare the perfor...
1444 sym R (11230 sym/45 pcs)
Mixture models notes
What is clustering The procedure of partitioning a set of observations into a set of meaningful subclasses or clusters. All the observations in a cluster share some similarities but are essentially distinct from the cluster observations Clustering methods Partitioning techniques: find the centers of clusters among the observations and each one i...
3562 sym R (42521 sym/106 pcs) 20 img
Probability distributions notes
library(ggplot2) Binomial distribution A probability distribution is a mathematical description of the possible outcomes of a random variable \[ X_{1...n} \sim Binomial(size, p) \] coin_flips <- rbinom(1000, 1000, .5) qplot(coin_flips, geom = "histogram") + ggtitle("Binomial distribution") + theme_minimal() ## `stat_bin()` using `bins...
2400 sym R (6195 sym/55 pcs) 7 img
Forecasting Demand notes
library(xts) ## Warning: package 'xts' was built under R version 4.0.3 ## Warning: package 'zoo' was built under R version 4.0.3 library(forecast) ## Warning: package 'forecast' was built under R version 4.0.3 data <- read.csv("Bev.csv") dates <- seq(as.Date("2014-01-19"), length = 176, by = "weeks") bev_xts <- xts(data, order.by = dates) Man...
2349 sym R (18888 sym/52 pcs) 16 img
Bayesian analysis
library(purrr) ## Warning: package 'purrr' was built under R version 4.0.3 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 library(forcats) library(ggplot2)...
5567 sym R (13618 sym/69 pcs) 27 img
Multivariate probaiblity Distributions, PCA and MDS
Multivariate distributions are designed to describe the probability distributions of more than one random variable at the same time. Since the variables are often correlated, exploring them individually wpuld only provide limited insight Structure of multivariate data Rectangular in shape - organizaed by rows and columns # Read in the wine dat...
3968 sym R (14891 sym/105 pcs) 16 img