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
- Fundamental of Integrated Marketing Communication Case Study, UUM, Malaysia With an average annual growth rate of 11.2% over the past twelve years, tourism has been integral to the economy
- IWK 201 Advanced Binder Materials in Coatings Assignment 1: Functions, Innovations & Emerging Research in Resin Technologies
- BAMS1743 : JUNE 2023- Quantitative Methods, Assignment , TAR UMT, Malaysia
- Engineering Mathematics Report, UTM, Malaysia Solve the following initial value problem by using the Taylor series method and improved Euler’s method Compare your results with the exact solution
- UNIM513: Research Methodology Assignment, UTN, Malaysia Design quantitative, qualitative, and mixed methods approach research
- ELC101: Introduction to Instrumentation Course Work, DTCC, Malaysia Our law of contract is widely seen as deficient in the sense that it is perceived to be hampered by the presence
- CSEB2113: Programming 1 Assignment, TNU, Malaysia Write C++ statements to perform the following tasks: Declare a variable name my Class of type integer in an array form with size 20
- Capital Budgeting Assignment : PIONG Corporation Case Study for NPV, IRR & Risk Analysis
- MGT7998E: The Relationship in Between Service Quality Dimensions and Patient Satisfaction of Public Hospital in Malaysia: RESEARCH Assignment, IIU, Malaysia
- Financial Management Assignment, UniKL, Malaysia Mr.Shahrul Affendy had been appointed to lead the finance team of Extreme Broadband Corporation