Machine Learning

Machine Learning

What is Machine Learning?

No alt text provided for this image

One of the main differences between humans and computers is that humans learn from past experiences, at least they try, but computers or machines need to be told what to do. Computers are strict logic machines with zero common sense.

That means if we want them to do something, we have to provide them with detailed, step-by-step instructions on exactly what to do. So we write scripts and programmed computers to follow those instructions. That’s where Machine Learning comes in. Machine learning Concept consists of getting computers to learn from experiences-past data.

Machine learning is an application of artificial intelligence (AI) that provides systems the ability to automatically learn and improve from experience without being explicitly programmed. Machine learning focuses on the development of computer programs that can access data and use it learn for themselves.

The process of learning begins with observations or data, such as examples, direct experience, or instruction, in order to look for patterns in data and make better decisions in the future based on the examples that we provide. The primary aim is to allow the computers learn automatically without human intervention or assistance and adjust actions accordingly.

Why do we want machines to learn?

No alt text provided for this image

This is Jack. Jack wants to buy a car. He tries to calculate how much he needs to save monthly for that. He went over dozens of ads on the internet and learned that new cars are around $20,000, used year-old ones are $19,000, 2-year old are $18,000 and so on.

Jack, our brilliant analytic, starts seeing a pattern: so, the car price depends on its age and drops $1,000 every year, but won't get lower than $10,000.

In machine learning terms, Jack invented regression – he predicted a value (price) based on known historical data. People do it all the time, when trying to estimate a reasonable cost for a used iPhone on eBay .

In terms of car the problem is, they have different manufacturing dates, dozens of options, technical condition, seasonal demand spikes, and god only knows how many more hidden factors. An average Jack can't keep all that data in his head while calculating the price.

People are dumb and lazy – we need robots to do the maths for them. So, let's go the computational way here. Let's provide the machine some data and ask it to find all hidden patterns related to price.

And it works. The most exciting thing is that the machine copes with this task much better than a real person does when carefully analyzing all the dependencies in their mind.

That was the birth of machine learning.

Three major components of Machine Learning

No alt text provided for this image

The only goal of machine learning is to predict results based on incoming data. The greater variety in the samples you have, the easier it is to find relevant patterns and predict the result. Therefore, we need three components to teach the machine:

Data : Want to detect spam? Get samples of spam messages. Want to forecast stocks? Find the price history. Want to find out user preferences? Parse their activities on Facebook (no, Mark, stop collecting it, enough!). The more diverse the data, the better the result. Tens of thousands of rows is the bare minimum for the desperate ones.

There are two main ways to get the data — manual and automatic. Manually collected data contains far fewer errors but takes more time to collect — that makes it more expensive in general. Automatic approach is cheaper — you're gathering everything you can find and hope for the best.

Features : Also known as parameters or variables. Those could be car mileage, user's gender, stock price, word frequency in the text. In other words, these are the factors for a machine to look at.

When data stored in tables it's simple — features are column names. But what are they if you have 100 Gb of cat pics? We cannot consider each pixel as a feature. That's why selecting the right features usually takes way longer than all the other ML parts. That's also the main source of errors. Metatags are always subjective. They choose only features they like or find "more important". Please, avoid being human.

Algorithms : Most obvious part. Any problem can be solved differently. The method you choose affects the precision, performance, and size of the final model. There is one important nuance though: if the data is crappy, even the best algorithm won't help. Sometimes it's referred as "garbage in – garbage out". So don't pay too much attention to the percentage of accuracy, try to acquire more data first.

Relation between Machine learning and Artificial Intelligence

No alt text provided for this image

Artificial intelligence is the name of a whole knowledge field, similar to biology or chemistry.

Machine Learning is a part of artificial intelligence. An important part, but not the only one.

Neural Networks are one of machine learning types. A popular one, but there are other good guys in the class.

Deep Learning is a modern method of building, training, and using neural networks. Basically, it's a new architecture. Nowadays in practice, no one separates deep learning from the "ordinary networks". We even use the same libraries for them. To not look like a dumbass, it's better just name the type of network and avoid buzzwords.

How Does NASA use Machine Learning ?

Do you ever look at the night sky and wonder what is beyond the stars? Do you ever wonder if there is life somewhere else in the universe? Do you want to travel to some faraway galaxy and find out the secrets of the universe?!! Well, all these questions are ones that NASA tries to solve on a daily basis.

