Author: torontoai
Machine learning for all developers with edX and Amazon SageMaker
Customers often ask us how to get started when they do not have a deep data science and machine learning (ML) background. At AWS, our goal is to put ML in the hands of every developer and data scientist.
AWS Training and Certification has partnered with edX to help you get started quickly and easily with ML with our interactive course, Amazon SageMaker: Simplifying Machine Learning Application Development.
Available exclusively on edX, Amazon SageMaker: Simplifying Machine Learning Application Development is an intermediate-level digital course that provides a baseline understanding of ML and how applications can be built, trained, and deployed using Amazon SageMaker. Amazon SageMaker is a fully managed, modular service that covers the entire ML workflow. It helps you label and prepare your data; choose an algorithm; train the model; tune and optimize it for deployment; make predictions; and act.
This course was developed by AWS experts. It explains the following:
- Key problems that ML can address and ultimately help solve
- How to train a model using Amazon SageMaker’s built-in algorithms and a Jupyter Notebook instance
- How to deploy a model using Amazon SageMaker
- How to integrate the published SageMaker endpoint with an application
Amazon SageMaker: Simplifying Machine Learning Application Development is recommended for developers of all skills. If you want to take your models from concept to production quickly and easily, or are looking to level up in ML, this course is for you. Before beginning, we recommend that you have at least one year of software development experience. You should also have a basic understanding of AWS services and the AWS Management Console, either through previous experience or the AWS Developer Professional Series.
The course is divided into four weekly lessons, with an estimated two to four hours per week of study time. It features video-based lectures, demonstrations, and hands-on lab exercises. You can set your own pace and deadlines. Everyone can take the weekly quizzes, which are not graded and allow unlimited retries.
This on-demand, 100%-digital course is available now and is offered on a complimentary basis.
Get started today at Amazon SageMaker: Simplifying Machine Learning Application Development.
About the Author
Jennifer Davis is the Senior Manager, Product Marketing, for AWS Training and Certification.
[D] Which is the better way to perform face recognition?
I want to use the MS Celeb dataset (100,000 classes) to label images of various celebrities. I was thinking of 2 ways to do this.
- Train a new face recognition model from scratch on this dataset with 100,000 classes as output.
- Use a pretrained model like face_recognition library to get the encodings of a face and compare it (L2 distance) with the encodings of all the 100,000 classes. The class whose encodings are closest to this face, will be the face’s class.
I don’t know if this ‘comparing’ method will work well with 100,000 classes (the encodings are of 128 dimensions). What do you guys think will be more feasible?
submitted by /u/Eoncarry
[link] [comments]
Director – Artificial Intelligence – Course5 Intelligence – Toronto, ON
From Course5 Intelligence – Thu, 25 Jul 2019 17:22:57 GMT – View all Toronto, ON jobs
Enabling healthcare access from home: Electronic Caregiver’s AWS-powered virtual caregiver
When Electronic Caregiver’s founder and CEO, Anthony Dohrmann, started the company a decade ago, he was reacting to a difficult situation faced by 100 million Americans and countless individuals globally: the challenge of managing health treatment for chronic diseases. “Patients are often confused about their care instructions and non-adherence with care plans and medications schedules are estimated to cause 50% of all treatment failures,” he explains.
As such, Electronic Caregiver was designed “to improve the patient experience and to positively engage patients in their personal care plans. We improve communication between providers, families, and caregivers, and expedite a more informed response to the need of the aging and ill. We intend to reduce costly complications, improve health outcomes, and extend lifespans.”
Today, Electronic Caregiver’s solution revolves around Addison, a-state-of-the-art, 3D-animated virtual caregiver. She can engage in two-way conversations and is programmed for a user’s personal needs. Similar to a human in-home caregiver, Addison monitors patients’ activity, reminds them to take medications, collects vitals, and conducts real-time health assessments—all from the safety and comfort of a patient’s home. Whereas a patient would otherwise need to make myriad doctor visits or pay an in-home caregiver, Addison brings health solutions to the user wherever they are.
To power that life-changing magic, Electronic Caregiver relies on AWS in multiple ways. For raw computational power to store patient data in a HIPPA-compliant way, the team uses services including AWS Lambda functions. For the patient-facing experience, Electronic Caregiver has developed an augmented reality (AR) character named Addison using Amazon Sumerian. And for the intelligence behind that character including collecting and analyzing data, AWS IoT Core, AWS IoT Greengrass, and Amazon SageMaker are key to the solution. The architecture that the Electronic Caregiver team has developed is shown in the following diagram.

Bryan Chasko, CTO at Electronic Caregiver, comments, “We saw an opportunity to use the latest sensing, artificial intelligence, and other cloud-based technologies to address unmet customer needs with a fuller-featured solution than traditional alert devices.”
Specifically, Electronic Caregiver provides patients with wearable gadgets (such as a wrist pendant) and monitoring devices (such as a contact-free thermometer and a glucose meter) that are connected to the cloud.
To connect device fleets, AWS IoT Core easily and securely connects devices to the cloud via an MQTT lightweight communication protocol specifically designed to tolerate intermittent connections, minimize the code footprint on devices, and reduce network bandwidth requirements.
Whenever a user completes a health reading, such as checking their temperature or completing a physical therapy exercise, that activity generates data that the devices capture. That data can then be queried to check whether a measured value is in the expected range. If the reading is good, the patient will receive a contextually appropriate positive response from Addison.
For example, in cases where a patient is in physical therapy recovering from an injury, Electronic Caregiver monitors improvement to their range of motion. The built-in gamification rewards the patient with points and even sends gifts to their homes to celebrate improvements. This personalized support reinforces their ongoing commitment to their treatment plan and helps these patients execute their treatments properly; it is pivotal to their long-term recovery.
If a reading is atypical, Electronic Caregiver springs into action to get the patient back on track. From a technical perspective, AWS IoT Greengrass Machine Learning Inference pushes a machine learning model built in Amazon SageMaker directly to the edge device in the user’s home. The patient is asked specific questions to help assess the cause of the anomaly, and then they receive from their device a prediction of the likely reason(s) for this result as well as recommended solutions. These questions and solutions are voiced to the patient with Amazon Lex and Amazon Polly, as well as shared with the patient’s selected stakeholders (such as family members and doctors) so everyone on the individual’s care team is immediately aware.
With this set-up, it is as though the patient has a constant caregiver watching out for them, so they receive the quality of care typical of a full-time facility like a nursing home, but possible from their own house. As a further benefit, even individuals who are not co-located with the patient (such as family members on a different continent) can get real-time updates from across the world.
In addition to the connected wearables, Electronic Caregiver has developed a platform to track patients’ activity and ensure that they are conscious and mobile. If activity is not detected, Electronic Caregiver can summon emergency response, coming to the rescue quickly in the event of a fall or other lapse into unconsciousness.
There is a visual analytics monitoring system that also enables personalized monitored medication reminders. Motion is tracked by the visual analytics system and then the pills are identified with Amazon SageMaker-trained machine learning models. This means that Addison can pinpoint when a user has taken their medication and remind them if they’re late.
Amazon Lex also accepts verbal input from the user, so a patient can simply articulate that they’re taking a medication and the system logs it. This feature makes it feel almost like the caregiver is human. Just as someone would articulate to a housemate that they’d completed their medication routine, they can inform Addison.
“Only 3% of the US population can afford live caregiving,” Dohrmann notes. “We are bringing affordable, effective care alternatives to the world through Addison.”
About the Author
Marisa Messina is on the AWS ML marketing team, where her job includes identifying the most innovative AWS-using customers and showcasing their inspiring stories. Prior to AWS, she worked on consumer-facing hardware and then university-facing cloud offerings at Microsoft. Outside of work, she enjoys exploring the Pacific Northwest hiking trails, cooking without recipes, and dancing in the rain.
[D] Classification: Having the NN know when it doesn’t know
So I’m working on:
Building an app to classify animals for the visually impaired. Users have an app where they can take a picture and get the name of the animal. If the camera is being pointed somewhere with no animal, it should predict “No Animal”. But ALSO, if the camera points at an animal that I don’t have in my dataset, I’d like it to predict “Unrecognized Animal” so I can store the frame and the manually tag it and feed back to my training set.
Here’s what I’m thinking:
-
On Data: Have varied images with no animals in them that the network should predict as “No animal”. Take a number of species and have them as “Unrecognized Animal” so the network learns what it doesn’t know (the truth label would be [Animal = 1, Recognized = 0, 0, 0, 0, 0…] vs. the recognized animals e.g. [Animal = 1, Recognized = 1, 0, 0, 1, 0…]). I know the normal approach would be to decide “Unrecognized” based on a threshold of the max predicted confidence, but several papers and empirical evidence show how overconfident nets can be…?). I’m not too sure.
-
On loss function: I was just going to use cross entropy for each of the three terms (Animal/No Animal, Recognized/Not Recognized, Animal classification) and have them weighted.
Is my approach in the right direction? I don’t know how to express this problem well enough to find good results on google but this must have been solved before right?
Thanks to any ideas!
submitted by /u/JuicyRacoonAnus
[link] [comments]
[D] Looking for a platform I saw to store models results
Hi guys,
Fairly simple question here, I am drawing a blank and can’t find the name of a platform I saw a few days ago (maybe I should post this in TOMT instead!) that was made to store and share your models. I just saw a screenshot of it so the info I have is very limited but now that I want to explore further I realize I forgot to bookmark it.
Basically, it was a web interface showing a summary of your models with name, parameters (eg l2_ratio, alpha) and a few statistics (accuracy or R2). That’s all I have…
Hopefully someone knows what I am talking about!
Thank you!
submitted by /u/Dav05
[link] [comments]
[D] How does word2vec model encodes similarity
I am confused about why word2vec learns similarities or how does it learn?
In word2vec, in the skipgram model, we want to maximize the p(context | word), let’s say I have the following sentence:
- I want a job
- I want a cake
Most pair of words are gonna be similar, except for the following ones:
Words for “job” in a window size=2
(job, a)
(job, want)
Words for “cake” in a window size=2
(cake, a)
(cake, want)
Since the structure of the sentence is the same except the nouns job and cake, would the skipgram model learn that job is similar to cake?
Does sentence structure affect the quality of embeddings? I guess this is one of the reasons that these models need to be trained in a huge corpus.
The model is only learning the surrounding words, how can it say, as stated in the original paper, that queen is similar to king? Is it because both have the same surrounding words?
submitted by /u/cuenta4384
[link] [comments]
Smoothing Out the Bumps: Researchers Aim to Solve Mystery of Turbulence
Turns out turbulence isn’t just something to concern anxious fliers clasping onto their seats at 30,000 feet.
Apart from jiggling your plane around, turbulence also affects how cars drive, the stability of tall buildings and the amount of energy that can be produced by wind turbines.
While the experience of turbulence is all around us, the mathematics behind this bumpy phenomenon remains a mystery. So much so it’s one of seven Millennium Prize Problems posed by the Clay Mathematics Institute. These problems challenge the field of mathematics to solve some of the “deepest, most difficult problems” of classical physics.
Understanding turbulence is of crucial importance for engineers around the world. And that’s just what a team from Imperial College London, headed by Peter Vincent, Reader and EPSRC Fellow, has set out to do using highly accurate flow simulations on GPU-accelerated supercomputers.
The Physics Behind Turbulence
Turbulent flows are chaotic, containing millions of small vortices — spinning regions of the flow — that interact in incredibly complicated ways.
When designing stable buildings and optimal vehicles, engineers can often ignore the smallest-scale chaotic motions and instead focus on averages of pressure and velocity.
But it turns out that even these average properties are extremely difficult to predict accurately since their behavior is linked to chaotic small-scale motions. This means engineers generally resort to using approximate models.
To improve the accuracy of turbulent flow calculations, Vincent and his team ran thousands of turbulent flow simulations, each requiring billions of calculations to complete, over a period of 12 months. To power these, the team made use of two of Europe’s fastest supercomputers — Piz Daint at CSCS and Wilkes-2 from the University of Cambridge.
These NVIDIA GPU-accelerated systems enabled the team to identify for the first time so-called “eigenmode” solutions of averaged turbulent flow in a channel. This provides fundamental insights into the flow physics, which can be used to develop improved approximate models for use in industry.
“From these calculations, we’ve been able to shed new light on the physics that governs averaged properties of turbulent flow,” explained Vincent. “In particular, they show that the governing equations cannot possess certain symmetries, which are often assumed by existing models.”
With a deeper understanding of the physics behind turbulence, engineers can design the next generation of airplanes, wind turbines, submarines and many other objects to be more stable and secure.
“With the mainstream emergence of unsteady turbulence modeling for wind energy applications, the need for improved models is vital,” stated David Standingford, co-founder and director of Zenotech and an expert in mathematics and fluid dynamics. “The current work from Imperial College London addresses fundamental questions that will enable better industrial simulations in the future.”
Photo credit: Thomas Angus, Imperial College London
The post Smoothing Out the Bumps: Researchers Aim to Solve Mystery of Turbulence appeared first on The Official NVIDIA Blog.