Skip to content

Commit

Permalink
Final version.
Browse files Browse the repository at this point in the history
  • Loading branch information
SinghRavin committed Mar 30, 2023
1 parent 940dda0 commit 1f26d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/BackPropNN.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ X1 <- runif(n=num_obs, min=18, max=60)
X2 <- runif(n=num_obs, min=100, max=250)
prob <- exp(beta0 + beta1*X1 + beta2*X2) / (1 + exp(beta0 + beta1*X1 + beta2*X2))
# Generating binary outcome variable.
# Simulating binary outcome variable.
Y <- rbinom(n=num_obs, size=1, prob=prob)
data <- data.frame(X1, X2, Y)
Expand Down

0 comments on commit 1f26d19

Please sign in to comment.