24 Jul Unit 3 Assignment: Nearest Neighbors for Categorical Prediction
Unit 3 Assignment: Nearest Neighbors for Categorical Prediction Outcomes addressed in this activity: Unit Outcomes: Integrate methods for assessing risks.Prepare a rubric for classifying risk.Report results of risk analysis. Course Outcome: IT528-3: Develop appropriate action plans that address risks. Purpose There are many methods for categorical prediction using principal components. In this Assignment, you will practice one of these — linear discriminant analysis, in R Studio. You will classify risk through the rubric of a risk matrix and then build a model to assess the risk. Once you have built a model, you will report and explain the results. Assignment Instructions Complete the following steps: Much has been made of the deteriorating public infrastructure in the United States. Roads, bridges, sidewalks, etc. need repair all over the country. This Assignment will focus on bridges. Engineers with responsibility for bridges categorize them into one of four categories with respect to risk: Monitor, Schedule Assessment, Schedule Repair/Replacement, or Immediate Repair/Replacement. Monitor means that the bridge is in good condition and is not in danger of failing. Schedule Assessment means that the bridge is showing signs of risk and should be evaluated. Schedule Repair/Replacement means that the bridge has deterioration that presents risk to users. Immediate Repair/Replacement means that the bridge has deterioration that presents risk of failure. In a Word document, create a four-quadrant risk matrix rubric and label the quadrants High Risk/High Impact; High Risk/Low Impact; Low Risk/High Impact; Low Risk/Low Impact. Place each of the four bridge conditions into the quadrant that you believe is appropriate for that condition. You need not have something in each of the four quadrants – your task is to appropriately assess and classify risk based on bridge condition. For each of the four bridge conditions, within the quadrant you selected in the risk matrix, give an example of an issue that may arise if the risk condition is not addressed.Download the Bridges.csv and the ConditionUnknown.csv files from Course Documents. Import both of these into R Studio with appropriate names. In your Word document, provide evidence that you have imported the data sets. Build a linear discriminant analysis model using the Bridges.csv data. Document each step in your Word document.You will need to load the MASS library.Create the linear discriminant analysis model for the Bridge_Action variable. Use this syntax: BridgeModel <- lda(Bridge_Action~., data=Bridges)Note that you are creating a data object called BridgeModel, and the data that you are using to create your LDA model is called Bridges (you may have named your training data something other than Bridges when you imported Bridges.csv. Make predictions for the Condition Unknown bridges using the LDA model you created in step (b) above. Use this syntax: BridgePredict <- predict(BridgeModel, CondUnk)Note that you are creating a data object called BridgePredict that will apply the BridgeModel LDA object to a data object called CondUnk (you may have named your condition unknown data something other than CondUnk when you imported ConditionUnknown.csv). Put your LDA predictions into a data frame so that you can read and interpret them. Use this syntax: MyPredictions <- data.frame(BridgePredict$class, round(BridgePredict$posterior, digits=3)*100). Open the MyPredictions data frame and examine your prediction results. Answer the following in your Word document:How many bridges do you predict will be in each action category?What does the round function in step (d) above do to the posterior values in your predictions?What do the posterior values tell you about each prediction? (Hint: add them up).Give three ways that a city or county might use the predictions you have generated to manage their infrastructure plan? Give two risks that may arise from use of your predictions. Make sure that you cite at least five supporting sources beyond the textbook in support of your writing and explanations. Cite correctly in APA format. Assignment Requirements Prepare your Assignment submission in Microsoft Word following standard APA formatting guidelines: Double spaced, Times New Roman 12-point font, one inch margins on all sides. Include a title page, table of contents and references page. You do not need to write an abstract. Label all tables and figures. Cite sources appropriately both in the text of your writing (parenthetical citations) and on your references page (full APA citation format).
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.