Avatto > DATA SCIENTIST > SHORT QUESTIONS > Top 50 data Science Interview Questions

Top 50 data Science Interview Questions

Avatto > > DATA SCIENTIST > > SHORT QUESTIONS > > Top 50 data Science Interview Questions

Any value which is more than upper cap and less than the lower cap will fall under the definition of an outlier
from sklearn import linear_model import numpy as np
xl = [3,4,5,6,7]
x = np.asarray(xl).reshape(-1, 1)
y = [15,22,25,33,40]
lm = linear_model.LinearRegression()
lm.fit(x, y)
print(lm.intercept_)
print(lm.coef_[0])



Why Practice with Avatto?
High Quality MCQsExam-focused questions with accurate answers
Detailed ExplanationsStep-by-step explanations to enhance learning
Latest Exam PatternBased on updated syllabus and pattern
Performance AnalyticsTrack performance and improve weak areas
100% Free PracticePractice unlimited questions for free
Boost Your PreparationAttempt mock tests, previous year papers and topic-wise quizzes.Explore All Tests →