Git Product home page Git Product logo

shanuhalli / assignment-decision-trees Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.92 MB

Use decision trees to prepare a model on fraud data. Treating those who have taxable income <= 30000 as "Risky" and others are "Good" and A cloth manufacturing company is interested to know about the segment or attributes causes high sale.

Jupyter Notebook 100.00%
counter data-preprocessing decision-tree feature-engineering grid-search-cv label-encoding model-selection prunning sklearn-metrics assignment-14

assignment-decision-trees's Introduction

Assignment14-Decision-Trees

ExcelR Data Science Assignment No 14

Decision Trees:

  • A decision tree is a non-parametric supervised learning algorithm, which is utilized for both classification and regression tasks. It has a hierarchical, tree structure, which consists of a root node, branches, internal nodes and leaf nodes.

Important Terminology related to Decision Trees:

  1. Root Node: Root node is from where the decision tree starts. It represents the entire dataset, which further gets divided into two or more homogeneous sets.

  2. Splitting: It is a process of dividing a node into two or more sub-nodes.

  3. Decision Node: When a sub-node splits into further sub-nodes, then it is called the decision node.

  4. Leaf / Terminal Node: Nodes do not split is called Leaf or Terminal node.

  5. Pruning: When we remove sub-nodes of a decision node, this process is called pruning. You can say the opposite process of splitting.

  6. Branch / Sub-Tree: A subsection of the entire tree is called branch or sub-tree.

  7. Parent and Child Node: A node, which is divided into sub-nodes is called a parent node of sub-nodes whereas sub-nodes are the child of a parent node.

This assignment will study following Questions :

Problem Statement No 1 :

A cloth manufacturing company is interested to know about the segment or attributes causes high sale. Approach - A decision tree can be built with target variable Sale (we will first convert it in categorical variable) & all other variable will be independent in the analysis.

Problem Statement No 2 :

Use decision trees to prepare a model on fraud data. Treating those who have taxable income <= 30000 as "Risky" and others are "Good"

assignment-decision-trees's People

Contributors

shanuhalli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.