September 2017
Beginner to intermediate
270 pages
5h 53m
English
Before starting with data analysis through the building and training of a neural network, we conduct an exploratory analysis to understand how data is distributed and extract preliminary knowledge.
We can begin our explorative analysis by tracing a plot of predictors versus target. We recall in this respect that in our analysis, the predictors are the following variables: cylinders, displacement, horsepower, weight, acceleration, year, origin, and name. The target is the mpg variable that contains measurements of the miles per gallon of 392 sample cars.
Suppose we want to examine the weight and mileage of cars from three different origins, as shown in the next graph, using the following code:
plot(data$weight, data$mpg, ...
Read now
Unlock full access