Coder Social home page Coder Social logo

exno-4-ds's Introduction

EXNO:4-DS

AIM:

To read the given data and perform Feature Scaling and Feature Selection process and save the data to a file.

ALGORITHM:

STEP 1:Read the given Data. STEP 2:Clean the Data Set using Data Cleaning Process. STEP 3:Apply Feature Scaling for the feature in the data set. STEP 4:Apply Feature Selection for the feature in the data set. STEP 5:Save the data to the file.

FEATURE SCALING:

  1. Standard Scaler: It is also called Z-score normalization. It calculates the z-score of each value and replaces the value with the calculated Z-score. The features are then rescaled with x̄ =0 and σ=1
  2. MinMaxScaler: It is also referred to as Normalization. The features are scaled between 0 and 1. Here, the mean value remains same as in Standardization, that is,0.
  3. Maximum absolute scaling: Maximum absolute scaling scales the data to its maximum value; that is,it divides every observation by the maximum value of the variable.The result of the preceding transformation is a distribution in which the values vary approximately within the range of -1 to 1.
  4. RobustScaler: RobustScaler transforms the feature vector by subtracting the median and then dividing by the interquartile range (75% value — 25% value).

FEATURE SELECTION:

Feature selection is to find the best set of features that allows one to build useful models. Selecting the best features helps the model to perform well. The feature selection techniques used are: 1.Filter Method 2.Wrapper Method 3.Embedded Method

CODING AND OUTPUT:

322402720-66bf8346-99be-479b-86cf-d8f197bb6dc1 322402804-c662fe28-32c8-4178-8cc6-ed8997f036b0 322402860-69a21166-1be8-4779-8e21-b653d7c4f52e 322402912-afd7099e-ca59-499e-be65-9664fa5d8b86 322402955-c49edb65-7480-45e8-b845-30b33914495a 322403011-026dcf32-38f5-46e1-8063-69966041ef82 322403054-8541132f-d413-4400-8428-4c7fc7b9a3c4 322403100-aeeb6460-5eea-45cd-bb57-a1ec982b5441 322403139-8245c4df-0907-4562-bcf3-918640961833 322403179-b6e17ffb-d5bd-47e3-8fa1-c7205d6b956b 322403223-c8852224-aa56-4e4a-873e-3ffb02773b78 322403266-b7e15449-0e97-405d-8f8e-cb37b2f8c9e6 322403303-27c4f53d-b4c0-4eed-9eb6-dd31b238f5a1 322403347-3ba91785-882a-45dd-8563-e6595828fdcd 322403384-1cf8d8a7-9eed-4f5b-8144-54d67bc1fa74 322403452-9f0ccd4d-feef-4051-ba8b-f5f98f76c28d 322403525-c3ead24a-040e-4d87-93fb-3a7f43ebd06d 322403572-fcec1c84-36e0-4284-9121-ddf50c83ffb5 322403633-54a2df43-7590-4c88-9590-1a9f1c3c9838 322403667-96cb2202-651c-40b6-8fbd-d10d54db4eb3 322403717-c386bbc2-bf1b-4472-9cc4-03abfac6cb2b 322403758-89adf369-5755-4b1c-bc52-f0a1cfd7843b 322403791-4f7c73a0-6f22-4b99-b843-bfd05ae3f65c 322403791-4f7c73a0-6f22-4b99-b843-bfd05ae3f65c 322403873-801ebc90-3b75-45e6-8ca4-830199104b2d

RESULT:

   Thus feature scaling and selection is performed.

exno-4-ds's People

Contributors

dhinesh-sec avatar narendran-sec 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.