Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Data Science

Data Science Questions & Answers

Get better with each session of Data Science Training. Talk and understand the language of data and communicate your findings with different techniques and tools that you will gain expertise with the help of this online Data Science Training.

768Discussions
949Answers
0Waiting for an answer
Ask a Data Science Question →

Visualize a decision tree regression using Python

Let us import the model # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset…

Data Science · Machine Learning

1 Answer · 1.8K Views · Answered ✓

Asked by: Ira Joshi · 6 years ago

Explain implementation of decision tree regression in Python

First we import the data # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset…

Data Science · Pythons

1 Answer · 1.4K Views · Answered ✓

Asked by: Sneha Pandey · 6 years ago

A user implemented a Gini coefficient in Python

def gini(x): # Mean absolute difference. mad = np.abs(np.subtract.outer(x, x)).mean() # Relative mean absolute difference rmad = mad / np.mean(x) #…

Data Science · Machine Learning

1 Answer · 1.9K Views · Answered ✓

Asked by: varsha Chauhan · 6 years ago

A user ran the following code and received an error

import pandas as pd from sklearn.tree import DecisionTreeClassifier data = pd.DataFrame() data['A'] = ['a','a','b','a'] data['B'] = ['b','b','a','b']…

Data Science · Machine Learning

1 Answer · 1.4K Views · Answered ✓

Asked by: Gayatri Jaiteley · 6 years ago

Explain entropy

Entropy is the measure of impurity present in the data and it is derived from information theory. The entropy is considered as zero, if the sample is…

Data Science · Machine Learning

4 Answers · 1.6K Views · Answered ✓

Asked by: Nikita Gavde · 6 years ago

Define n-grams

N-grams are used in text p reprocessing tasks and they are a combination of words occur in a given window.

Data Science · Machine Learning

1 Answer · 1.8K Views · Answered ✓

Asked by: Kayla Shinn · 6 years ago

Have you ever heard about Unary Arithmetic operations?

Python is a programming language mostly used by Data scientists these days because of its features like interpretable, interactive, object-oriented…

Data Science · Pythons

1 Answer · 1.3K Views · Answered ✓

Asked by: Jefferey Burgher · 6 years ago

Learn & Explore

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

Latest Data Science Blogs

Guides, tips and career advice on Data Science from JanBask experts.

Explore other technologies

Pick another topic to find answers, interview questions, and real-world tips.