SHARE
TWEET

Untitled

a guest Aug 20th, 2017 201 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. library(nnet)
  2. data = read.csv(file = 'World-Cup-Stats-v1.1.csv', header = T)
  3. build.data = data[-64, ]
  4. pred.data = data[64,]
  5. model = multinom(Result ~ Difference.in.fifa.rank + Difference.in.minutes.played + Difference.in.points + Difference.in.goals.conceded, data = build.data)
  6. predict(model, data[64,])
RAW Paste Data
Top