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
- MGT555: Business Analytics Assignment, UiTM, Malaysia Calculate the frequency distribution of customer demographics such as age, gender, race, education, and occupation
- TAX467: Statutory Business Income of Sinar Indah Shop for the year assessment 2023: Taxation Assignment, UiTM, Malaysia
- Human Resource Management Report, APU, Malaysia Each student is required to identify one organization that has a specialized Human Resource Department
- Human Resources Management Thesis, UTM, Malaysia I have decided to conduct a study on occupational stress and work-life balance in the private sector
- COMP1030: Write an ARM assembly program to implement the Breadth First Search: Systems Architecture Assignment, UNMC, Malaysia
- BMFM31115 Financial management Assignment, AIMST University, Malaysia Interpret standard financial metrics and valuations in order to effectively communicate sound and ethical financial decisions
- MEC4401: Mechanical Engineering Thesis, MUM, Malaysia To evaluate the clay type and study the rheology behavior of different water content in the clay
- DCP5201: Object Oriented Programming Assignment, BAC, Malaysia I need a standalone console application that can keep track of my restaurant sales. Customers will typically order food and drinks
- Portfolio and Risk Management Report, APU, Malaysia You are expected to read beyond textbooks and able to apply the knowledge gain from real life examples either from your working environment
- LGV7034: The risk manager has an important role to play in an organisation’s risk management: Risk Management Individual Assignment, VUC, Malaysia