0% found this document useful (0 votes)
3 views1 page

Scatter Plots of Accuracy Models

The document describes the creation of two scatter plots using R programming. The first plot illustrates a perfect accuracy model with a constant y-value of 1, while the second plot depicts a model with varying accuracy values generated from a normal distribution. Both plots use random data points for the x-axis and are labeled accordingly.

Uploaded by

2yq5y5yq2c
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Scatter Plots of Accuracy Models

The document describes the creation of two scatter plots using R programming. The first plot illustrates a perfect accuracy model with a constant y-value of 1, while the second plot depicts a model with varying accuracy values generated from a normal distribution. Both plots use random data points for the x-axis and are labeled accordingly.

Uploaded by

2yq5y5yq2c
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

# Scatter plot of Perfect Accuracy Model

# Generate [Link](123)x <- rnorm(100, 0, 1) # generate random data points for


x-axisy <- rep(1, 100) # generate a vector of 100 values of 1 for y-axis (perfect
accuracy)par(mfrow=c(1,2))# Plot scatter plotplot(x, y, main="Scatter Plot of
Perfect Accuracy Model", xlab="Distance between Data Points", ylab="Accuracy",
col = "blue")# Scatter plot of Model with Varying Accuracy# Generate data
[Link](123)x <- rnorm(100, 0, 1) # generate random data points for x-axisy <-
rnorm(100, 0.5, 0.25) # generate random accuracy values for y-axis# Plot scatter
plotplot(x, y, main="Scatter Plot of Model with Varying Accuracy",
xlab="Distance between Data Points", ylab="Accuracy", col = "blue")

You might also like