Machine Learning Using R by Karthik Ramasubramanian & Abhishek Singh

Machine Learning Using R by Karthik Ramasubramanian & Abhishek Singh

Author:Karthik Ramasubramanian & Abhishek Singh
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


summarise(group_by(Data_Logistic,IncomeClass),Average_Rate=mean(choice))

print("Summary of Average Purchase Rate by IncomeClass")

[1] "Summary of Average Purchase Rate by IncomeClass"

summary_Rating

# A tibble: 9 × 2

IncomeClass Average_Rate

<fctr><dbl>

1 1 0.5182724

2 2 0.5072816

3 3 0.4693932

4 4 0.4423283

5 5 0.4388827

6 6 0.4167953

7 7 0.4031617

8 8 0.3637868

9 9 0.3260582

plot(summary_Rating$IncomeClass,summary_Rating$Average_Rate,type="b", xlab="Income Class", ylab="Average Purchase Rate observed", main="Purchase Rate and Income Class")



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.