Publications by Eduardo Leyva
Modulo 2 - Spotify
R Markdown spotify <- read.csv("C:\\Users\\eleyva1\\OneDrive - Steelcase Inc\\Documents\\LIT TEC\\Most Streamed Spotify Songs 2024.csv") Librerias library("DataExplorer") ## Warning: package 'DataExplorer' was built under R version 4.4.1 Gráficas introduce(spotify) ## rows columns discrete_columns continuous_columns all_missing_columns ## 1 4...
1618 sym 5 img
Modulo2 - Clustering Puntos
Paso 1. Instalar paquetes y llamar librerías library(cluster) ## Warning: package 'cluster' was built under R version 4.4.1 library(ggplot2) library(data.table) library(factoextra) ## Warning: package 'factoextra' was built under R version 4.4.1 ## Welcome! Want to learn more? See two factoextra-related books at https://goo.gl/ve3WBa Paso 2. Ob...
2341 sym 2 img
Modulo 2 - Vinos
library(cluster) ## Warning: package 'cluster' was built under R version 4.4.1 library(ggplot2) library(data.table) library(factoextra) ## Warning: package 'factoextra' was built under R version 4.4.1 ## Welcome! Want to learn more? See two factoextra-related books at https://goo.gl/ve3WBa datos <- read.csv( "C:\\Users\\eleyva1\\OneDrive - Steelc...
1246 sym R (4767 sym/13 pcs) 2 img
Modulo2 - Clustering Abarrotes & Data Explorer
Contexto El dueño de las 5 tiendas desea clasificar los clientes por cantidad de visitas y ticket promedio.El siguiente análisis tiene como objetivo determinar las cantidades de 13 componentes que se encuentran en cada uno de los tres tipos de ivnos. Paso 1. Instalar paquetes y llamar librerías library(cluster) ## Warning: package 'cluster'...
4092 sym R (260979 sym/32 pcs) 2 img
Modulo2 - Analisis de Snetimientos Himno
library(readtext) library(syuzhet) library(RColorBrewer) library(wordcloud) Ejercicio 6: Analisis de sentimientos texto <- readtext("C:\\Users\\eleyva1\\OneDrive - Steelcase Inc\\Documents\\LIT TEC\\himno.txt") texto_palabras <- get_tokens(texto) emociones_df <- get_nrc_sentiment(texto_palabras, language = "spanish") barplot(colSums(prop.tab...
2989 sym R (506 sym/5 pcs) 3 img
Modulo2 - OCR
library(tm) ## Loading required package: NLP library(tesseract) library(magick) ## Linking to ImageMagick 6.9.12.98 ## Enabled features: cairo, freetype, fftw, ghostscript, heic, lcms, pango, raw, rsvg, webp ## Disabled features: fontconfig, x11 library(officer) library(pdftools) ## Using poppler version 23.08.0 library(purrr) Ejercicio 7: OCR...
3073 sym R (1954 sym/18 pcs)
Modulo2 - OCR: Carta de Amor
Teoria El reconocimiento óptico de caracteres (ocr) es una tecnologia utilizada para convertir diferentes tipos de documentos, como imagenes, documentos impresos escaneados, fotografias de texto, archivos pdf, o imagenes capturadas con una camara, en datos editables y buscables Instalar packetes y librerias library(tesseract) ## Warning: packa...
2156 sym R (1016 sym/16 pcs)
Modulo2 - Caret: Enfermedad Cardiaca
Librerias library(ggplot2) library(lattice) library(caret) ## Warning: package 'caret' was built under R version 4.4.1 library(datasets) library(DataExplorer) ## Warning: package 'DataExplorer' was built under R version 4.4.1 library(kernlab) ## Warning: package 'kernlab' was built under R version 4.4.1 ## ## Attaching package: 'kernlab' ## Th...
12472 sym R (16716 sym/43 pcs) 2 img
Random Forest
Random Forest library(randomForest) ## Warning: package 'randomForest' was built under R version 4.4.1 ## randomForest 4.7-1.1 ## Type rfNews() to see new features/changes/bug fixes. library(caret) ## Warning: package 'caret' was built under R version 4.4.1 ## Loading required package: ggplot2 ## ## Attaching package: 'ggplot2' ## The following o...
2723 sym R (8778 sym/28 pcs)
Random Forest 2
Random Forest library(randomForest) ## Warning: package 'randomForest' was built under R version 4.4.1 ## randomForest 4.7-1.1 ## Type rfNews() to see new features/changes/bug fixes. library(caret) ## Warning: package 'caret' was built under R version 4.4.1 ## Loading required package: ggplot2 ## ## Attaching package: 'ggplot2' ## The following o...
2765 sym R (9082 sym/30 pcs)