Publications by David Leydet

ML Pipelines

30.03.2023

Pipelines Introduction In this lab, we’ll go an example of building a pipeline to feed data into a machine learning model. You will need the credit_data.csv dataset (attached). ## set working directory setwd("~/Desktop/University of Utah PhD /Course Work/Spring 2023 Semester/GEOG6160 - Spatial Modeling/Labs/lab09/") ## Load required libraries ...

15081 sym R (264220 sym/146 pcs) 6 img

Intro to Neural Networks

23.03.2023

Neural Networks Introduction Note: In this lab, we’ll go over two neural network examples. These are simple one or two hidden layer networks, and the main purpose of the exercise is to demonstrate how to build the networks and what options are available to modify these. We’ll also walk through tuning these simple networks. ##Set Working Direct...

8789 sym R (474321 sym/112 pcs) 7 img

Ensemble Tree ML Methods

20.03.2023

Tree Methods Note: Use the following data: current.env.RData future.env.Rdata Pinus_edulis.csv ne_50m_admin_0_countries.zip Initial Set Up ##Set working directory setwd("~/Desktop/University of Utah PhD /Course Work/Spring 2023 Semester/GEOG6160 - Spatial Modeling/Labs/lab07") ##List Files to check for the appropriate data list.files("../datafi...

17202 sym R (387078 sym/177 pcs) 17 img

Introduction to Machine Learning (mlr3 package)

01.03.2023

** GEOG6160 Spatial Modeling Lab 6 - Intro to Machine Learning** Initial Setup ##pkgs #MLR - Machine Learning #Viz, tuning, learners are extensions of the mlr3 package pkgs = c("mlr3", "mlr3viz", "mlr3learners", "mlr3tuning") install.packages(pkgs) ## Set working directory ## Experiment with here()? setwd("~/Desktop/University of Utah PhD /Cou...

7847 sym R (35903 sym/137 pcs) 5 img 3 tbl

Mixed Effects Model Demo

06.10.2022

Practice ##Set working directory and load the packages for this lab. setwd("~/Desktop/University of Utah PhD /Course Work/Fall 2022 Semester/GEOG6000_Data Analysis/lab06") library(ggplot2) library(dplyr) library(nlme) library(tidyr) library(lme4) library(lattice) library(mgcv) ##for generalized additive models library(plotly) ##for interactive ...

4135 sym R (25226 sym/57 pcs) 7 img

Basic Plotting

06.10.2022

GEOG6000 Methods of Data Analysis Lab 03 Experiment using R Markup in HTML Plotting Types setwd("~/Desktop/University of Utah PhD /Course Work/Fall 2022 Semester/GEOG6000_Data Analysis/lab03") ##Set working directory ##Bar Plots VAdeaths = read.csv("../datafiles/VAdeaths.csv", row.names = 1) mycol = heat.colors(5) barplot(as.matrix(VAdeaths), b...

673 sym R (57376 sym/57 pcs) 23 img

Basic Linear Modeling

06.10.2022

GEOG6000 - Methods of Data Analysis setwd("~/Desktop/University of Utah PhD /Course Work/Fall 2022 Semester/GEOG6000_Data Analysis/lab04") ##Set working directory Initial Scripting Practice Exercise irished = read.csv("../datafiles/irished.csv") irished$sex = factor(irished$sex, levels = c(1, 2), labels ...

5721 sym R (25245 sym/77 pcs) 6 img

Generalized Linear Models - Binomial and Poisson

06.10.2022

Generalized Linear Models setwd("~/Desktop/University of Utah PhD /Course Work/Fall 2022 Semester/GEOG6000_Data Analysis/lab05") Binomial Model 1 Used for binary (0, 1) data. irished = read.csv("../datafiles/irished.csv", header = TRUE) ##Change the numerical values to categorical data with labels irished$sex = factor(irished$sex, ...

5690 sym Python (12261 sym/52 pcs) 6 img

Visualization Practice - ggplot and plotly

07.10.2022

Initial ggplot set up setwd("~/Desktop/University of Utah PhD /Course Work/Fall 2022 Semester/GEOG6000_Data Analysis/lab05b") library(ggplot2) library(dplyr) #for helping rename/shape data library(ggpubr) #additional package for producing plots library(plotly) #interactive figures library(ggthemes) #adding additional themes penguins = read.csv(...

1749 sym R (14058 sym/66 pcs) 33 img

Clustering and Principle Component Analysis

15.10.2022

Practice - Distance Measures and Cluster Analysis ##R setup with packages for this lab library(ggplot2) library(ggpubr) library(plotly) library(maps) #Displaying geographic data library(cluster) #Cluster analysis package library(fpc) #Flexible procedures for clustering library(fields) #For working with spatial data library(RColorBrewer) #Adding ...

3709 sym R (41085 sym/80 pcs) 18 img 2 tbl