Giter Site home page Giter Site logo

hassansajjad229 / data-augmentation-arguments-keras--explained Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 527 KB

Real-time data augmentation properties are used to generate the images when dateset is limited.Certain arguments are available in Keras to generate images with different properties.

Jupyter Notebook 100.00%

data-augmentation-arguments-keras--explained's Introduction

Data-Augmentation-Arguments-keras--Explained

Real-time data augmentation properties are used to generate the images when dateset is limited.Certain arguments are available in Keras to generate images with different properties.

ImageDataGenerator class is used to generate images using data augmentation.

Arugments of ImageDataGenerator Class is explained step by step,so one will be able to use them to generate dataset. Arugments are explained as follows

1.ROTATION this angle would help to rotate the image between the negative to positive range described by us.For example in present case it would rotate the image between 60 to -60

2.WIDTH-SHIFT AND HEIGHT SHIFT It would help us to shift the image between the described range

3.BRIGHTNESS it is use to control the brightness range of the images

4.ZOOM Zoom the image to any value given below i.e between 0.5 to 2.0

5.SHEAR TRANSFORMATION Image will be distorted along the axis

6.CHANNEL SHIFT It would randomly shift the channel value by the mentioned channel shift range 7.FLIPS Images would be randomly flipped on vertical and horizantal axis

8.NORMALIZATION When features in a dataset have different range of values,in ML,we use technique known as normalization.Normalization change the values numeric columns in dataset to a common scale Standard deviation is use to normalize the data SD tells us about spreat out of values.LOW SD most number are close to mean value Formula for SD is x.mean=x_train.mean() x.train_norm=x.train.std() x_train_norm=(x_train-x_mean)/x.std()

a)Featurewise Normalization Featurewise , data is mostly normalized feature-wise as the aim is to study relationship across samples and being able to predict well about new samples

b)Samplewise Normalization Samplewise normalization take each sample and normalize it's features such as the end up being a unit vector

data-augmentation-arguments-keras--explained's People

Contributors

hassansajjad229 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.