Publications by Ozkan Gelincik
RUnsupervisedLearning
Unsupervised Learning in R Unsupervised learning Three major types of machine learning Execute one type of unsupervised learning using R Types of machine learning Unsupervised learning Finding structure in unlabeled data Supervised learning Making predictions based on labeled data (e.g., regression and classification) Reinforcement learning ...
57022 sym R (405133 sym/187 pcs) 65 img
Introduction to the Tidyverse
1 Loading the gapminder and dplyr packages install.packages("gapminder", repos = "http://cran.us.r-project.org") ## Warning: unable to access index for repository http://cran.us.r-project.org/src/contrib: ## cannot open URL 'http://cran.us.r-project.org/src/contrib/PACKAGES' ## Warning: package 'gapminder' is not available for this version of R #...
5289 sym R (17010 sym/72 pcs) 19 img
Introduction to R and Intermediate R - DataCamp
1 Data Utilities 1.1 Creating a metrix Let’s construct a matrix from scratch: box_office <- c(460.998, 314.4, 290.475, 247.900, 309.306, 165.8) region <- c("US", "non-US") titles <- c("A New Hope", "The Empire Strikes Back", "Return of the Jedi") star_wars_matrix <- matrix(box_office, nrow = 3, byrow = TRUE, dimnames =...
6116 sym Python (10436 sym/60 pcs)
Intermediate Regression in R
1 From simple regression to multiple regression Datasets from previous lesson install.packages("fst", repos = "http://cran.us.r-project.org") ## Warning: unable to access index for repository http://cran.us.r-project.org/src/contrib: ## cannot open URL 'http://cran.us.r-project.org/src/contrib/PACKAGES' ## Warning: package 'fst' is not available ...
59476 sym R (66061 sym/343 pcs) 58 img
Data Manipulation with dplyr
1 The dplyr package We can either install the dplyr package alone or install tidyverse that includes dplyr and other useful packages: Let’s install tudyverse install.packages("tidyverse", repos = "http://cran.us.r-project.org") ## Warning: unable to access index for repository http://cran.us.r-project.org/src/contrib: ## cannot open URL 'http:/...
9479 sym R (45975 sym/132 pcs) 2 img
Joining Data with dplyr
1 Linking tables: using inner_join() Let’s load the sets and themes datasets and inspect their structure: sets <- readRDS("sets.rds") str(sets) ## Classes 'spec_tbl_df', 'tbl_df', 'tbl' and 'data.frame': 4977 obs. of 4 variables: ## $ set_num : chr "700.3-1" "700.1.1-1" "700.B.2-1" "700.1-2" ... ## $ name : chr "Medium Gift Set (ABB)" "Si...
20279 sym R (71224 sym/207 pcs) 3 img
Introduction to Statistics in R
1 Fundamental concepts and definitions 1. What is statistics? Statistics is a field that practices and studies data collection and analysis. 2. What can statistics do? How likely is someone to purchase a product? Are people more likely to purchase it if they can use a difference payment system? How many occupants will your hotel have? How can yo...
26420 sym R (20473 sym/209 pcs) 22 img
Introduction to Data Visualization with ggplot2
1 Exploratory vs. Explanatory Data Visualization Exploratory visualization is done to confirm and analyze the data, while explanatory data visualization is done for informing and persuading readers. install.packages("MASS", repos = "http://cran.us.r-project.org") ## Warning: unable to access index for repository http://cran.us.r-project.org/src/co...
24617 sym R (37511 sym/184 pcs) 96 img
Intermediate Data Visualization with ggplot2
1 Statistics layer Two categories of functions Called from within a geom Called independently (stats_) install.packages("ggplot2", repos = "http://cran.us.r-project.org") ## Warning: unable to access index for repository http://cran.us.r-project.org/src/contrib: ## cannot open URL 'http://cran.us.r-project.org/src/contrib/PACKAGES' ## Warning:...
37643 sym R (39714 sym/269 pcs) 112 img 1 tbl
Introduction to Importing Data in R
There are 5 types of sources to import data from Flat files Data from Excel Databases Web Statistical software 1 The base-R utils package: read.csv(), read.delim(), and read.table() functions 1.1 The read.csv() function Defaults: header = TRUE sep = , stringsAsFactors = FALSE The read.csv() function is loaded by default and is a part of the u...
16889 sym R (74261 sym/140 pcs) 2 img