NASA is involved in all aspects of space ranging from studying Earth’s outer atmosphere to finding signs of life on other planets! And Machine Learning is a big part of this space discovery as it is a necessary tool in this data age. The amount of data generated by various NASA spacecraft and satellites is insane (As an example, consider that only the Sloan Digital Sky Survey will create more than 50 million images of galaxies in the future!) and hence Machine Learning is necessary to identify patterns in this data which will lead to exciting new discoveries in the future! And that’s not all! Machine Learning can also be used to monitor astronaut health in space, handle the spacecraft repairs intelligently, discover more planets in other galaxies and other fantastic things!!! In fact, when it comes to Space and Machine Learning, not even the sky’s the limit!!!

No alt text provided for this image

So now, let’s see some of the existing or in-progress applications of Machine Learning for NASA so that you can better understand the scope of this fantastic technology in space exploration and also get an idea of its future applications.

1. Self-Driving Rovers on Mars – The Spirit and Opportunity Rovers

Did you think that Tesla, Google, Uber, etc. were the first ones to heavily invest in self-driving cars? Well, think again!!! In fact, NASA had created the technology for autonomous driving for Mars Rovers almost a decade ago. A Machine Learning based navigation and driving system for self-driving Mars rovers known as AutoNav was actually used in the Spirit and Opportunity rovers which landed on Mars as early as 2004. Another rover launched in 2011, Curiosity also uses AutoNav and it is a rover that is still exploring Mars till date with the mission of finding water and other factors that might make Mars suitable for human exploration in the future!

Now you would think that driving on Mars is comparatively easier than driving on the congested roads of Earth. But it’s not so easy! While AutoNav does not have to worry about the rover hitting other vehicles or humans (There is no life found on Mars yet!), the surface of Mars is very rocky so the navigation system has to make sure that the rover does not hit rocks or slippery sand dunes that would trap it permanently.

No alt text provided for this image

Another application of Machine Learning in the Mars rovers is an algorithm called AEGIS (Autonomous Exploration for Gathering Increased Science) which identifies Martian rock formations that might be interesting on its own by using Machine Learning This is because the rover cannot send all the pictures of Mars it snaps back on Earth because there is only limited communication possible. So AEGIS decides which pictures might be interesting or important and then the rover sends them back on Earth for the NASA scientists to study.

2. Medicine in Space – Exploration Medical Capability (ExMC)

Now that astronauts are moving further and further into space beyond the Earth orbit, what will happen if they need medical help? They will obviously not be able to return to Earth for a check-up with a doctor! For this reason, NASA is working on Exploration Medical Capability that will use Machine Learning to develop healthcare options based on the anticipated future medical needs of the astronauts. These healthcare options will be created by certified doctors and surgeons and they will learn and evolve with time according to the astronaut experiences.

No alt text provided for this image

All in all, the main aim of the Exploration Medical Capability is that astronauts stay fit and healthy in space (Especially on long and far-away missions). And unlike what comic books tell you about space, some of the common health risks associated with space travel are radiation hazards, harsh environmental challenges, issues due to gravitational changes, etc. In these situations, the astronauts cannot directly contact doctors on Earth as there is a time-lag and so the ExMC uses machine learning to provide self-reliant autonomous medical care with the help of remote medical technologies.

3. Finding Other Planets in the Universe – Planetary Spectrum Generator

I am sure I don’t need to tell you that the universe is huge! NASA believes that there are around 100 billion stars in the galaxy and out of them about 40 billion may have life. This is not science fiction, NASA actually believes we may find aliens one day! But for discovering aliens, NASA first needs to discover more and more new planets in different solar systems. Once these exoplanets are discovered, then NASA measures the atmospheric spectrum of these planets to find if there is any possibility of life.

While these steps are complicated enough, the problem is that there is no real data available for experimentation! So NASA scientists just generate the required data and that’s where Machine Learning comes in. The Planetary Spectrum Generator is a tool that NASA uses to create 3-D orbits and atmospheric properties of the exoplanets they find. To create a working model for the solar system, scientists use linear regression as well as convolutional neural networks. Then further fine-tuning is conducted on the model before it is ready for training.

No alt text provided for this image

The above image demonstrates the results generated for an exoplanet that demonstrate the amount of water and methane in the atmosphere. As you can see in the CH4 and H2O graph, the black lines denote the predictions that were made using Machine Learning and the red lines indicate the actual findings. As you can see the trained ML model is quite accurate in this situation!

