Giter Site home page Giter Site logo

xray-check's Introduction

xray-check

This repo contains a model that is generated to classify whether the input image is xray image or not on Tensorflow.

Data

There are two classes used; first class contains xray images with 846 images and second class contains random images with 846 images.

Model

  • Keras library is used to generate the classifier and CNN architecture is used for the classifier.
  • In the input layer, 32 convolutional filters with size 3x3 added with relu activation function. Inputs are accepted as 200x200 with RGB colors which makes input shape 200x200x3.
  • Max pooling added with 3x3 filter after convolution.
  • After max pooling, 2 hidden layers added to model.
  • First hidden layer consists of 32 convolutional filters with size 3x3 with relu activation function and then maxpooling with 2x2 filter added.
  • Second hidden layer consists of 64 convolutional filters with size 3x3 with relu activation function and then maxpooling with 2x2 filter added.
  • Then, flatten operation is applied.
  • Fully connected layer is added with 64 units with relu activation function.
  • Later, dropout technique is applied with the rate of 0.5 to avoid overfitting.
  • Finally, fully connected layer is used with 1 unit with sigmoid function (1, if the image is xray iamge; 0, otherwise).

For the compilation of the classifier, SGD optimizer is used for optimizer and binary_crossentropy is used as loss function.

xray-check's People

Contributors

beratuna avatar

Stargazers

 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.