CMPF104: Data Cleaning and Preprocessing: Data science and Data Anaytics: Programming For Foundation In Engineering, Assignment, UNITEN, Malaysia
| University | Universiti Tenaga Nasional (UNITEN) |
| Subject | CMPF104: Programming For Foundation In Engineering |
Data science and Data Anaytics
Download the dataset from BRIGHTEN. If your student ID ends with an odd number, select Concrete_Data_A dataset, and if your student ID ends with an even number, select Concrete_Data_B dataset. Using the Python attributes, function and libraries to solve the following problems.
a) Data Cleaning and Preprocessing:
- Use Pandas to load the dataset. Name the dataframe as concrete_df_XXX.
- Remove ‘Number’ column using .drop() function and visualize the first ten (10)
rows of the data. - Handle any missing values by dropping or replacing the empty cells. Check for missing values using functions like .info() or .isnull().sum()
- Convert the data frame to array, using to_numpy() function.
- Divide the data into two sets of data with division of 80% and 20% for train and test data, respectively. Name the dataset as train_data_XXX and test_data_XXX
b) Data Analysis:
- Calculate the correlation between the variables in the dataframe.
- Utilize NumPy and Pandas to calculate summary statistics of the data such as
maximum, minimum, standard deviation, average, median and mode of each
category. - Use Pandas functions like .describe() for an overview of summary statistics and apply NumPy functions for specific calculations.
c) Visualization:
- Use Matplotlib to create visualizations such as line plots for train and test data
across all categories. - Generate histogram plots and box plots for all variables.
- Ensure that the visualizations are clear, informative, and aesthetically pleasing.
- Customize your plots by adding the titles, labels and legends
Get Help By Expert
Recent Solved Questions
- LAW034: Introduction to Legal Theories Assignment, UiTM, Malaysia Delima is a single mother who supports her three children and is a sick mother. She is uneducated but nevertheless managed
- Problem Solving and Programming Assignment, UM, Malaysia Write a C++ program that obtains the following values from the user: An integer number A floating point number A string value
- Discuss the importance of HRD programme evaluation for organisational success: Training And Development Assignment, UON, Malaysia
- STA60104 QUANTITATIVE METHODS FOR BUSINESS
- Electronics & Electrical Power and Machines Assignment, SU, Malaysia You are required to select any one of the DC OR AC machines. Discuss in detail the construction, working principles
- GT20903 Investigating the Impact of Monetary Policy on Stock Prices Financial Markets and Institutions Assignment Malaysia
- ACC116: Introduction to Cost Accounting Assignment, UiTM, Malaysia
- Renal Nursing Assignment, MU, Malaysia Discuss the contributing factors to non-adherence to treatment and dietary restrictions among ESKD patients
- Financial Management Assignment, UiTM, Malaysia MKM Resources Berhad requires RM500,000 to support the working capital requirements for the next 9 months
- CLR101: Common Law Reasoning Course Work, BAC, Malaysia Identify the sources of law in England and Wales and evaluate the role they play in the development of the law