mltraining icon indicating copy to clipboard operation
mltraining copied to clipboard

Need Help

Open jony007ex opened this issue 6 years ago • 2 comments

Need help: In Prediction 3 when using this line showing the below message.

aggregate(survived~sex,data=train, FUN = sum) Error in eval(predvars, data, env) : object 'survived' not found

jony007ex avatar Nov 07 '19 06:11 jony007ex

Need help: In Prediction 3 when using this line showing the below message.

aggregate(survived~sex,data=train, FUN = sum) Error in eval(predvars, data, env) : object 'survived' not found

@jony007ex use this command instead

aggregate(Survived ~ Sex, data = train, FUN = sum)

you have capitalization error

sakhadib avatar Jul 12 '24 17:07 sakhadib

@raqueeb sir, There are mistakes in prediction3 provided code. Your repo is recently very popular. please fix those errors.

sakhadib avatar Jul 12 '24 17:07 sakhadib