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
- Probability Home Work, HWU, Malaysia The multiplication rule for dependent events is used since we are interested in the first player being a senior
- BAC305: Sun Berhad acquired all the shares in Moon Berhad on 31 December 2022 for a cost of RM900,000: Company Accounting Reporting Assignment, WOU, Malaysia
- Operations Management Case Study, RVU, Malaysia How does Flextronics’ operations strategy help the company satisfy its customers and What specific operations competencies must Flextronics
- AICT004-3-2-NWN: Networks and Networking Assignment, APU, Malaysia You are required to design and apply an IP addressing scheme for the topology shown for The Evergreen Resort network
- PFS2143: Corporate Finance Assignment, UNISEL, Malaysia Discuss from the journal and you can add other discussions from other sources to support your issues
- PGBM150: Innovation Entrepreneurship & Technology Transfer Assignment, UOS, Malaysia Students are required to submit their assignments through JIRA and Only assessments submitted through JIRA will be marked .
- Discuss the cells and tissues system and its components from the perspective: anatomy and physiology nursing Assignment, OUM, Malaysia
- 310CT: Intelligent Agents Assignment, CU, Malaysia You are required to use JAM agent and design and develop a program so that the robots can collect all the rewards
- FINAL ASSESSMENT SEMESTER III SESI Universiti Teknologi Malaysia : PREVENTING ACCIDENT AT WORKPLACE
- ITT270: Digital Electronic Assignment, UiTM, Malaysia Understand the concept of a digital systems and arithmetic logic circuit