wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Post test data science day 24

Total questions: 10

Worksheet time: 4mins

Name
Class
Date
1.

code yang dimasukkan untuk menginstall library untuk mengerjakan unsupervised machine learning dengan python adalah...

a)

!pip install scikit-plot

b)

import matplotlib.pyplot as plt

c)

install scikit-plot

d)

import matplot.pyplot as plt

2.

Dalam melakukan unsupervised machine learning, diperlukan tahap exploratory data analysis. Dalam tahap tersebut, untuk check outlier, digunakan

a)

data visualization

b)

boxplot

c)

ggplot

d)

statistical analysis

3.

Tahap pertama dalam step PCA adalah...

a)

check the data

b)

load the algorithm

c)

add new name for the new column

d)

check the explained variance

4.

Untuk melakukan simple data checking dalam rangka mendapatkan informasi general dari dataframe, digunakan...

a)

df.general()

b)

df.data()

c)

df.info()

d)

print(df.columns)

5.

df[df.isnull().any(axis=1)]


Merupakan contoh.. code untuk melakukan.

a)

check simple statistic of the numeric value

b)

check standard missing value untuk multiple column

c)

check standard missing value untuk single column

d)

check outlier

6.

Tahap awal dari PCA setelah melakukan train data and transform adalah...

a)

show in 2D plot

b)

check the shape of the result

c)

check the explained variance

d)

check explained variance for each number of component

7.

Metode yang digunakan untuk mendefinisikan the best cluster dalam tahap clustering adalah...

a)

elbow method

b)

k-means method

c)

fox in method

d)

standard method

8.

Untuk melihat hasil akhir clustering setelah melakukan data training, digunakan...

a)

final_df.head()

b)

final_df.tail()

c)

result_df.head()

d)

result_df.tail()

9.

Sementara untuk melihat bentuk dari hasil data training pada PCA, yang perlu diinput adalah...

a)

pca_array.shape

b)

pca_feature_total.shape

c)

pca_feature_array.shape

d)

pca_feature()

10.

Function untuk melakukan show in 2Dplot adalah...

a)

pca_feature_df.2D()

b)

pca_feature_df.plot.scatter()

c)

pca_2Dshow_df.plot.scatter()

d)

pca_df.plot.scatter_2D()