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
- CHEN5017: Process Plant Engineering Assignment, CU, Malaysia Hydrogen is touted to be one of the most promising energy carriers which can supply the world’s energy demand .
- MPU3412: Discuss the following topic in the forum and submit proof of your participation in the online discussions: Community Service Assignment, OUM, Malaysia
- Business Strategy Assignment: Strategic Expansion: A Business Outlook
- BBSB4103 Cross-Cultural Management (Pengurusan Silang Budaya) Assignment – Semester September 2025
- SKAA4313: Advanced Reinforced Concrete Design Assignment, UTM, Malaysia: A footbridge is required to provide communication between residential areas on either side of a dual carriageway road
- CBOP3103: Object Oriented Approach in Software Development Assignment, OUM, Malaysia Global Skills Solution is a prominent training centre located at the heart of Kuala Lumpur
- Marketing Management Essay, HWU, Malaysia Is Tom’s of Maine toothpaste really green if consumers leave the water running while they brush their teeth
- GMGT5173 Organisational Behaviour Assignment Malaysia
- Advanced Financial Management Assignment, UUM, Malaysia Show an excellent description and discussion of issues and material with evidence of critical evaluation of issues and material
- Government Policy Assignment, USCI, Malaysia Discusses and evaluates its strengths, weaknesses, and important features. The discussion should be based on specific