Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Ranjana Admin

Ranjana Admin

★ JanBask Expert
Share
131Questions
736Answers
177.6KViews on questions

Differentiate linear regression from logistic regression

The differences between linear and logistic regression are Linear regression is used when the dependent variable is continuous and logistic regression is used when the dependent variables are categorical in nature. Linear regression uses straight line equation y=mx+c but logistic regression uses the equation y=ex+e-x…

Data Science

Answered Jan 15, 2020 · 1.0K Views Read answer →

How can VIF avoid multicollinearity issues in a linear regression model?

Word2Vec uses a neural network to represent words whose hidden network encodes the representation into vectors. On the other hand, FastText breaks words into several n-grams and train on the data. For instance, the tri-grams for the word apple is app, ppl, and ple (ignoring the starting and ending of boundaries of…

Data Science

Answered Jan 15, 2020 · 928 Views Read answer →

How to visualize a linear regression model in R?

# Simple Linear Regression # Importing the dataset dataset = read.csv('Salary_Data.csv') # Splitting the dataset into the Training set and Test set # install.packages('caTools') library(caTools) set.seed(123) split = sample.split(dataset$Salary, SplitRatio = 2/3) training_set = subset(dataset, split == TRUE) test_set…

Data Science

Answered Jan 15, 2020 · 926 Views Read answer →

Explain a simple linear regression in R

# Simple Linear Regression # Importing the dataset dataset = read.csv('Salary_Data.csv') # Splitting the dataset into the Training set and Test set # install.packages('caTools') library(caTools) set.seed(123) split = sample.split(dataset$Salary, SplitRatio = 2/3) training_set = subset(dataset, split == TRUE) test_set…

Data Science

Answered Jan 15, 2020 · 838 Views Read answer →

Explain a simple linear regression in Python

# Simple Linear Regression # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Salary_Data.csv') X = dataset.iloc[:, :-1].values y = dataset.iloc[:, 1].values # Splitting the dataset into the Training set and Test set from…

Data Science

Answered Jan 15, 2020 · 912 Views Read answer →

More members from the SQL Server community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.