TEB2164 Introduction to Data Science Assignment

Assignment Help Programming Languages
Reference no: EM132847516

TEB2164 Introduction to Data Science

Question 1.

a. Consider the structure of training data with 32 rows as shown in TABLE Q1 for a classification problem with four possible classes.

TABLE Q1: Structure of Training Data

ID

<attr1>

<attr2>

<attr3>

<attr4>

Class

1

 

 

 

 

 

2

 

 

 

 

 

3

 

 

 

 

 

4

 

 

 

 

 

5

 

 

 

 

 

6

 

 

 

 

 

7

 

 

 

 

 

8

 

 

 

 

 

9

 

 

 

 

 

10

 

 

 

 

 

11

 

 

 

 

 

12

 

 

 

 

 

13

 

 

 

 

 

14

 

 

 

 

 

15

 

 

 

 

 

16

 

 

 

 

 

17

 

 

 

 

 

18

 

 

 

 

 

19

 

 

 

 

 

20

 

 

 

 

 

21

 

 

 

 

 

22

 

 

 

 

 

23

 

 

 

 

 

24

 

 

 

 

 

25

 

 

 

 

 

26

 

 

 

 

 

27

 

 

 

 

 

28

 

 

 

 

 

29

 

 

 

 

 

30

 

 

 

 

 

31

 

 

 

 

 

32

 

 

 

 

 

Fill up appropriate headers for <attr1>, <attr2>, attr3> and <attr4> according to attributes of your own training data. Headers for ID and Class have been provided. Later, fill up data corresponding to the four attributes and the four-option Class. The type of data for <attr1> is binary, <attr2> is continuous, <attr3> is nominal, and <attr4> is ordinal. The values for each attribute must be diverse.

Based on the training data that have been furnished, compute the Entropy for the overall collection of the training data, the attribute with binary data, the attribute with continuous data using multiway split, the attribute with nominal data using multiway split, and the attribute with ordinal data using multiway split. The split breakdowns for attributes requiring multiway split must be clearly indicated. Lastly, suggest with justification which attribute in the training data is the most heterogenous.

b. Suppose that you have been hired by a digital news agency to summarize top-10 daily news on a specific vertical such as computing, medicine, finance, entertainment, or law in Malaysia. As a junior data scientist, suggest a complete text mining process that you will perform to achieve the goal.

Question 2. TABLE Q2 displays an unfilled temperature readings summary from ABC weather station in East Borneo comparing October, November, and December from 1990 till 1999 to that of from 2010 till 2019. The table should display the number of months in which the average maximum daily temperature was low (< 16°C), medium, or high (> 26°C). The investigation aims to discover whether a significant difference between the two rows exists.

TABLE Q2: Temperature Readings Summary

 

Low

Medium

High

1990 - 1999

 

 

 

2010 - 2019

 

 

 

Firstly, furnish TABLE Q2 with data in the Low, Medium, and High columns. The data for 1990-1999 must be unique from that of 2010-2019.

Assuming that the readings are independent from month to month, let unknown parameters pd,m be the probability that a month's reading goes to bin m ∈ {Low, Medium, High} in decade d ∈ {1990 - 1999, 2010 - 2019}. As a junior data scientist, you have been requested to (i) provide expressions for the maximum likelihood estimates ^Pd,m, stating what to maximize and over which variables, (ii) establish a null hypothesis H0 such that the probabilities are identical in both 1990-1999 and 2010-2019 and these probabilities are called qk to provide the maximum likelihood estimates ^qk under H0, perform a test onto H0 using the test statistics given as

t = ∑  (^Pd,m - ^qm)2/^qm
     d,m

and (iii) considering parametric sampling to compute the distribution for t under H0. Additionally, your tasks also include (iv) explaining the relevance of one- sided test vs two-sided test for this investigation, (v) providing pseudocode to compute the p-value for the H0 test, and finally (vi) explaining an advantage and a disadvantage of a count-based test as opposed to a linear regression-based test.

Reference no: EM132847516

Questions Cloud

Discusses the high cost of employee absenteeism : Evaluate an article from the South University Library or Harvard Business Review that discusses the high cost of employee absenteeism.
What is the z-score for a worker : What is the z-score for a worker that works 50 hours per week?
What is the value of c : Let X be a continuous random variable with density function f(x) = ce^(-x) , x > 0, 0, otherwise, where c > 0.
Identifying and measuring employee absence : Explain the Understanding the Financial Impact of Employee Absence. Identifying and Measuring Employee Absence. Employee Absence, Productivity Loss, and Costs.
TEB2164 Introduction to Data Science Assignment : TEB2164 Introduction to Data Science Assignment - Perform a test onto H0 using the test statistics given - count-based test as opposed to a linear regression
Confidence interval for the mean time : a. Check the conditions for constructing a 95% confidence interval for the mean of all body temperatures.
Draw a tree diagram showing the possibilities : (a) Draw a tree diagram showing the possibilities for each outcome. (b) Create the binomial distribution table for P(X)
Evaluate the reasons for employee absenteeism : Evaluate the reasons for employee absenteeism. Analyze the direct costs and indirect costs associated with absenteeism (provide examples).
Determine the cost of inventory at the end of March : According to a physical count, 600 units were on hand at the end of March. Determine the cost of inventory at the end of March applying the FIFO method

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd