AIA 6600 Module 5
AIA 6600 Module 5
Introduction
Overview
TensorFlow
Boosting
Bagging
Module Wrap-up
1. With letter or handwriting pattern recognition, how does the number of lines with
each character increase or decrease the complexity and processing needs?
2. How would curves make this more or less complex?
https://www.youtube.com/watch?v=mWYUx_HJeSM&t=1s
Module 5: TensorFlow
TensorFlow is a tool for beginner and advanced users to create these pattern
analysis models/algorithms. This section will explore the more advanced
applications of this.
TensorFlow assists the user in developing and training their ML models. This
tool is comprehensive in its functionality yet flexible. The tool can quickly
and easily generate models for the user using high-level APIs (e.g., Keras).
This is a quality feature in that there is no substantial wait to test the
models, work through workflow issues, and debug. The tool is also a quality
addition to the user as it may be used for training and deployed in the cloud,
on your premises, or your device, depending on its processing ability and
memory. This aspect is available regardless of the platform. TensorFlow was
designed to be used to assist the user in taking the idea from the early
stages with the concept to code level quicker than other tools or protocols.
1. With what other data sets may you use data sets?
2. In your opinion, how much data would be a minimum for analysis of material costs
and availability?
https://www.youtube.com/watch?v=6f67zrH-_IE
like humans Links to an external site. was published just after TensorFlow
was made open source by Google. The article is older. However, it provides a
baseline for the software. You can read this and appreciate where the
software started compared to where we are now. Consider the following
questions:
1. If you were in a manufacturing firm producing toys, how would you use the
programmable interface?
2. Which visualizations do you think you would want to use, for which potential data
sets, and why?
Healthcare
This has been used for detecting respiratory diseases and assisting the
medical staff in prescribing the best antibiotics for the patient. GE Healthcare
uses TensorFlow to train a neural network to identify anatomy from brain
MRIs.
Hospitality
Airbnb uses TensorFlow to improve the guest experience via classifying
images and detecting objects at scale.
Aeronautics
Airbus uses TensorFlow to pull information from its satellite images for
analysis and delivery to its clients.
Retail
Coca-Cola uses this to enable mobile proof-of-purchase for easy
transactions.
IT
Intel uses TensorFlow to optimize inference for their different models in use.
Lenovo uses this to assist in improving its deep learning models. Qualcomm
uses this on their Snapdragon models. Twitter uses this for ranking tweets
and building the ranked timeline.
With the application of TensorFlow, let’s examine the AI value chain. As a reminder,
this phase is Project, Produce, Promote, and Provide. Select each item below to
learn more.
Project
The use of TensorFlow allows for models to be tested before being implemented.
This is a large step for Research & Development. This saves time and resources
(labor, capital, etc.). This also is an exceptional tool to use with forecasting. With
the modeling, the team would be able to improve the forecasting model from
hopeful guessing to more of a data-based forecast.
Produce
With TensorFlow modeling used for the forecast function, this will optimize
the proposed production of the goods the firm manufactures. This would
move spreadsheets to predictive models used for this purpose, engineered
to bring this down to a much narrower forecast. This would also be used for
maintenance schedules to ensure the equipment used by the organization
does not break down before being maintained. TensorFlow’s models and
processing power are adept at this preventive maintenance.
Promote
The TensorFlow model may be used to forecast the best or optimal uses for
the marketing dollars before these are spent. This would be engineered to
spend the funds to focus on the target markets, which would be more likely
to spend the money.
Provide
Enhancing the customer experience will be achieved from the prior steps
allowing the operations and sales functions to move much more smoothly.
Smart Homes
Intelligent smart home energy efficiency model using artificial TensorFlow
engine Links to an external site., examines the lack of home and IoT
operating systems integrated into a central system due to the independent
platforms. The researchers used TensorFlow for the analysis. This shows
another area to use TensorFlow. Consider the following questions:
1. With the lack of data or integrated data, what would the system or you do (before
submitting the data to be analyzed) for this to be “clean” and usable?
2. How would you analyze the two separate data sets to build a thorough analysis if
both could not be integrated?
1. We have seen TensorFlow used in many industries and instances. What instances or
industries would this not work well in?
2. When might the data provide a less accurate prediction in this use case with the
peptides?
Reflection
You are managing the construction of a new bridge to replace an aging one.
You have read about ML and AI and how these can assist with business. You
ask the data science staff member to investigate this.
The activity is to apply the use case to the value and respond for each of the
four in a robust, meaningful way. The four phases in the AI value chain to
elaborate on are Project, Produce, Promote, and Provide.
https://www.youtube.com/watch?v=m-S9Hojj1as&embeds_referring_euri=https%3A
%2F%2Fnexford.instructure.com%2Fcourses%2F5179%2Fpages%2Fmodule-5-
boosting-overview%3Fmodule_item_id%3D225215&source_ve_path=OTY3MTQ
Let’s use spam email as a practical example. You can have certain criteria to
define an email as spam or not. These criteria or rules, you determine, are
not strong enough to classify an email as spam or not. Since the
criteria/rules are not strong enough, the criteria/rules are listed as weak
learners.
We want to have strong learners, meaning the criteria/rules can identify a
spam email correctly. To accomplish this, the system uses the weighting for
the weighted average for each iteration and considers prediction for higher
votes. For instance, imagine there are seven weak learners. Of these, five
indicate the email as spam, and two indicate the email as not spam. Since
more “weak learners” voted or predicted this was spam, the system
considers it spam email. Through this extensive process, the weak learners
become the strong learners as the predictions increase.
There are several algorithms present that are used with this. A sample of
these is AdaBoost (the most popular and used), LPBoost, BrownBoost,
XGBoost, MadaBoost, LogitBoost, and many others.
One area this may be applied to is facial recognition. This was controversial
in 2020, with police departments and government units implementing this.
The issue has pivoted around a person’s right to privacy.
This also has been applied to palmprint identification. This is used, among
other uses, as authentication into secure facilities. In this method, the palm
texture/print may be turned into grayscale to accentuate the print into more
of a binary feature (print or no print) in a selected block of the palmprint.
Module 5: TensorFlow and Machine
Learning
Review the following articles for additional applications of TensorFlow.
Palmprint Identification
Palmprint identification using boosting local binary pattern Links to an
external site., provides a new method for the learner to review. You will be
able to apply the new or a similar method to their research. Consider the
following questions:
Emotion Recognition
Emotion recognition with boosted tree classifiers Links to an external site.,
focuses on a new system to recognize emotions on the subject’s face using
video datasets and boosting. This will expose you to another example of
boosting based on image analysis. Consider the following questions:
The researcher’s report indicated the mouth held the most information for
the algorithm. What area of the face would you say held the next greatest
amount of data, and what makes this useful for the algorithm?
How would you factor in the context of the images being analyzed by the
algorithm?
1. The researchers used 46,000 features. How does this number affect the algorithms?
2. The researchers also selected a sample of a few images for their testing. How would
many more images affect the algorithm’s effectiveness?
Marquette University
Algorithms; Findings from Marquette University broaden understanding of
algorithmsLinks to an external site., and exposes you to another application
with boosting. This version is with language recognition. Consider the
following questions:
Reflective Question
You are working with the quality control working group. There has recently
been an issue with the quality of the whistles the organization
manufactures.
Please walk through the steps you would use with the boost technique (weak
learners to strong learners, factors considered, etc.).
1. The economic data used for the analysis is important, and the analysis is much
more important to the nation. What are two things researchers could do to reduce
the risk of error?
2. The article notes the benefits of using bagging. What issues could you see as having
held this back from more use in economics?
1. The proposed method divides the picture into small cells for analysis. How small is
too small for bagging, or at what point would the square size be workable for
optimal results with the algorithm?
2. The researchers used two datasets for the images. How would the researchers
clearly show they did not pick the data sets so they would work best with their
algorithm?
Assignment Description
You are the Chief Technology Officer for the Midwest Cardiology Institute, the
most extensive cardiology practice in the Midwest United States. With the
increase of heart disease in the American population, there continue to be
many more patients with heart health issues that require monitoring. This
significant increase in cardiology patients that require monitoring has
stretched the intended resources at the institute.
You have already demonstrated to the executive partners at Midwest
Cardiology Institute that AI can be applied in AI-powered wellness wearables.
The executive partners are seeking your consultation to propose a workable
solution to resolve the issue with resources and demonstrate how AI can
increase the Midwest Cardiology Institute’s operations (growth) and profits
(revenue maximization).
Assignment Instructions
You will prepare a memorandum for the Cardiology Institute. This
memorandum needs to be 4 pages, double-spaced, 12-point Times New
Roman Font. You are required to include at least two references. You can use
external references from our class in your reference list. These references
need to be formatted in NXU style formatting at the end of the memo with
appropriate in-text citations. You should include compelling justifications
throughout the memo. The memorandum should include the following
headers:
Create a plan that you can present to the partners as a memorandum. Your
memo should contain, at the least, the following six sections:
Executive Summary
Background
Revenue maximization
Assess the various profit maximization techniques generally used in the
healthcare industry.
TensorFlow Application. Note: The TensorFlow analysis uses various models
which apply to this case.
Time Series Note: Apply recurrent neural networks to monitor cases of heart
failure
Recommendations