Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Team 3 pull request #3

Open
wants to merge 104 commits into
base: master
Choose a base branch
from
Open

Team 3 pull request #3

wants to merge 104 commits into from

Conversation

pmaletic
Copy link

@pmaletic pmaletic commented May 9, 2019

No description provided.


for(col in names(data)){

if(sum(is.na(data[,col]))>0){
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would prefer any here

#' @export

model <- function(input_data,target_name) {
dt_model<- rpart::rpart(as.formula(paste(target_name," ~ .")), data = input_data)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why combine the model fitting with plot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants