Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The comp - activ database comprises activity measures of computer systems. Data was gathered from a Sun Sparcstation 2 0 / 7 1 2 with
The compactiv database comprises activity measures of computer systems. Data was gathered from a Sun Sparcstation with Mbytes of memory, operating in a multiuser university department. Users engaged in diverse tasks, such as internet access, file editing, and CPUintensive programs.
Being an aspiring data scientist, you aim to establish a linear equation for predicting 'usr' the percentage of time CPUs operate in user mode Your goal is to analyze various system attributes to understand their influence on the system's 'usr' mode.
Data Description :
System measures used:
lread Reads transfers per second between system memory and user memory
lwrite writes transfers per second between system memory and user memory
scall Number of system calls of all types per second
sread Number of system read calls per second
swrite Number of system write calls per second
fork Number of system fork calls per second.
exec Number of system exec calls per second.
rchar Number of characters transferred per second by system read calls
wchar Number of characters transfreed per second by system write calls
pgout Number of page out requests per second
ppgout Number of pages, paged out per second
pgfree Number of pages per second placed on the free list.
pgscan Number of pages checked if they can be freed per second
atch Number of page attaches satisfying a page fault by reclaiming a page in memory per second
pgin Number of pagein requests per second
ppgin Number of pages paged in per second
pflt Number of page faults caused by protection errors copyonwrites
vflt Number of page faults caused by address translation
runqsz Process run queue size The number of kernel threads in memory that are waiting for a CPU to run.
Typically, this value should be less than Consistently higher values mean that the system might be CPUbound.
freemem Number of memory pages available to user processes
freeswap Number of disk blocks available for page swapping.
usr Portion of time that cpus run in user modeProblem Define the problem and perform exploratory Data Analysis
Problem definition Check shape, Data types, statistical summary Univariate analysis Multivariate analysis Use appropriate visualizations to identify the patterns and insights Key meaningful observations on individual variables and the relationship between variables
Problem Data Preprocessing
Prepare the data for modelling: Missing Value Treatment if needed Outlier Detection treat if needed Feature Engineering Encode the data Traintest split
Problem Model Building Linear regression
Apply linear Regression using Sklearn Using Statsmodels Perform checks for significant variables using the appropriate method Create multiple models and check the performance of Predictions on Train and Test sets using Rsquare, RMSE & Adj Rsquare.
Problem Business Insights & Recommendations
Comment on the Linear Regression equation from the final model and impact of relevant variables atleast as per the equation Conclude with the key takeaways actionable insights and recommendations for the business
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started