Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

TENSORFLOW: ARCHITECTURE AND USE CASE - NASA SPACE APPS CHALLENGE by Gema Parreño

3,269 views

Published on

https://www.bigdataspain.org/2016/program/thu-tensorflow-arquitectura-caso-uso-nasa-space-apps-challenge.html

https://www.youtube.com/watch?v=0pOqJNVuc5I&list=PL6O3g23-p8Tr5eqnIIPdBD_8eE5JBDBik&index=23&t=21s

Published in: Technology
  • Writing good research paper is quite easy and very difficult simultaneously. It depends on the individual skill set also. You can get help from research paper writing. Check out, please ⇒ www.WritePaper.info ⇐
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Check the source ⇒ www.HelpWriting.net ⇐ This site is really helped me out gave me relief from headaches. Good luck!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Can You Use Any Charger With Any Cell Phone, Laptop, Camera, or Tablet? ♣♣♣ http://t.cn/AiFAbuQp
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

TENSORFLOW: ARCHITECTURE AND USE CASE - NASA SPACE APPS CHALLENGE by Gema Parreño

  1. 1. GEMA PARREÑO PIQUERAS@SoyGema
  2. 2. WHAT IS AN ARTIFICIAL NEURON?
  3. 3. WHAT IS AN ARTIFICIAL NEURON ?
  4. 4. Image Recognition Classification using Softmax Regressions and Convolutional Neural Networks
  5. 5. Languaje Understanding Find in SoftMax Regression interesting semantic Relationships
  6. 6. What is Tensor Flow ? Open Source Python artificial intelligence library using data flow graphs to build models Helps to create a deep neural network architecture Used in language understanding,image recognition, classification and prediction .
  7. 7. Advantajes about 1.Flexibility of representation. Create any type of data flow graph 2.Performs calculations both on CPU and GPU . Supports for parallel and asynchronous computations 1.Higly Scalable across many machines and huge datasets 3. Comes with many tools helping to build and visualize the data flow networks and neural nets
  8. 8. What is Tensor Flow used for ? PERCEPTION License Apache For both Research and Commercial Propouses DISCOVERING UNDERSTANDING PREDICTION CREATION CLASSIFICATION
  9. 9. Difference in between Machine Learning and Deep Learning CORE : Deep Learning Can run on multiple CUPs and GPUs USES : Perceptual and language understanding NEURAL NETWORKS MULTILAYERED - HMM CORE : Machine Learning Based on more logical inputs USES : Perceptual and language understanding REASONING NAIVE BAYES MULTILAYERED CONTEXTS CORE : Deep learning generally means building large scale neural networks with many layers LOGICAL REASONING
  10. 10. The Main architecture of TensorFlow
  11. 11. The Main architecture of TensorFlow TENSORS Structure of data GRAPHS Graphic representation of the computational process VARIABLES Helps define the structure of the neural net model NEURAL NETS Structure that is built to deal with complex problems
  12. 12. The Main architecture of TensorFlow DATA Tensors :multidimensional and dynamically sized data arrays TF use a tensor data structure to represent all data Comparing to matrix it has more dregrees of freedom regarding data selection and slicing. tf.Tensor class TENSOR ARCHITECTURE TIP Tensor is a structure in wich you can add levels of complexity From Scalar to time!
  13. 13. The Main architecture of TensorFlow TENSOR RANK SHAPES TYPES Defines structure of the Tensor How we write or represent it on Tensor Flow Defines dimensionality Structure of the kind of data we are going to deal with
  14. 14. The Main architecture of TensorFlow TENSOR TENSOR TRANSFORMATIONS SHAPING Operations that you can use to determine the shape of a tensor and change the shape of a tensor tf.reshape(input, name=None) Reshape a tensor SLICING & JOINING Operations to slice or extract parts of a tensor, or join multiple tensors together Tf.slice(input_, begin, size, name=None) Extracts a slice of a tensor
  15. 15. The Main architecture of TensorFlow TRAIN When you train a model, you use variables to hold and update parameters . Variables contains tensors Can be shaped and restored. It has an specific class tf.Variable class VARIABLES ARCHITECTURE TIP During the training phase, you might discover a variable useful value. Weights and biases are variables
  16. 16. The Main architecture of TensorFlow Process for initializing the variables. Save and restore a model to the graphs with a variable When you restore variables from a file you do not have to initialize them INITIALIZATION SAVING RESTORING tf.initialize_all_variables() tf.train.Saver() Saver.save () VARIABLES Saver.restore()
  17. 17. The Main architecture of TensorFlow KNOWLEDGE REPRESENTATION Launch de graph starting a session.A session object encapsulates th enviroment in wich Operation objects are exexuted, and Tensor objects are evaluated When you run a session it is considered a representation tf.Graph class GRAPHS ARCHITECTURE TIP Graphs are visual construction of the Neural Network : considered knowledge representation
  18. 18. How to best construct a Graph in Tensor Flow ? Example of of a data flow graph with multiple nodes (data operations). Notice how the execution of nodes is asynchronous. This allows incredible scalability across many machines
  19. 19. Online Resources for TensorFlow
  20. 20. Tips & Tricks for Designing Neural Nets
  21. 21. TIPS & TRICKS FOR DESIGNING NEURAL NETS ARCHITECTURE TIP In the Neural Net, how we structure data will define the tensorflow model construction. ARCHITECTURE TIP Seize the data . The selection of training data has alredy proven to be key in the learning process ARCHITECTURE TIP Think about the learning as a multilayered process by design ARCHITECTURE TIP In the Neural Net, knowledge hierarchy is key. Think about learning from bottom-top of top-bottom aproach
  22. 22. Books The BRAIN Tutorials Social Courses https://medium.com/@gema.parreno.piquera s/
  23. 23. TENSOR FLOW PLAYGROUND DESIGN THE LEARNING PROCESS in the net Input / output and activation function
  24. 24. TENSOR FLOW FOR POETS CREATE YOUR OWN CLASSIFIER in the net Input / output and activation function
  25. 25. Integration in products
  26. 26. NO SILVER BULLETS
  27. 27. Without product expertise …
  28. 28. Nasa Apps Challenge 2016
  29. 29. Neo´s neural Net design NEURAL NET A DATASETS B EXECUTION OF NEO RECOGNIZING PROTOCOL Extract into a CSV the actionable data for training process. Select a balanced dataset for training, including known matched NEO´s. C D 1st LAYER EVALUATIONExecution of the protocol described in “Hazards Due to Comets and Asteroids” Tree decision data pruning process that allows raw data to transform into knowledge Feed the neural net with training data. Create a tensor and including a transfer function that matches the known orbit of the NEO and do classification into the 4 main groups. Execute a Softmax regression with the spectral and physical data about the asteroid, gathering info about the potencial harm the NEO could do.
  30. 30. Neo´s neural Net design NEURAL NET E 2nd LAYER Retrain the Neural Network. Sometimes the observation of NEO´s might drive into changes. The software allow us to prune false positives
  31. 31. If we re-train a neural net over time, are we teaching it to change ?
  32. 32. Top 25 project among all projects worldwide Variables can be trained about the uncertainty of the change in orbit classification, offering an advantage against other classification approaches Opportunity to have a high level of abstraction in design, and learn about how the observation of NEO´s can influence into their classification One of the main key concepts about this is about how time can change classification and how we train a neural net to visualize it.
  33. 33. Thank you! @SoyGema Gema.parreno.piqueras@gmail.com

×