Search the whole station

数据分析和机器学习代写 Data Analytics代写 机器学习代写

Foundations of Data Analytics and Machine Learning

数据分析和机器学习代写 Question 1. [5 MARKS] Choose the most suitable option for each of the five parts (a)-(e) in the table below. Part (a) [1 mark] Under the

Question 1. [5 MARKS]

Choose the most suitable option for each of the five parts (a)-(e) in the table below.

 A / B / C / D
Part (a) 
Part (b) 
Part (c) 
Part (d) 
Part (e) 

Part (a) [1 mark] 数据分析和机器学习代写

Under the assumption of simple universal hashing, which statement is more accurate for a hash table with 100,000 slots?

A) We almost certainly get a collision as soon as the table gets less than 92% empty.

B) We almost certainly get a collision as soon as the table gets 1% full.

C) It is slightly more likely to get a collision than not get a collision, in the next data insertion attempt as soon as the table is 6.3% full.

D) It is slightly less likely to get a collision than not get a collision, in the next data insertion attempt as soon as the table is 6.3% full.

Part (b) [1 mark]

Given a list, L1= [1, 2, 3, 4], which line of code does NOT do exactly the same things as the other three?

A) L2 = L1

B) L2 = L1[:]

C) L2 = list(L1)

D) L2 = L1[:2] + L1[2:]

Part (c) [1 mark] 数据分析和机器学习代写

Which of the following statements regarding K-Means clustering is false?

A) K-Means can be used to perform image compression.

B) The number of clusters can be determined based on the minimum squared distances.

C) The elbow point of the scree plot indicates the suitable value of the hyperparameter.

D) K-Means does not always converge to a global minimum.

Part (d) [1 mark]

If you were asked to apply a clustering algorithm to the following dataset so that each crescent is its own cluster. Which of the following option would work?

数据分析和机器学习代写
数据分析和机器学习代写

A) k-means clustering

B) agglomerative clustering

C) Gaussian mixture

D) all of the above

Part (e) [1 mark]

Given a system of linear equations in matrix form Ax = b. Which of the following matrices could you left multiply A such that it would multiply the first row by 5 and adds it to row2?

Question 2. [6 MARKS] 数据分析和机器学习代写

Consider a dataset of physiological measurements of elite athletes.

VariableDescription
X1X2X3X4X5X6X7X8X9X10Skinfold thickness Grip strength Maximal vertical jump capacity Maximal lactate steady state (endurance) Maximum oxygen uptake (aerobic fitness) Mean corpuscalar hemoglobin count (resistance to and recovery from fatigue) Anaerobic power Maximum heart rate Muscle mass Muscle fatigue onset time

A principal component analysis was performed yielding the following results.

Eigenvalues = [7.49 3.23 1.84 0.26 0.20 0.13 0.08 0.05 0.04 0.02 0.01]T

数据分析和机器学习代写
数据分析和机器学习代写

Part (a) [2 marks]

If we would like to capture 80% of the variance, what would you use as the new dimension? Justify your answer.

Part (b) [1 mark]

Which physiological measurements has the least importance in principal component 1? Which physiological measurements has the highest importance in principal component 2?

Part (c) [2 marks]

Given a sample x = [0.1 -0.3 0.4 -0.1 0.2 0.6 -0.2 0.5 -0.1 0.9 -0.1]T what would be its new coordinates using the first three principal components?

Part (d) [1 mark]

Knowing that the data has been standardized before conducting this PCA, how many singular values will be larger than 0.5 in the singular value decomposition of the same data?

Question 3. [5 MARKS] 数据分析和机器学习代写

Determine each of the five statements (a)-(e) as “True” or “False” in the table below.

StatementTrue / False
Part (a) 
Part (b) 
Part (c) 
Part (d) 
Part (e) 

Part (a) [1 mark] A suitable algorithm for sorting records in databases which are slightly out of order is quicksort because is typically faster than mergesort in practice.

Part (b) [1 mark] k-Nearest Neighbours and Decisions Trees can only be used for problems with discrete outcome variables.

Part (c) [1 mark] Inductive bias is a cause of machine learning algorithms having a higher test error than training error.

Part (d) [1 mark] Increase in recall always involves a decrease in the false negative rate regardless of the other parameters.

Part (e) [1 mark] Classifications made by decision trees do not depend on whether we apply StandardScaler to our training data or not.

Question 4. [4 MARKS] 数据分析和机器学习代写

The following diagram represents a system of buildings that are interconnected on the university campus. Your goal is to select a suitable sequence of potential locations (1 – 13) to construct cafes so that students can obtain a beverage and/or snack without having to traverse more than one edge. For example, a cafe at location 1 can be accessed by students in buildings 1, 2 and 3. The cost to construct a cafe is specified for each of the proposed locations.

数据分析和机器学习代写
数据分析和机器学习代写

Using the greedy algorithm that you have learned in APS1070, find the most suitable sequence of locations to construct cafes and the total cost. Show all your work.

Question 5. [6 MARKS]

The following question pertains to a 2-layer artificial neural network used for multiclass classification. The network uses sigmoid activation functions on the hidden layer and on the output layer.

数据分析和机器学习代写
数据分析和机器学习代写

Part (a) [2 marks]

Write out the equations to perform the forward pass for the proposed neural network using vectorized notation.

Part (b) [2 marks]

Can this network learn nonlinearly separable decision boundaries? Explain why.

Part (c) [2 marks]

If we experience that the weight updates are too slow, what might have caused that and what change do you recommend to tackle this issue?

Question 6. [9 MARKS] 数据分析和机器学习代写

Part (a) [2 marks]

Compute for the singular value decomposition of matrix A below. Show all your workings.

Part (b) [1 mark]

Compute ∑ for the singular value decomposition of matrix A below. Show all your workings.

Part (c) [2 marks]

Compute for the singular value decomposition of matrix A below. Show all your workings.

Part (d) [2 marks]

According to the singular value decomposition you computed, describe stage 1 of the

transformation of the following shape when transformed by A.

Part (e) [2 marks]

According to the singular value decomposition you computed, describe stage 2 of the

transformation of the same shape when transformed by A. 

Question 7. [5 MARKS] 数据分析和机器学习代写

Part (a) [1 mark]

A hypercube with side length 1 in d dimensions is defined to be the set of points (x

1, x2, …, xd) such that 0 ≤ xj ≤ 1 for all j = 1, 2, …, d. The boundary of the hypercube is defined to be the set of all points such that there exists a j for which 0 ≤ xj ≤ 0.05 or 0.95 ≤ xj ≤ 1 (namely, the boundary is the set of all points that have at least one dimension in the most extreme 10% of possible values). What proportion of the points in a hypercube with d=50 are in the boundary?

Part (b) [2 marks]

Which machine learning concept is demonstrated by your observation in part (a)? Explain it in the context of your observation in part (a).

Part (c) [2 marks]

Which of the following methods deals more effectively with the concept from part (b)? Justify your answer.

• Generalized Linear Models

• Decision Trees

• Random Forests

• K-NN

• K-Means

数据分析和机器学习代写
数据分析和机器学习代写

更多代写:c++作业辅导  托福在家考试  英国Statistics统计学代考  Reflective Essay代写  Report代写推荐 大学论文例子

合作平台:essay代写 论文代写 写手招聘 英国留学生代写

The prev: The next:

Related recommendations

1
您有新消息,点击联系!