Introduction To Prescriptive AI: A Primer For Decision Intelligence Solutioning With Python Akshay Kulkarni Ebook All Chapters PDF
Introduction To Prescriptive AI: A Primer For Decision Intelligence Solutioning With Python Akshay Kulkarni Ebook All Chapters PDF
com
https://ebookmass.com/product/introduction-to-
prescriptive-ai-a-primer-for-decision-
intelligence-solutioning-with-python-akshay-
kulkarni/
https://ebookmass.com/product/time-series-algorithms-recipes-
implement-machine-learning-and-deep-learning-techniques-with-
python-akshay-r-kulkarni/
https://ebookmass.com/product/applied-generative-ai-for-
beginners-practical-knowledge-on-diffusion-models-chatgpt-and-
other-llms-akshay-kulkarni/
https://ebookmass.com/product/applied-generative-ai-for-
beginners-practical-knowledge-on-diffusion-models-chatgpt-and-
other-llms-1st-edition-akshay-kulkarni/
https://ebookmass.com/product/introduction-to-responsible-ai-
implement-ethical-ai-using-python-1st-edition-manure/
Productionizing AI: How to Deliver AI B2B Solutions
with Cloud and Python 1st Edition Barry Walsh
https://ebookmass.com/product/productionizing-ai-how-to-deliver-
ai-b2b-solutions-with-cloud-and-python-1st-edition-barry-walsh/
https://ebookmass.com/product/productionizing-ai-how-to-deliver-
ai-b2b-solutions-with-cloud-and-python-1st-edition-barry-walsh-2/
https://ebookmass.com/product/python-for-artificial-intelligence-
a-comprehensive-guide-elsherif-h/
https://ebookmass.com/product/artificial-intelligence-
programming-with-python-from-zero-to-hero-1st-edition-perry-xiao/
https://ebookmass.com/product/decision-intelligence-for-
dummies-1st-edition-pam-baker/
Introduction to
Prescriptive AI
A Primer for Decision Intelligence
Solutioning with Python
—
Akshay Kulkarni
Adarsha Shivananda
Avinash Manure
Introduction to
Prescriptive AI
A Primer for Decision
Intelligence Solutioning
with Python
Akshay Kulkarni
Adarsha Shivananda
Avinash Manure
Introduction to Prescriptive AI: A Primer for Decision Intelligence
Solutioning with Python
Akshay Kulkarni Adarsha Shivananda
Bangalore, Karnataka, India Hosanagara, Karnataka, India
Avinash Manure
Bangalore, Karnataka, India
Acknowledgments�����������������������������������������������������������������������������xiii
Introduction����������������������������������������������������������������������������������������xv
v
Table of Contents
vi
Table of Contents
vii
Table of Contents
Index�������������������������������������������������������������������������������������������������189
viii
About the Authors
Akshay Kulkarni is an artificial intelligence
(AI) and machine learning (ML) evangelist
and a thought leader. As a consultant, he has
worked with several Fortune 500 and global
enterprises to drive AI and data science–led
strategic transformations. He is a Google
developer, an author, and a regular speaker
at major AI and data science conferences
(including the O’Reilly Strata Data & AI
Conference and Great International Developer
Summit [GIDS]). He is a visiting faculty member at some of the top
graduate institutes in India. In 2019, he was featured as one of India’s “top
40 under 40” data scientists. In his spare time, Akshay enjoys reading,
writing, coding, and helping aspiring data scientists.
ix
About the Authors
x
About the Technical Reviewer
Nitin Ranjan Sharma is a manager at Novartis.
He leads a team that develops products using
multimodal techniques. As a consultant,
he has developed solutions for Fortune 500
companies and has been involved in solving
complex business problems using machine
learning and deep learning frameworks.
His major focus area and core expertise is
computer vision, including solving challenging
business problems dealing with images and
video data. Before Novartis, he was part of the data science team at Publicis
Sapient, EY, and TekSystems Global Services. He is a regular speaker at
data science community meetups and an open-source contributor. He also
enjoys training and mentoring data science enthusiasts.
xi
Acknowledgments
We would like to thank our families who have always made sure we had
the right environment at home to concentrate on this book and complete
it on time. We would also like to thank the publishing team—Mark Powers
and Celestin Suresh John, and our technical reviewer, Nitin Sharma—who
helped us make sure this book was the best it could be. We would also
like to thank our mentors who made sure we grew professionally and
personally by always supporting us in our dreams and guiding us toward
achieving our goals. Last but not least, we thank our parents, our friends,
and our colleagues who were always there in tough times and motivated us
to chase our dreams.
xiii
Introduction
This book will introduce you to the concept of decision intelligence,
including its history and current and future trends. It will help you
evaluate different decision intelligence techniques and guide you on
how to them through different prescriptive AI methods and incorporate
them into business workflows through different domain-specific use case
implementations.
This book is for data scientists, AI/machine learning engineers, and
deep learning professionals who are working toward building advanced
intelligent AI/ML applications. This book is also for business professionals
and nontechnical stakeholders who want to understand how decision
intelligence can help a business grow.
This book will take you through the journey of decision-making
in companies with key milestones, key statistics, and benefits. It will
provide insights on where decision intelligence fits within the AI life
cycle. This book will provide insights on how to prepare for prescriptive
AI (a key requirement to decision intelligence) with the help of a business
requirement document. It will then deep dive into different decision
intelligence methodologies, their advantages, and their limitations. Next,
you will learn how to perform different simulations and interpret the
results from them. Then you will be guided on how to enable and embed
the decision intelligence process into the business workflow through
prescriptive AI. You will learn about different cognitive biases that humans
make and how that can be lowered/eliminated through the combination
of machine and human intelligence. Finally, you will find different cases
studies by domain through tailored use cases.
xv
Introduction
xvi
CHAPTER 1
Decision Intelligence
Overview
Prescriptive AI is a type of artificial intelligence that is designed to provide
recommendations, solutions, or actions to optimize or improve a specific
process or outcome. It is unlike descriptive AI, which describes “what”
has happened in the past/present; inferential/diagnostic AI, which
helps us understand “why” something has happened; and predictive AI,
which helps predict what might happen in the future. Once we have the
predictions, prescriptive AI focuses on what actions should be taken to
achieve a particular goal or outcome.
Prescriptive AI can be used in a variety of applications, such as in
healthcare to help doctors diagnose diseases and prescribe treatments, in
finance to make investment decisions, and in manufacturing to optimize
production processes. It typically uses machine learning algorithms
and other advanced technologies to analyze large datasets and generate
recommendations based on the data.
Overall, the goal of prescriptive AI is to help humans make better
decisions by providing them with accurate and actionable insights based
on data-driven analysis.
November 27th. Warm cabin all night. Snug and comfy. I turned out
5:30 and found everything white with frost. Kicked H. out after much
labor. Fear me he will never have any ambition. His circulation is like
that of the Boston Common. Heavy mist over all. The sun up a silver
ball and everything bright and sparkling like a Christmas Tree. Fine
breakfast with a new feature called Bologna a la Mascot. Here it is.
Beat eggs and add little English mustard. Dip thin slices of Bologna
and roll in cracker crumbs. Fry in drip fat. Serve on toast with sauce
made by adding cream to beaten egg. Try it. I invented it when
tending fire at 2 a.m. From companionway we can watch a great
bald head eagle on top of an old dead tree. He is a buster and his
white head glistens in the sun. Off by nine with the night mists rising
from the marshes and the dark pine coming into sight. Past Pungo
Ferry, a good name for a lonely spot. Then on into North Landing
River. The sun soon brightly warm and we were comfortable in shirt-
sleeves. A mighty sudden and pleasant change from early morning.
The whole scene was so charmingly beautiful that it was hard to
leave deck and go to cooking. Creamed oysters on toast paid,
however, for the trouble.
While H. was eating lunch, we came out into the upper reaches of
Currituck Sound. Through the glasses I made out some queer
looking white spots on the perfectly calm water and by gum! they
turned out to be a flock of more than one hundred swan. America’s
biggest game bird and the first we had ever seen. Sort of made my
insides creep just as it does to see a noted snow mountain for the
first time. We began to see ducks now, thousands of them, but all
pretty shy. Henry bagged a blue-nosed pig at the fourth shot with
Helen. No law on pigs. We triced him to the rigging and crew
returned to ordinary ship’s duties. Across head of Currituck and into
a little canal cut right through the piney woods. Afternoon was
getting on. The reflections of the pines reached from either bank
and down the middle lay a pathway of silver for our little boat. I
hope my two photos may bring the scene back to mind. I could think
only of that picture “The Isle of the Blessed” with its cypress trees.
So on and on until night threatened and we slowly felt our way into
a little creek near mouth of North River, and while H. was busy with
the launch, I tackled the dinner of roast pork, baked white and
sweet potatoes and applesauce. Thus ends another perfect cruising
day. Barometer tended up and we turned in with cloudy sky and
variable northerly airs. Didn’t like the looks much and if bound round
Cape Cod would have stayed at Vineyard Haven.
November 28th. Thanksgiving. Started prompt on time with smartish
breeze true N. E. Turned out at 3:30 and gave her more chain and
saw all right. Barometer on the roller coaster. By 5 things were doing
and by 6 it was blowing 60 miles and snowing hard. We were
perfectly protected up our little creek and luckily swung in enough
water to float us although the bank was precious close. H. a bit
nervous about drifting ashore at first, but soon got accustomed to
the sing of things. He thinks yachting with father is great, but
doesn’t care for the snow. Stove drew so hard it nearly took Scotty
right through the grate and we had to wrap the Gloucester head
with canvas to save the coal. Flapjacks for breakfast and coffee
strong enough to carry out the big anchor. Everything covered with
snow. The trunks of the pines at edge of forest all snow-white like
birches. H. thinks the warm cabin pretty good, but when I suggested
it was a fair wind and we might as well tie her down and get along,
he said he would take his chance in the launch and go live with the
Piney Woods people first. Afraid he has no heart for the game. Got
out my fiddle and H. his flute, and we had it back and forth to the
tune of “Eight Hands Around and Ladies Change.”
Lunched lightly in preparation of Thanksgiving feast to come.
Barometer turned up, thermometer turned down and wind hauled by
west with breaking cloud and a fearful scream of wind and flurry of
snow. I knew this storm would come, and I have been driving south
hard in consequence. Here it matters little for the cold doesn’t last
many days in succession and we are all ready for it. I am anxious
about our two boy friends in the little launch, for it was a tricky day
yesterday and might well have caught any man with a lee shore
aboard this morning. It was touch and go whether I crept in here or
anchored in the open.
Made a mince pie. It looked all right. Put on macaroni to boil and
then muffled all up in oilers and mitties and went up the little creek
in the launch for a breath of air and to get a picture of the piney
woods with tree trunks white with snow. Found a little gill net across
the stream and in it a hell-diver all but strangled. Cut him loose and
let him go. When we got back to Mascot we found a nice pickerel in
the bottom of the boat. Must have jumped in upstream. Macaroni all
but boiled out. Just saved it. Fixed it up with cracker crumbs and
cheese. Roasted a fine, big chicken. Baked sweet and white
potatoes. Had delicious raw oysters in cocktail sauce and while night
shut in still, cold and clear, we muzzled into it all and didn’t forget
absent friends, although I did forget a pint of “champagne wasser”
which I had meant to get at Norfolk. Everything iced down on deck
as we turned in. Wouldn’t be much surprised to find ourselves
pinched by the morning. Hopes not.
Friday, November 29th. Comes clear as a bell and mighty cold.
Henry showed mighty little enthusiasm about bailing launch. Boat
pretty well iced up, and 100 yds. up creek was my good old enemy,
new ice. Away by nine with dead calm and launch tucked astern.
The sun got up and such a change. Off mitties and mufflers, coats
and even jackets. With eyes shut you might picture yourself on a
hillside back of Mentone. Out of the North River and out into
Albemarle Sound so dazzling bright in that southern sun. Swans,
swans, lots of them, and to see them made my stomach crinkly
again. Very few ducks, and Helen Keller could add nothing to the
larder. Don’t need anything. Never saw so many things to eat on a
little boat before. For lunch there was cold roast chicken and pork,
oyster cocktails, applesauce flicked up with raisins, mince pie and
cranberry sauce. Can you beat it? Something must be done or we
won’t have any hardships to boast of. They may come. There’s lots
of time. I looked at Henry’s log yesterday and found the following:
“Heavy north east gale with driving snow and awful cold. Father
crazy and playing the fiddle.” Now what do you make of that after all
I’ve done for him? Across Albemarle Sound with power helped out
by sail and light westerly airs. Just before reaching the water to
westward of Roanoke Is. we spied a familiar-looking little launch
astern and it turned out to be our old friends, husband and wife, still
pegging away on the hunt to Florida. Then the breeze drew right out
south and chopped up water so that we had to put launch in tow.
While beating slowly along we sighted another little launch and were
soon passed by Querida II and two boy friends from Norfolk. All this
meeting and passing of boats bound on same quest adds much to
the interest. Not such good fun today to see the little wretches work
up to harbor 6 miles away right in the wind’s eye and leave us slip-
slopping about. Sun was nearly set when wind and sea dropped and
we again started launch and headed for the harbor, too. This harbor,
Roanoke Marshes, is a little creek in back of Roanoke Light and the
creek makes into the marshes. Night fell quickly and we were soon
cruising along a low, black shore line without sign of light to guide
us. No more use than nothing, so after running into numerous fish
traps we over yank and called it enough. Our gasoline is running
mighty low for we have had no wind since leaving Norfolk. More
than 100 miles from here to Beaufort and few if any places to get
any. Gosh! but it is an awful long ways to anywhere in these parts.
The water is as muddy as pea soup, and looks like it. When the lead
gives you 12 ft. you know you are in the channel.
November 30th. Last night came cold, and that boy Henry shut the
cabin up tight and I woke about midnight gasping. Morning came
and found us 200 yds. from mouth of creek, but it was a blind little
hole even by daylight. Everywhere around us were fish traps. A
forest of poles and nets. Don’t see how we missed getting bungled
up. H. ran into the creek in search of gasoline and kerosene, but
returned with word that everybody was shorter than we were and
envied us our sail power. Old Mascot seems like a great unwieldy
ship in these thin waters and light airs. Off by 9 and picked our way
among the fish traps to Stumpy Point Bay about 10 miles where it
was reported there was gasoline. We are at anchor there now as I
write. We touched the high spots all right coming in, but why not
with 3 ft. of water. The beautiful warm sun is flooding the cabin and
did it not happen each day we couldn’t believe that we would shiver
with cold by 6 p.m. Stumpy Point Village looks interesting and
consists of a few shanties lining the desolate shore of a little bay
about a mile wide. What for the village? I don’t know. We will find
out and I think loaf out the day after eating boiled striped bass fresh
from a net this morning. Anchor hardly over in 4 ft. of water when
we were boarded by W. A. Best, typical southerner of the coast. He
wanted magazines and we were sorry to find ourselves without a
one. Pitiful, this cry for reading. We are 60 miles from nearest
railroad. Hospitable no name for it. Wouldn’t we go ashore and stay
at his house? He would see that everything that Stumpy Point had
was ours and the more he talked, the greater the attractions
seemed. Ducks and geese everywhere. Deer and bear in the woods.
We must go after grey squirrels in the afternoon with him. This we
did and never saw a squirrel, but we did see virgin forest of cypress,
gum and maple, a magnificent sight soon to be seen hereaway no
more. Best took us to his house, a little shanty like the rest of those
in Stumpy Point. He showed us into the parlor and there on the floor,
with an old quilt under her, lay his wife. She never moved as we
entered and at first I thought she was a deader. Best explained
casually that she had a fever and cold and headache and had been
ailing for several days. Three little boys were playing in the room
and an air-tight stove was making merry. For true misery you
couldn’t beat it much. All Stumpy Point knows we are here and this
evening it was hard to get away from the grocery store where the
village had collected to see and hear us. We were most cordially
invited to attend divine services to-morrow, and I think we will do it.
The whole little village depends upon about 3 months’ shad fishing
in the spring and for the rest of the year just exists. Mail comes and
goes twice a week by steamer when the steamer comes. The water
in the sound, for we are now in Pamlico, goes in and out according
to the direction of wind and just now it seems to be going out, for
to-night we are aground and we may be here several days to come.
We like Stumpy Point and are quite happy, but how to refuse the
hospitality offered and not offend, that’s the difficulty. The dish of
cold, fat pork and potatoes that we had to sit down to at Best’s this
afternoon makes me shudder now. Night comes with glass jumping
to 30.4 and an ugly looking mist hanging to the southward.
Symptoms like those before the gale of a few days since. Hopes not.