Friday, September 22, 2017

Preview of Flying Car Nanodegree Program from Udacity

Udacity's Flying Car Nanodegree trailer featuring Sebastian Thrun, KittyHawk flying drones, flying smart cars and more.

Host an HTML website on Github in 5 minutes HD

Web development with Github in 5 minutes. Build your personal portfolio today.

Wednesday, September 20, 2017

Coding Interview Questions - OOP

Class definition

class Person(object): 
 def __init__(self, name, age): = name 
      self.age = age 
 def birthday(self): 
      self.age += 1

Note class name is capitalized. Initialization is the constructors where defines class variables. Next def defines a function. Class functions take self as the default, 1st parameter.

Salary for Self Driving Car Engineer

How much salary can you make with a self driving car engineer degree? If you graduated from Carnegie Mellon University at the epicenter of self driving car testing in Pittsburgh, your starting salary can be as high as $200,000 a year. In general, graduates of the Computer Vision program at Carnegie Mellon are receiving offers north of $200K. Majoring in STEM programs really generate high rewards, now especially in computer science and specifically computer vision. See Time CNBC report on how to get a high salary as a self driving car engineer and/or work for Uber!

Friday, September 1, 2017

Roomba and Machine Learning Artificial Intelligence for the cleaning robot

The latest Roomba 980 can scan room size, identify obstacles and optimize routes. This robot is equipped with state of the art sensors and cameras to scan the room, scan for obstruction and record odometry (used by wheeled robot to estimate distance traveled from a starting position). Its decision tree may work something like scan a small room 3x, a medium size room 2x, a large room for only once. source

It is equipped with infrared receiver for sensors such as cliff sensors and object sensors. It calculates the room size based on distance traveled. The wall sensor allows iRobot to travel closely along the wall.  The iRobot 980 camera can look forward and up at a 45 degree angle.

In machine learning, robot - the agent will interact with the environment, record each state and reward for moving into the next date, update a Q table with utility and eventually choose the best way to complete the task. Reinforcement learning such as that allows the robot to optimize its routes and maximize reward for completing a task based on a set of policies.

In reality, Roombas are forgetful (resets after each run) but it's getting advanced AI functionalities fast. With its existing cameras and image processing software, Roomba iRobot can map out your room with surprising precision. The camera and software in the  Roomba iRobot 980 device can navigate much better than its predecessors which move around semi randomly (at one point Roomba Red travels in spirals, the SPOT cleaning feature still looks a bit like that). 980 has vision! It does not recognize objects yet.

Roomba uses  simultaneous location and mapping or SLAM, an algorithm that takes significant time to optimize and is a lot to pack into a small device according to researchers at MIT. MIT professor John Leonard says Google self driving cars already use navigation systems based on SLAM technology (the self driving car also made significant improvements and use a whole lot more data than SLAM for iRobot which a simple localization task only source).

This little robot is mapping out your room. With the newest Roomba connecting to WIFI and working with Alexa and Google Homes, researchers are concerned about data collection and privacy. The user has to keep Roomba offline or explicitly opt out of data sharing for the advanced wireless models. Albert Gidari, director of privacy at the Stanford Center for Internet and Society, told NYTimes that sharing such data will draw legal ramifications.

Did you know that iRobot was created by MIT alumni?

Roomba reached 655 millions in sales 2016. (source)

React UI, UI UX, Reactstrap React Bootstrap

React UI MATERIAL  Install yarn add @material-ui/icons Reactstrap FORMS. Controlled Forms. Uncontrolled Forms.  Columns, grid