Git Product home page Git Product logo

dl_exp_pc's Introduction

DL_EXP_PC

Deep learning experiment - pixel classification

A simple example of the creation and application of a neural network to pixel classification using keras.

Open In Colab

chapter content open in colab open locally
Pixel classification example of a small fully connected network that classifies pixel in images DL01 DL01
01 - installation keywords, functions, modules and packages, booleans, if-statement, help, shell-commands Cell01 Cell01
02 - paths, patch and sample size variables, integers, floats, strings Cell02 Cell02
03 - reading the input and ground-truth image loading and displaying tif-images Cell03 Cell03
04 - getting foreground and background pixels tupels, lists, numpy arrays and the python imaging library (PIL) Cell04 Cell04
05 - random sampling of training data pseudo random numbers, for-loops, while-loops, objects and classes, random sampling Cell05 Cell05
06 - preparation of training data creating the network input from intensities in pixel neighborhoods Cell06 Cell06
07 - shuffle and deal shuffling feature vectors and labels Cell07 Cell07
08 - creating the network keras, sequantial model, adding layers, compiling, activation, metrics, loss, optimizer, visualization Cell08 Cell08
09 - training the network fitting the model, history of loss and accuracy, validation split, epochs, batch size, testing Cell09 Cell09
10 - visualizing performance creating plots with matplotlib and interactive plots with mpld3 Cell10 Cell10
11 - classifing a single feature vector predict, predict_classes, flatten Cell11 Cell11
12 - extracting feature vectors from images manually setting weights, saving and loding a model, neighborhoods to features Cell12 Cell12
13 - creating the output folder and getting the input paths isdir, listdir, join paths, list comprehension, sorting Cell13 Cell13
14 - classifying pixels in images image segmentation, thresholding, cropping, writing tiff images Cell14 Cell14
15 - visualizing results matplotlib, pyplot, subplots and imshow Cell15 Cell15
A one unit network an example with the smallest network possible containing only one unit Bonus track Bonus track

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.