1. Homepage
  2. Programming
  3. Data Analysis:Data Wrangling and Data Modeling

Data Analysis:Data Wrangling and Data Modeling

Engage in a Conversation
Data AnalysisData WranglingTransformationBox-CoxData ModelingSupervised LearningDecision TreeClassification

Question 1: Data Wrangling: Advanced Transformation Technique

Various transformation methods are applied to the data to have better-performing data for our machine learning model. CourseNana.COM

The transformation methods aim to remove the outliers, adjust skewed distributions, or gain a more Gaussian-like distribution through monotonic transformation, or both. CourseNana.COM

Your task is to apply the Box-Cox transformation and to obtain the distribution that is most Gaussian-like. CourseNana.COM

You are given a dataset consisting of a single column for which you have to apply the transformation. CourseNana.COM

Dataset

You are given a single feature dataset, consisting of floating-point values. CourseNana.COM

Note CourseNana.COM

Normality is an important assumption for many statistical techniques. Box-Cox transformation is a way to transform non-normal dependent variables into a normal shape. Below is the mathematical representation for the Box-Cox transformation. 10-1 VA) = A ' log if, if A O 0; if A = 0. CourseNana.COM

Round off the output numbers to 3 digits after the decimal. Example: 2.660, 5.882, 3.000 CourseNana.COM

Function Description

In the provided code snippet, print the output using variables. You can write your code in the space below the phrase "WRITE YOUR LOGIC HERE". CourseNana.COM

There will be multiple test cases running so the Input and Output should match exactly as provided. The base Output variable result is set to a default value of -404 which can be modified. Additionally, you can add or remove these output variables. CourseNana.COM

Input Format

The only line of the test case consists of 4 space-separated floating-point values for which you have to find the Box-Cox transformation. CourseNana.COM

Question: 2 Data Modeling: Supervised Learning

in an electronics company, each product has a production cost and sale price. Your task is to use a decision tree classifier to predict the sales price of a new product, given its production cost. CourseNana.COM

Dataset

The first column in the dataset is the name of the product, the second is its production cost, and the third is its sales price. name of the product !production cost 'sales price CourseNana.COM

Note Train your model on default hyperparameter. CourseNana.COM

Input Format

The first line contains the name of the product. The second line contains an integer representing the production cost of that product. CourseNana.COM

Sample Input

Keyboard 1100 Output Format The output contains the predicted sales price of the product. CourseNana.COM

Sample Output

5000 CourseNana.COM

Explanation

The predicted sales price using a decision tree algorithm is 5000. CourseNana.COM

Sample Input

5.1 4.9 4.7 4.6 CourseNana.COM

Output Format

For each test case, output only one line, which contains space-separated values of the points after transformation. CourseNana.COM

Sample Output

-0.895 -1.185 -1.490 -1.647 CourseNana.COM

Get in Touch with Our Experts

WeChat WeChat
Whatsapp WhatsApp
Data Analysis代写,Data Wrangling代写,Transformation代写,Box-Cox代写,Data Modeling代写,Supervised Learning代写,Decision Tree代写,Classification代写,Data Analysis代编,Data Wrangling代编,Transformation代编,Box-Cox代编,Data Modeling代编,Supervised Learning代编,Decision Tree代编,Classification代编,Data Analysis代考,Data Wrangling代考,Transformation代考,Box-Cox代考,Data Modeling代考,Supervised Learning代考,Decision Tree代考,Classification代考,Data Analysishelp,Data Wranglinghelp,Transformationhelp,Box-Coxhelp,Data Modelinghelp,Supervised Learninghelp,Decision Treehelp,Classificationhelp,Data Analysis作业代写,Data Wrangling作业代写,Transformation作业代写,Box-Cox作业代写,Data Modeling作业代写,Supervised Learning作业代写,Decision Tree作业代写,Classification作业代写,Data Analysis编程代写,Data Wrangling编程代写,Transformation编程代写,Box-Cox编程代写,Data Modeling编程代写,Supervised Learning编程代写,Decision Tree编程代写,Classification编程代写,Data Analysisprogramming help,Data Wranglingprogramming help,Transformationprogramming help,Box-Coxprogramming help,Data Modelingprogramming help,Supervised Learningprogramming help,Decision Treeprogramming help,Classificationprogramming help,Data Analysisassignment help,Data Wranglingassignment help,Transformationassignment help,Box-Coxassignment help,Data Modelingassignment help,Supervised Learningassignment help,Decision Treeassignment help,Classificationassignment help,Data Analysissolution,Data Wranglingsolution,Transformationsolution,Box-Coxsolution,Data Modelingsolution,Supervised Learningsolution,Decision Treesolution,Classificationsolution,