Thursday, May 17, 2018

google i/o summary at the google developer group meetup


  1. google photo action : if you take a photo and it identifies the person, will ask you do you want to send the picture to that person
  2. style photo : keep subject in color and background in black and white
  3. took old black and white photo and made it color
  4. TPU  3.0: tensor processing unit , liquid cooling
  5. 6 new voices for google home  using wavenet 
  6. assitant can make calls and book appointment
  7. https://ai.googleblog.com/2018/05/duplex-ai-system-for-natural-conversation.html
  8. In Google's case, its actual mission statement is: "to organize the world's information and make it universally accessible and useful
  9. continue conversation no need to repeat ok google everytime
  10. smart displays : google home with screen : show the forecast, Android TV does it, but this is separate, show me bakeries nearby, simllar to alexa echo show
  11. google sound bar  integrated with andoird TV and google assitant so you can control TV with voice : turn off the light, turn off the tv and play some music on pandora. 
  12. https://www.theverge.com/2018/5/10/17340224/google-gmail-how-to-use-smart-compose-io-2018
  13. Dashboard, App timer, winddown
  14. https://en.wikipedia.org/wiki/Google_Fuchsia new google os
  15. https://flutter.io/ 

    Build beautiful native apps in record time , language is dart


Saturday, May 5, 2018

Starting with Gradle

Making a trivia game for android phone

Last thanksgiving, I attended  a Google developer conference and got really excited and tried my hand at making a trivia game for andoroid phones. The message was "Voice is the new Search" which meant in the past "Search" revolutionized the internet , similarly, now due to smartphones, everything is moving to voice applications and  developers should focus on developing "voice apps"

I used the tutuorial from

and made this trivia game on the android phone about mahabharata, an epic story written 5000 years back in India, which 
  • asks you a trivia question about the events from the epic in voice, 
  • you give it a reply(in voice or text)  and then 
  • it answers back(voice and text) whether the reply was correct or not, voices more information about the question and then moves on to the next question


This will probably work only for me because I have to logged in to the console,  So  this is a screenshot of how the interaction  will actually go

Pros:

  1. It took me less than 30 minutes to create the game and all it needs is a spreadsheet with 


  1. There was no coding involved. and the possibilities are endless for creating fun educational games for all ages.

Cons:

  1. The only piece I need to figure out is how to deploy the games and make then available to family, friends and the world at an affordable price.













Saturday, November 18, 2017

ohio devfest by GDG (google developer group)


I attended the ohio devfest by GDG (google developer group)
https://ohiodevfest.com/

Get talking with Actions on Google

The keynote was about Actions for google by @abraham  and @pblatteier
You can make a action for google app using dialogflow templates

You say something to google assitant which INVOKES your app. It relays the message to your app which detects the INTENT of the the user and pairs it with an ACTION.

From there it does the action and returns a response to the user.

The speakers demoed their movie maven app which helped the user find a movie based off a genre.

You can reserve keywords which the google assitant will understand and do a implicit invocation of  your app.

Predicting the Internet of Things With Tensorflow

Taron foxworth talked about internet of things, machine learning.
@anaptfox

What is IOt 95% of all consumers wil lhave a chip by 2020. as avg devices become more intelligence, consumer will start to expect it.
microcontroller :  tiny computer run 1 program again and again.

gateway can be as small as a pi or a big server serving one purpose connecting things.

arduino connected to  piezo buzzer making a vibration. demo trying to show increse vibration and at certain level stop. platform around notifcation and control.  macine learning track subtle changes not perceptible by humans. machine learning is glorified statitstics, tweaking own statistical parameters. process iterate it over and automate the adjustments.  Keras


  1. Training a model: model is a function which takes input which you define. It is very strict. gives you output. very consistent. Training looks at data in supervised way. looking at all data and trying and trying and trying and see a pattern. if you have examples for all your cases. machine has to break first. 
  2. Building the model : qualitative -> quantitative . Monday to Sunday becomes 0 to 7. break complex to simple which machine can understand. reframing your question very important. 


Convolutional Neural Networks : what group of pixels I have seen before. Other thinigs low confidence.
let training determine what the right answer is. By playing with the training, number of layers, number of data points.


Keras is an open source neural network library written in Python. It is capable of running on top of MXNetDeeplearning4jTensorflowCNTK or Theano.[
keras

https://www.tensorflow.org/serving/
for production you upload to google and google scales it. just an api call.

https://github.com/tensorflow/models
models can train other models. just looking at numbers.

data scientist trains the model, build the model , dev ops take to production because it is just api from that point..

machine learning not on cloud running on edge. what happens if inernet goes. need to control the pipleine.

everyday examples of AI and ML

self healing machines. as a mchine if I know I am failing, I can change my arm.

Actions on Google Code Lab

https://codelabs.developers.google.com/codelabs/androidthings-assistant/#0


Using Popular Machine Learning Models and Techniques



https://github.com/ksasso/MLmodels_inR_GDG2017

have 100 people predict your height,
prediction error
resampling methods
result are not sample specific
k fold ramdom sample

tree based method for regression and classification
take the data and segment it ba
https://en.wikipedia.org/wiki/Decision_tree_learning

Favorite Resouces: Machine Learning Concepts

https://www.r-bloggers.com/in-depth-introduction-to-machine-learning-in-15-hours-of-expert-videos/
https://www.coursera.org/learn/machine-learning
https://www.datacamp.com/
https://www.analyticsvidhya.com/blog/2017/09/common-machine-learning-algorithms/
https://www.womeninanalytics.org/


fireside chat
tools most excited about : kotlin, VR, lithtml firebase probabilistic programming dso tensorflow

tech coming in near future : autonomous vehicles, tensor flow on mobile devices, block chain

3d print
https://techcrunch.com/2015/10/03/the-blockchain-might-be-the-next-disruptive-technology/

favorit goog api
tensorflow
google home
places api
firebase
vision analysis api

go to stack overflow and look for unanswered questions and solve them


Tuesday, August 29, 2017

Imagine John Lennon

Imagine is a classic Beatle song
meaning
video

Imagine there's no heaven
It's easy if you try
No hell below us
Above us only sky

Imagine all the people
Living for today (ah ah ah)

Imagine there's no countries
It isn't hard to do
Nothing to kill or die for
And no religion, too

Imagine all the people
Living life in peace

(You) You may say that I'm a dreamer
But I'm not the only one
I hope someday you'll join us
And the world will be as one

Imagine no possessions
I wonder if you can
No need for greed or hunger
A brotherhood of man

Imagine all the people
Sharing all the world

(You) You may say that I'm a dreamer
But I'm not the only one
I hope someday you'll join us
And the world will live as one