4. A Robotic Astronaut – The Robonaut

Did you think that astronauts could only be humans?!! Well, normally you would be right but NASA has developed a robotic astronaut now. Science fiction is finally coming true! The Robonaut was primarily developed to work alongside the astronauts in space and help them in completing tasks that were quite dangerous for humans. This was necessary as it would increase NASA’s capacity for research and discovery in space which would, in turn, allow us to learn more about the solar system.

No alt text provided for this image

As you can see from this image, Robonaut is now an essential helper in space! To achieve this, Robonaut basically uses Machine Learning to “think” for itself. So the scientists or astronauts can give tasks to the Robonaut and it figures out how to perform them. In general, Robonaut also has many advantages over normal humans like advanced sensors, insanely high speeds, compact design, and much higher flexibility. There is a lot of advanced technology that was used to develop Robonaut which includes touch sensors at its finger-tips, full neck travel range, high-resolution camera, and Infra-Red systems, advanced finger and thumb movement, etc.

5. Navigation on the Moon – Deep Learning Planetary Navigation

What would happen if you got lost on Earth? Well, nothing much! You could just use GPS to reach your destination without a problem. But what if you got lost on the Moon?! Well, you’d better hope someone finds you because GPS doesn’t work on the moon! Or at least it didn’t until now!!! Currently, the NASA Frontier Development Lab is working on a project to provide navigation on the surface of celestial bodies including the moon! This project basically aims to provide GPS even on the lunar surface, just without using multiple very expensive satellites! And that is not an easy task keeping in mind the rocky and barren lunar surface:

No alt text provided for this image

This is done by feeding a Machine Learning System lot’s of images of the moon (2.4 million in this case which luckily NASA already has!) and then creating a virtual version of the moon using neural networks. Then if you are lost on the Moon, you can take images of your surroundings and the Machine Learning System will be able to triangulate your location on the moon by comparing your images with the already created image database of the lunar surface that constitutes the virtual moon. While this technique isn’t perfect (yet!), it is still much better than anything already available and can be used on any planetary surface, not just the moon. And NASA is already hopeful that it can be used on Mars next just in case anybody gets lost on the red planet!

Apart from NASA Machine Learning has many applications in daily life as well like virtual assistance (Smart Speakers, Smartphones), Prediction while commuting (Traffic predictions, share market value prediction), Social Media service(Face Recognition, Suggestions), Search Engine Result Refining, etc.

Machine learning has made dramatic improvements in the past few years, but we are still very far from reaching human performance. Many times, the machine needs the assistance of human to complete its task. 

要查看或添加评论,请登录

Anjali Ratate的更多文章

  • Industry Use Case of AWS SQS Service

    Industry Use Case of AWS SQS Service

    Queues are a powerful way of combining software architectures. They allow for asynchronous communication between…

  • How Industries Using Azure Kubernetes Service?

    How Industries Using Azure Kubernetes Service?

    In today’s world of technological revolution, cloud computing technology has reached its zenith. Companies like…

    1 条评论
  • How Industries Using Neural Networks To Make The Industry More Successful

    How Industries Using Neural Networks To Make The Industry More Successful

    Artificial intelligence (AI), deep learning, and neural networks represent incredibly exciting and powerful machine…

  • Industry Use Case for Kubernetes

    Industry Use Case for Kubernetes

    What Is Kubernetes? Kubernetes (also known as k8s or "kube") is an open source container orchestration platform that…

  • How Industries are solving challenges using Ansible

    How Industries are solving challenges using Ansible

    What is Ansible? Ansible is an open-source software provisioning, configuration management, and application-deployment…

  • Configuring Apache Webserver on Docker using Ansible automation

    Configuring Apache Webserver on Docker using Ansible automation

    What is Ansible? Ansible is a software tool that provides simple but powerful automation for cross-platform computer…

    3 条评论
  • AWS CLI(Command Line Interface)

    AWS CLI(Command Line Interface)

    What is AWS CLI? AWS Command Line Interface(AWS CLI) is a unified tool using which, you can manage and monitor all your…

  • AWS Cloud

    AWS Cloud

    Amazon Web Services (AWS) is surely one of the greatest inventions and is a great building block to deploy different…

    2 条评论
  • Big Data a Problem or Solution?

    Big Data a Problem or Solution?

    We all are surrounded by huge data. People upload/download videos, audios, images from variety of devices.

社区洞察

其他会员也浏览了