Giter Site home page Giter Site logo

data-science-projects's Introduction

Image-classification-projects

this code is a general pathway to approach any dataset problem concerned with tensorflow when you have a basic list in python , how to convert it into a pandas dataset. after getting the dataset how to filter, how to scale up or scale down. do we need to batch those huge data sets to smaller ones to handle them within our system specifications.

then comes the herculian task for image reading. its my first image processing project and there may be many efficient way to do that but what i did was i used fatkun batch image downloader extension for chrome and downloaded around 200 cat and dog images. kept them in two separate folders. and placed the folder in the same directory where jupyter notebook code was saved.

then its pretty much same i guess.... spliting the file paths for every images and noting the labels for each image (label here is folder name). then 80% of data was reserved for training our model and remaining 20% was kept for testing purpose.

in the end i have tried to decode jpeg format images ti redable matrix format for computer or python. then to scale down after dividing each number (0-255) by 255 we got numbers (0-1) in the matrix which makes it easy to handle the files.

i have uploaded code files in 2 formats. one is named "tensorflow data pipeline basic..." and another one is "json format code for jupyternotebook" inside program folder. to read json format code in jupyternotebook i found a website ' https://nbviewer.jupyter.org/ '

difficulties i faced : frankly being new to these environments(jupyter notebook) it took me a while to get started. like i had to install tensorflow first to my jupyternotbook.

for that i used "pip install tensorflow". it took a while then it showed some error to install some visual studio and website link was there in the error window. so i installed and restarted my system. then it was fine.

credit - CodeBasics Youtube Channel

data-science-projects's People

Contributors

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