Question 1
The final output from the BBC Weather Location Service API is in CSV format:
TRUE
FALSE
The IIT Madras BS Tools in Data Science (Tools in Data Science (TDS)) End Term paper sat on 3 Apr 2022, in the January 2022 term, set AN1: 25 questions for 50 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.
The final output from the BBC Weather Location Service API is in CSV format:
TRUE
FALSE
Correct answer
FALSE
Which among the following properties are returned by the sentiment function of the TextBlob library?
Score, Polarity
Polarity, Negativity
Median, Subjectivity
Polarity, Subjectivity
Correct answer
Polarity, Subjectivity
Subjectivity score ranges between -1 to +1.
TRUE
FALSE
Correct answer
FALSE
A subjectivity score of 0.4 means that the text statement:
has a positive sentiment
has a negative sentiment
is more of an opinion statement
is more of a factual statement
Correct answer
is more of a factual statement
A polarity score of 0.1 means that the text statement:
has a positive sentiment
has a negative sentiment
is more of an opinion statement
is more of a factual statement
Correct answer
has a positive sentiment
Provided below is a snapshot of the dataset which consists of movie reviews and respective labels.
To compute the sentiment scores the Azure Machine Learning add-in requires input and output values. In the figure provided below the input and output cells need to be populated with appropriate values to obtain sentiment scores.
Choose the most appropriate option that enables you to predict sentiment scores using the Excel Azure Machine Learning add-in.
Input: Sheet1!A1:A11
Output: Sheet!C1
Input: Sheet1!B1:B11
Output: Sheet!C1
Correct answer
Input: Sheet1!B1:B11
Output: Sheet!C1
We are interested in analyzing the effect of money spent on TV advertising on the sales volume of a product. Which Excel function would you use as a starting point in this analysis?
STDEV.P()
STDEV.S()
SLOPE()
EXACT()
Correct answer
SLOPE()
from sklearn.metrics import mean_absolute_error
from sklearn.metrics import median_absolute_error
from sklearn.metrics import median_absolute_percentage_error
from sklearn.metrics import average_absolute_percentage_error
Correct answer
from sklearn.metrics import median_absolute_error
You are working on a piece of code that classifies different vehicles into its respective class (car, LCV, truck, earth movers). Which of the following loss functions from Keras would you pick for the task?
binary_crossentropy
categorical_crossentropy
mean_squared_error
Mean_absolute_error
Correct answer
categorical_crossentropy
Tableau automatically divides the data fields into two categories. What are they..?
Measures and categories
Dimensions and Measures
Columns and rows
Matrices and columns
Correct answer
Dimensions and Measures
Which Extension in Tableau transforms visualizations into narratives.?
Narrator
Navigator
Quill
Quora
Correct answer
Quill
If you want to create comical characters while building business stories, which tool would be helpful.?
Cartoongen
Image size
Comicgen
Gentoon
Correct answer
Comicgen
Which of the following is used to build and host web applications?
Streamlit for building web applications, Heroku for hosting web applications
Heroku for building web applications, Streamlit for hosting web applications
Streamlit for building web applications, Streamlit for hosting web applications
Heroku for building web applications, Heroku for hosting web applications
Correct answer
Streamlit for building web applications, Heroku for hosting web applications
Which among the following excel charts is the most suitable for detecting outliers in the data?
Bar chart
Line chart
Box and Whisker chart
Histogram
Correct answer
Box and Whisker chart
Which of the following libraries is used to construct API urls?
Urllib
BeautifulSoup
Requests
Pandas
Correct answer
Urllib
Which of the following tabs is used to identify API calls in the Inspect element in any browser?
Network
Elements
Console
Sources
Correct answer
Network
Google Studio is a tool that allows you to
merge Comicgen characters into a comic
visualize complex network data
create dashboards for small scale projects
Edit photographs and videos
Correct answer
create dashboards for small scale projects
Kumu is a tool that allows you to:
visualize dynamic line charts
create stunning dashboards for large projects
merge Comicgen characters into a comic
Visualize complex network data
Correct answer
Visualize complex network data
csr_matrix from the scipy library:
always helps reduce matrix space
helps reduce matrix space when there are a lot of zero entries in the matrix
helps reduce matrix space when there are a lot of negative entries in the matrix
makes matrix multiplication more meaningful and powerful
Correct answer
helps reduce matrix space when there are a lot of zero entries in the matrix
classification_report function from the sklearn.metrics module
builds a decision tree classifier and prints the accuracy of the classifier
reports the root mean square error of the model
runs different classification models and compares the results
builds a text report displaying the main classification metrics
Correct answer
builds a text report displaying the main classification metrics
pycaret is a
Visualization tool
Dashboard helper
low-code machine learning library
Data cleaning solution
Correct answer
low-code machine learning library
We are interested in fitting an ARIMA model to our time series data. Specifically, we are interested in a moving average model of 0, setting a lag value of 4 for autoregression, and a difference order of 1. Which of the following gives you such a model?
ARIMA(..., trend = (4,1,0))
ARIMA(..., order = (4,1,0))
ARIMA(..., order = (0,4,1))
ARIMA(..., trend = (0,4,1))
Correct answer
ARIMA(..., order = (4,1,0))
Scikit-learn has a DecisionTreeClassifier module that is useful in building decision tree classifiers. Suppose, our dataset is imbalanced in class. Which feature in the DecisionTreeClassifier() will help us tackle this problem?
random_state
min_sample_split
class_balance
class_weight
Correct answer
class_weight
k-means is typically influenced by the start values. What option in sklearn.cluster.KMeans helps reduce the impact?
verbose
algorithm
n_init
init
Correct answer
n_init
scikit-network package contains functions for (pick all correct sentences):
analysis of faults in a computer network
social network analysis
analysis of large graphs
enhancing one’s social network
Correct answers
social network analysis
analysis of large graphs