Hands-On Neural Network Programming with C#
eBook - ePub

Hands-On Neural Network Programming with C#

Add powerful neural network capabilities to your C# enterprise applications

Matt R. Cole

  1. 328 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Hands-On Neural Network Programming with C#

Add powerful neural network capabilities to your C# enterprise applications

Matt R. Cole

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

Create and unleash the power of neural networks by implementing C# and.Net code

Key Features

  • Get a strong foundation of neural networks with access to various machine learning and deep learning libraries
  • Real-world case studies illustrating various neural network techniques and architectures used by practitioners
  • Cutting-edge coverage of Deep Networks, optimization algorithms, convolutional networks, autoencoders and many more

Book Description

Neural networks have made a surprise comeback in the last few years and have brought tremendous innovation in the world of artificial intelligence.

The goal of this book is to provide C# programmers with practical guidance in solving complex computational challenges using neural networks and C# libraries such as CNTK, and TensorFlowSharp. This book will take you on a step-by-step practical journey, covering everything from the mathematical and theoretical aspects of neural networks, to building your own deep neural networks into your applications with the C# and.NET frameworks.

This book begins by giving you a quick refresher of neural networks. You will learn how to build a neural network from scratch using packages such as Encog, Aforge, and Accord. You will learn about various concepts and techniques, such as deep networks, perceptrons, optimization algorithms, convolutional networks, and autoencoders. You will learn ways to add intelligent features to your.NET apps, such as facial and motion detection, object detection and labeling, language understanding, knowledge, and intelligent search.

Throughout this book, you will be working on interesting demonstrations that will make it easier to implement complex neural networks in your enterprise applications.

What you will learn

  • Understand perceptrons and how to implement them in C#
  • Learn how to train and visualize a neural network using cognitive services
  • Perform image recognition for detecting and labeling objects using C# and TensorFlowSharp
  • Detect specific image characteristics such as a face using Accord.Net
  • Demonstrate particle swarm optimization using a simple XOR problem and Encog
  • Train convolutional neural networks using ConvNetSharp
  • Find optimal parameters for your neural network functions using numeric and heuristic optimization techniques.

Who this book is for

This book is for Machine Learning Engineers, Data Scientists, Deep Learning Aspirants and Data Analysts who are now looking to move into advanced machine learning and deep learning with C#. Prior knowledge of machine learning and working experience with C# programming is required to take most out of this book

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Hands-On Neural Network Programming with C# è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Hands-On Neural Network Programming with C# di Matt R. Cole in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Ciencia de la computación e Redes neuronales. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2018
ISBN
9781789619867

Function Optimizations: How and Why

bAnd now it's time to have some fun. We are going to develop a very powerful, three-dimensional application that you won't find anywhere else. This application will allow you to visualize how individual functions optimize over time, with a two and three-dimensional graphic of each. The source code for this application is located in the instructions given for access of the book's source code. This application will be very unique in that we will use a mixture of open source and third-party controls to create an unbelievably powerful application. Open source doesn't handle everything all the time, and for those of you serious about graphics I wanted to expose you to some controls aside from the open source standards such as ZedGraph, Microsoft Charting Controls, and others. As you will see in a moment, the difference is astounding and worth the ride. You can decide later if you want to change anything back to completely open source.
We are also going to show you how we can use Particle Swarm Optimization to enhance visualizations of function optimizations. By doing so you will see how each particle in the swarm converges to the optimal solution.
In this chapter, we are going to accomplish the following:
  • Build a Visual Studio WinForms project
  • Create a function optimization tester
  • Implement graphic controls for our visualizations
  • Talk about various third-party controls used in this project
  • Learn about the various hyperparameters available
  • Learn to tune and adjust hyperparameters
  • Learn the effect of adjusting hyperparameters
  • Learn about the purpose of functions
  • Learn how to add new functions
  • Demonstrate adding a new function and running a test

Technical requirements

