Day: February 3, 2022

Types of machine learning algorithm

What is machine learning? Machine Learning refers to the techniques involved in dealing with vast data in the most intelligent fashion (by developing algorithms) to derive actionable insights. Machine learning…

Data Science

Data Visualization with R codes: Barplots and Scatter plots

Read the earlier article to understand the data by clicking on the link below https://lightgray-cattle-549464.hostingersite.com/post/data-visualization-with-r-histogram-boxplot-piechart-mosiacplot-correlation   Barplot barplot(table(dataset$age)) # dataput to the command must be vector or matrix# If you…

CRM

Logistic regression with R codes

Train the model using the training sets and check score logistic <- glm(formula = Survived ~ Pclass + Sex + Embarked + Age, data = train,  family ="binomial") summary(logistic) #…

Data Science

Decision trees with R codes

Decision tree can be used for both classification and regression problems. Terminologies Related To Decision Tree •Root Node Splitting Decision Node Leaf/Terminal Node Pruning Branch/ Sub Tree Parent/Child Node •Algorithms used…

CRM

Targeted Marketing Campaign for cross-sell of Term Deposits: Predicting conversion of cross-selling using machine learning

# Setting up working directorysetwd("")# Getting working directorygetwd()# Import the data install.packages("readr")library(readr)raw_dataset <- read_csv("C:/Users/91917/Desktop/raw_dataset.csv")View(raw_dataset)dataset <- raw_dataset## Data explorationstr(dataset)head(dataset)tail(dataset)View(dataset)dataset$job <- as.factor(dataset$job)dataset$marital <- as.factor(dataset$marital)dataset$age <- as.numeric(dataset$age)dataset$job <- as.factor(dataset$job)dataset$marital <- as.factor(dataset$marital)dataset$education <- as.factor(dataset$education)dataset$default…

Data Science

Predicting Telecom customer Churn: Machine learning in R

setwd("")library(readr)WA_Fn_UseC_Telco_Customer_Churn <- read_csv("WA_Fn-UseC_-Telco-Customer-Churn.csv")View(WA_Fn_UseC_Telco_Customer_Churn)dataset <- WA_Fn_UseC_Telco_Customer_Churnstr(dataset)head(dataset)tail(dataset)View(dataset)# Converting to factorsdataset$gender <- as.factor(dataset$gender)dataset$SeniorCitizen <- as.factor(dataset$SeniorCitizen)dataset$Partner <- as.factor(dataset$Partner)dataset$Dependents <- as.factor(dataset$Dependents)dataset$PhoneService <- as.factor(dataset$PhoneService)dataset$MultipleLines <- as.factor(dataset$MultipleLines)dataset$InternetService <- as.factor(dataset$InternetService)dataset$OnlineSecurity <- as.factor(dataset$OnlineSecurity)dataset$OnlineBackup <- as.factor(dataset$OnlineBackup)dataset$DeviceProtection <- as.factor(dataset$DeviceProtection)dataset$TechSupport <- as.factor(dataset$TechSupport)…

Digital marketing

What is Technical SEO?

The objective of the technical SEO is to ensure that Google search engine is able to crawl and index your website appropriately. Search engine prefers a certain structure to the…