You will be required to have a basic knowledge of .NET development using Microsoft Visual Studio and C#. You will need to download the code for this chapter from the book's website.
Check out the following video to see Code in Action: http://bit.ly/2ppBmvI.

Getting started

Before we get started, let me show you the product we are going to create. When we are done you will have an application that allows you to view graphically how a function minimizes or maximizes over iterations. This is contrary to the typical text-based representations of such systems, as follows:
3D Plot
As you can see, this is a very visual application. Let's go ahead and break this down into sections that we will refer to as we progress.
The first section is the three-dimensional plot and is located on our main page. Three dimensions can provide much more insight into the path that each particle in the swarm takes, and the swarm itself is taking. It is also much easier to see when a particle or the swarm converges on the global minimum. For this plot we will use the incredible Nevron chart control. You can find more information about this Chart control at https://www.nevron.com/products-open-vision-nov-chart-control-overview.aspx. The main user interface is developed with DotNetBar. For those looking for a different user interface with all the bells and whistles such as crumbbars, tabs, grids, listviews, charts, sparklines, and more, this is a great and more affordable choice than say Infragistics or DevExpress. You can find more information about this suite of controls at http://www.devcomponents.com/dotnetbar/
Main Page
The second section is the two-dimensional plot, and is located on our fourth page, the Charts tab. Some people would also call this type of plot a spaghetti plot. Its job is to plot the swarm on a two-dimensional plane. For this plot we will use the Microsoft Chart control. As you can see, this control becomes very busy when trying to plot on a two-dimensional surface. The more particles in the swarm that you have, the busier your chart will become:
2D Visualization
The third section is the information tree, and is located on our third page, the Details tab. This tree houses detailed information from each iteration. The total number of iterations is a hyperparameter we will discuss shortly. Each iteration will track all swarm particle information such as position, speed, best position, and fitness, as follows:
Informatio...

Indice dei contenuti

  1. Title Page
  2. Copyright and Credits
  3. Dedication
  4. Packt Upsell
  5. Contributors
  6. Preface
  7. A Quick Refresher
  8. Building Our First Neural Network Together
  9. Decision Trees and Random Forests
  10. Face and Motion Detection
  11. Training CNNs Using ConvNetSharp
  12. Training Autoencoders Using RNNSharp
  13. Replacing Back Propagation with PSO
  14. Function Optimizations: How and Why
  15. Finding Optimal Parameters
  16. Object Detection with TensorFlowSharp
  17. Time Series Prediction and LSTM Using CNTK
  18. GRUs Compared to LSTMs, RNNs, and Feedforward networks
  19. Activation Function Timings
  20. Function Optimization Reference
  21. Other Books You May Enjoy
Stili delle citazioni per Hands-On Neural Network Programming with C#

APA 6 Citation

Cole, M. (2018). Hands-On Neural Network Programming with C# (1st ed.). Packt Publishing. Retrieved from https://www.perlego.com/book/825766/handson-neural-network-programming-with-c-add-powerful-neural-network-capabilities-to-your-c-enterprise-applications-pdf (Original work published 2018)

Chicago Citation

Cole, Matt. (2018) 2018. Hands-On Neural Network Programming with C#. 1st ed. Packt Publishing. https://www.perlego.com/book/825766/handson-neural-network-programming-with-c-add-powerful-neural-network-capabilities-to-your-c-enterprise-applications-pdf.

Harvard Citation

Cole, M. (2018) Hands-On Neural Network Programming with C#. 1st edn. Packt Publishing. Available at: https://www.perlego.com/book/825766/handson-neural-network-programming-with-c-add-powerful-neural-network-capabilities-to-your-c-enterprise-applications-pdf (Accessed: 14 October 2022).

MLA 7 Citation

Cole, Matt. Hands-On Neural Network Programming with C#. 1st ed. Packt Publishing, 2018. Web. 14 Oct. 2022.