{"appState":{"pageLoadApiCallsStatus":true},"categoryState":{"relatedCategories":{"headers":{"timestamp":"2025-06-04T08:01:04+00:00"},"categoryId":33572,"data":{"title":"Information Technology","slug":"information-technology","image":{"src":null,"width":0,"height":0},"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Information Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33572"},"slug":"information-technology","categoryId":33572}],"parentCategory":{"categoryId":33512,"title":"Technology","slug":"technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"}},"childCategories":[{"categoryId":33574,"title":"AI","slug":"ai","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33574"},"image":{"src":"/img/background-image-2.fabfbd5c.png","width":0,"height":0},"hasArticle":true,"hasBook":true,"articleCount":158,"bookCount":11},{"categoryId":33577,"title":"Data Science","slug":"data-science","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33577"},"image":{"src":"/img/background-image-1.daf74cf0.png","width":0,"height":0},"hasArticle":true,"hasBook":true,"articleCount":369,"bookCount":26},{"categoryId":33581,"title":"Networking","slug":"networking","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33581"},"image":{"src":"/img/background-image-2.fabfbd5c.png","width":0,"height":0},"hasArticle":true,"hasBook":true,"articleCount":266,"bookCount":23},{"categoryId":33586,"title":"General Information Technology","slug":"general-information-technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33586"},"image":{"src":"/img/background-image-1.daf74cf0.png","width":0,"height":0},"hasArticle":true,"hasBook":true,"articleCount":22,"bookCount":10}],"description":"These days, information technology (aka IT) is everybody's business. Check out these articles on some of the coolest new tech making the rounds today.","relatedArticles":{"self":"https://dummies-api.dummies.com/v2/articles?category=33572&offset=0&size=5"},"hasArticle":true,"hasBook":true,"articleCount":816,"bookCount":70},"_links":{"self":"https://dummies-api.dummies.com/v2/categories/33572"}},"relatedCategoriesLoadedStatus":"success"},"listState":{"list":{"count":10,"total":819,"items":[{"headers":{"creationTime":"2016-03-27T16:47:09+00:00","modifiedTime":"2025-05-22T20:38:31+00:00","timestamp":"2025-05-22T21:01:09+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Information Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33572"},"slug":"information-technology","categoryId":33572},{"name":"Data Science","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33577"},"slug":"data-science","categoryId":33577},{"name":"General Data Science","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33580"},"slug":"general-data-science","categoryId":33580}],"title":"SAS For Dummies Cheat Sheet","strippedTitle":"sas for dummies cheat sheet","slug":"sas-for-dummies-cheat-sheet","canonicalUrl":"","seo":{"metaDescription":"Unlock the power of SAS with our Cheat Sheet! Discover essential tips and shorthand techniques to accelerate your learning and boost your programming skills.","noIndex":0,"noFollow":0},"content":"The field of SAS and SAS programming has evolved over nearly 50 years, leading to the development of various shorthand techniques. These techniques may not be immediately apparent to new SAS users, but they become clear with learning and practice. Use the tips here to get a head-start and accelerate your initiation to SAS.","description":"The field of SAS and SAS programming has evolved over nearly 50 years, leading to the development of various shorthand techniques. These techniques may not be immediately apparent to new SAS users, but they become clear with learning and practice. Use the tips here to get a head-start and accelerate your initiation to SAS.","blurb":"","authors":[{"authorId":9191,"name":"Chris Hemedinger","slug":"chris-hemedinger","description":" <p><b>Stephen McDaniel</b> is Principal and cofounder of Freakalytics LLC, which provides training and consulting for data presentation, visual data exploration, and dashboard development.</p> <p><b>Chris Hemedinger</b> works in SAS R&D on the team that builds SAS Enterprise Guide, a popular user interface for SAS customers.</p>","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9191"}}],"primaryCategoryTaxonomy":{"categoryId":33580,"title":"General Data Science","slug":"general-data-science","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33580"}},"secondaryCategoryTaxonomy":{"categoryId":33579,"title":"Databases","slug":"databases","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33579"}},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":207792,"title":"Reading Financial Reports For Dummies Cheat Sheet","slug":"reading-financial-reports-for-dummies-cheat-sheet","categoryList":["business-careers-money","business","accounting","calculation-analysis"],"_links":{"self":"/articles/207792"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}}],"inThisArticle":[],"relatedArticles":{"fromBook":[{"articleId":193380,"title":"Selecting the Correct SAS Product","slug":"selecting-the-correct-sas-product","categoryList":["technology","information-technology","data-science","databases"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/193380"}},{"articleId":143291,"title":"SAS Procedures and Their Location in SAS Enterprise Guide","slug":"sas-procedures-and-their-location-in-sas-enterprise-guide","categoryList":["technology","information-technology","data-science","databases"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/143291"}}],"fromCategory":[{"articleId":301769,"title":"Data Analytics & Visualization All-in-One Cheat Sheet","slug":"data-analytics-visualization-all-in-one-cheat-sheet","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/301769"}},{"articleId":289776,"title":"Decision Intelligence For Dummies Cheat Sheet","slug":"decision-intelligence-for-dummies-cheat-sheet","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/289776"}},{"articleId":289744,"title":"Microsoft Power BI For Dummies Cheat Sheet","slug":"microsoft-power-bi-for-dummies-cheat-sheet","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/289744"}},{"articleId":275249,"title":"Laws and Regulations You Should Know for Blockchain Data Analysis Projects","slug":"laws-and-regulations-you-should-know-for-blockchain-data-analysis-projects","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/275249"}},{"articleId":275244,"title":"Aligning Blockchain Data with Real-World Business Processes","slug":"aligning-blockchain-data-with-real-world-business-processes","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/275244"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":281857,"slug":"sas-for-dummies","isbn":"9781394317394","categoryList":["technology","information-technology","data-science","general-data-science"],"amazon":{"default":"https://www.amazon.com/gp/product/1394317395/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1394317395/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1394317395-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1394317395/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1394317395/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/sas-for-dummies-3e-9781394317394-203x255.jpg","width":203,"height":255},"title":"SAS For Dummies","testBankPinActivationLink":"","bookOutOfPrint":true,"authorsInfo":"<p><b><b data-author-id=\"9190\">Stephen McDaniel</b></b> is Principal and cofounder of Freakalytics LLC, which provides training and consulting for data presentation, visual data exploration, and dashboard development.</p> <p><b>Chris Hemedinger</b> works in SAS R&D on the team that builds SAS Enterprise Guide, a popular user interface for SAS customers.</p> <p><b>Stephen McDaniel</b> is Principal and cofounder of Freakalytics LLC, which provides training and consulting for data presentation, visual data exploration, and dashboard development.</p> <p><b><b data-author-id=\"9191\">Chris Hemedinger</b></b> works in SAS R&D on the team that builds SAS Enterprise Guide, a popular user interface for SAS customers.</p>","authors":[{"authorId":9190,"name":"Stephen McDaniel","slug":"stephen-mcdaniel","description":" <p><b>Stephen McDaniel</b> is Principal and cofounder of Freakalytics LLC, which provides training and consulting for data presentation, visual data exploration, and dashboard development.</p> <p><b>Chris Hemedinger</b> works in SAS R&D on the team that builds SAS Enterprise Guide, a popular user interface for SAS customers.</p>","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9190"}},{"authorId":9191,"name":"Chris Hemedinger","slug":"chris-hemedinger","description":" <p><b>Stephen McDaniel</b> is Principal and cofounder of Freakalytics LLC, which provides training and consulting for data presentation, visual data exploration, and dashboard development.</p> <p><b>Chris Hemedinger</b> works in SAS R&D on the team that builds SAS Enterprise Guide, a popular user interface for SAS customers.</p>","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9191"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;data-science&quot;,&quot;general-data-science&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781394317394&quot;]}]\" id=\"du-slot-682f90960bedd\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;data-science&quot;,&quot;general-data-science&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781394317394&quot;]}]\" id=\"du-slot-682f90960d077\"></div></div>"},"articleType":{"articleType":"Cheat Sheet","articleList":[{"articleId":193380,"title":"Selecting the Correct SAS Product","slug":"selecting-the-correct-sas-product","categoryList":["technology","information-technology","data-science","databases"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/193380"}},{"articleId":143291,"title":"SAS Procedures and Their Location in SAS Enterprise Guide","slug":"sas-procedures-and-their-location-in-sas-enterprise-guide","categoryList":["technology","information-technology","data-science","databases"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/143291"}}],"content":[{"title":"5 important things to know about the SAS programming language","thumb":null,"image":null,"content":"<ol>\n<li><strong> SAS isn’t just a programming language.</strong>\n<p> \tSAS is a set of capabilities. Unlike many other programming languages, SAS has built-in procedures and functions that are designed to work with data and statistics. Other languages, like Python or Java, require additional code libraries and packages to add the capabilities you want. With SAS, it’s all there; you just need to know where to look.</li>\n<li><strong> SAS is a 4GL.</strong>\n<p> \tThe SAS programming language is known as a fourth-generation language, which means that it provides a higher level of abstraction than functional or object-oriented languages like C or Java. The built-in statements and procedures reduce the number of lines of code and logic you need to create to accomplish your tasks.</li>\n<li><strong> SAS DATA step runs in two phases: compile time and run time.</strong>\n<p> \tDuring compile time, SAS performs a syntax check, converts the code to machine language for fast execution, determines data types and lengths, and creates the program data vector (PDV). During execution time, SAS reads and processes data, performs calculations, and evaluates conditional logic and then writes any output data or files. Knowing how these two phases work can help you write and debug effective SAS programs.</li>\n<li><strong> SAS macro statements are processed and resolved first.</strong>\n<p> \tYou can think of the SAS macro language as a text generator: It’s code that can generate — in a few lines of logic and loops — much more code that will then compile and run during the execution phase. It’s powerful and perilous at the same time. That’s why it’s best to get your core code working first and then add in any SAS macro logic you want for conditions and loops.</li>\n<li><strong> There are multiple ways to do almost anything in SAS.</strong>\n<p> \tAs a programming language, SAS is over 50 years old, and the SAS syntax from decades ago still works today. But for most jobs, there are also new and better ways to accomplish that work. Be sure to explore the newer methods before settling into a technique you copied from a SAS conference paper from 1995.</li>\n</ol>\n"},{"title":"5 essential SAS programming techniques","thumb":null,"image":null,"content":"<ol>\n<li><strong> Convert a character value to a numeric value in DATA step.</strong>\n<p> \tThis is the most common early task for new SAS users. Your data may have character values that look like numbers but are not represented as truly numeric, so you cannot use them in computations.  To convert them, simply use the <code>input</code> statement to read and interpret the value with a SAS informat, which indicates how SAS should read it:</p>\n<pre>data convert;\r\n length numvar 8;\r\n numvar = input(\"$100.99\",dollar6.2);\r\nrun;</pre>\n<p>In this example, the <code>dollar6.2</code> informat tells SAS how to interpret the value (six places in total, with two decimal places and room for the currency symbol).</li>\n<li><strong> Convert a character value to a date value.</strong>\n<p> \tThis is just a tricky special case of the first tip because, in SAS, a date value <em>is</em> a number. To convert to a date, you apply a date informat in the <code>input</code> statement:</p>\n<pre>data convert;\r\n length dateval 8;\r\n dateval = input(\"10JAN2025\",date9.);\r\nrun;</pre>\n</li>\n<li><strong> Calculate a new date value relative to a given date.</strong>\n<p> \tWhen the date value is a number, you can use the <code>intnx</code> and <code>intck</code> functions to perform “date math.” For example, this program computes a new date that is 60 days from a start date and then computes how many Mondays occur during that interval:</p>\n<pre>data convert;\r\n length datevar 8 nextdate 8;\r\n format datevar date9. nextdate date9.;\r\n datevar = '01JAN2025'd;\r\n nextdate = intnx('day',datevar,60);\r\n mondays = intck('week1.1',datevar,nextdate);\r\nrun;</pre>\n</li>\n<li><strong> Generate a random number.</strong>\n<p> \tThe <code>rand</code> function is a one-stop shop for generating random numbers with any distribution or range. For example, to generate a random number between 1 and 100, use:</p>\n<pre>x = rand('integer',1,100);</pre>\n</li>\n<li><strong> Execute a SAS function outside of a DATA step.</strong>\n<p> \tSAS functions are commonly used to calculate and transform values in a DATA step. You can use the <code>%sysfunc</code> macro function to invoke a SAS function anywhere in open code.  For example, to show the current time in a <code>title</code> statement, use something like this:</p>\n<pre>title \"Result generated at %sysfunc(time(),timeampm.)\";</pre>\n<p>The <code>%sysfunc</code> function also lets you apply a SAS format to the result (<code>timeampm</code>, in this example).</li>\n</ol>\n"},{"title":"Handy utility procedures in SAS","thumb":null,"image":null,"content":"<p>Though SAS has dozens of analytical and reporting procedures that get all the glory, don’t forget the essential utility procedures that help set you up for success and manage your SAS session:</p>\n<ol>\n<li><code>proc datasets</code>This procedure can describe the contents of your SAS libraries and datasets, copy data members from one library to another, modify data attributes such as variable names and formats, and much more. Though you can use <code>proc copy</code> and <code>proc contents</code> for some of these tasks, the <code>proc</code> <code>datasets</code> procedure does it all.</li>\n<li><code>proc delete</code>This procedure efficiently deletes a SAS data set you no longer need. Use it to clean up your SAS session or to recover space in your environment.</li>\n<li><code>proc options</code>This procedure lists all the current values of your SAS system options. SAS option settings can affect how your programs run, so <code>proc options</code> is essential for understanding SAS session behavior.</li>\n<li><code>proc format</code>Though SAS offers hundreds of useful SAS formats and informats to help you control how SAS reads and displays your data, sometimes you need something customized. Use the <code>format</code> procedure to create user-defined formats for your SAS tasks.</li>\n<li><code>proc sort</code>Need your data records to be in a certain order or grouped into categories? The <code>proc sort</code> procedure can sort your records in ascending or descending order, by as many variables as you want. Some SAS procedures and BY-group processing assumes that data is in a sorted order. But use caution: Sorting data is an expensive I/O operation and can take a long time and use a lot of temporary “scratch” space as it runs.</li>\n</ol>\n<p>Learn more about these procedures, and all the SAS syntax referenced in this Cheat Sheet, by visiting <a href=\"https://documentation.sas.com\" target=\"_blank\" rel=\"noopener\">https://documentation.sas.com</a>.</p>\n"}],"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Advance","lifeExpectancy":"One year","lifeExpectancySetFrom":"2025-04-14T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":207503},{"headers":{"creationTime":"2016-03-27T16:55:49+00:00","modifiedTime":"2025-05-12T17:45:02+00:00","timestamp":"2025-05-12T18:01:06+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Information Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33572"},"slug":"information-technology","categoryId":33572},{"name":"General Information Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33586"},"slug":"general-information-technology","categoryId":33586}],"title":"GIS For Dummies Cheat Sheet","strippedTitle":"gis for dummies cheat sheet","slug":"gis-for-dummies-cheat-sheet","canonicalUrl":"","seo":{"metaDescription":"Discover the essentials of GIS with our Cheat Sheet! Learn about mapping, data analysis, raster functions, and key concepts like scales and projections.","noIndex":0,"noFollow":0},"content":"A geographic information system (GIS) is a software for making maps, analyzing data, and more. This cheat sheet tells you about what you can do with GIS, provides a handy guide to raster-based functions, gives you some key ideas to keep in mind about maps (relating to scales, projections, and datums), and the X, Y, and Z of GIS.","description":"A geographic information system (GIS) is a software for making maps, analyzing data, and more. This cheat sheet tells you about what you can do with GIS, provides a handy guide to raster-based functions, gives you some key ideas to keep in mind about maps (relating to scales, projections, and datums), and the X, Y, and Z of GIS.","blurb":"","authors":[{"authorId":35579,"name":"Jami Dennis","slug":"jami-dennis","description":" <p><b>Michael N. DeMers</b> is a Professor of Geography with more than 25 years of GIS experience. He is also CEO of DeMers Geographics, a provider of educational resources for GIS students and educators. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/35579"}},{"authorId":10308,"name":"Michael N. DeMers","slug":"michael-n-demers","description":" <p><b>Michael N. DeMers</b> is a Professor of Geography with more than 25 years of GIS experience. He is also CEO of DeMers Geographics, a provider of educational resources for GIS students and educators. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/10308"}}],"primaryCategoryTaxonomy":{"categoryId":33586,"title":"General Information Technology","slug":"general-information-technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33586"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":207792,"title":"Reading Financial Reports For Dummies Cheat Sheet","slug":"reading-financial-reports-for-dummies-cheat-sheet","categoryList":["business-careers-money","business","accounting","calculation-analysis"],"_links":{"self":"/articles/207792"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}}],"inThisArticle":[],"relatedArticles":{"fromBook":[{"articleId":191689,"title":"Types of GIS Output","slug":"types-of-gis-output","categoryList":["technology","information-technology","general-information-technology"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/191689"}},{"articleId":191690,"title":"GIS Map Characteristics to Keep in Mind","slug":"gis-map-characteristics-to-keep-in-mind","categoryList":["technology","information-technology","general-information-technology"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/191690"}},{"articleId":191682,"title":"What You Can Do with GIS","slug":"what-you-can-do-with-gis","categoryList":["technology","information-technology","general-information-technology"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/191682"}},{"articleId":191680,"title":"Grid-Based GIS Map Functions","slug":"grid-based-gis-map-functions","categoryList":["technology","information-technology","general-information-technology"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/191680"}}],"fromCategory":[{"articleId":209200,"title":"Bioinformatics For Dummies Cheat Sheet","slug":"bioinformatics-for-dummies-cheat-sheet","categoryList":["technology","information-technology","general-information-technology"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/209200"}},{"articleId":209148,"title":"Virtualization For Dummies Cheat Sheet","slug":"virtualization-for-dummies-cheat-sheet","categoryList":["technology","information-technology","general-information-technology"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/209148"}},{"articleId":208850,"title":"IT Architecture For Dummies Cheat Sheet","slug":"it-architecture-for-dummies-cheat-sheet","categoryList":["technology","information-technology","general-information-technology"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/208850"}},{"articleId":193608,"title":"Bioinformatics Data Formats","slug":"bioinformatics-data-formats","categoryList":["technology","information-technology","general-information-technology"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/193608"}},{"articleId":193606,"title":"Bioinformatics Web Sites for Analyzing DNA/RNA Sequences","slug":"bioinformatics-web-sites-for-analyzing-dnarna-sequences","categoryList":["technology","information-technology","general-information-technology"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/193606"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":281729,"slug":"gis-for-dummies","isbn":"9781394318353","categoryList":["technology","information-technology","general-information-technology"],"amazon":{"default":"https://www.amazon.com/gp/product/1394318359/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1394318359/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1394318359-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1394318359/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1394318359/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/gis-for-dummies-cover-9781394318353-203x255.jpg","width":203,"height":255},"title":"GIS For Dummies","testBankPinActivationLink":"","bookOutOfPrint":true,"authorsInfo":"<p><p><b><b data-author-id=\"10308\">Michael N. DeMers</b></b> is a Professor of Geography with more than 25 years of GIS experience. He is also CEO of DeMers Geographics, a provider of educational resources for GIS students and educators. <p><b>Michael N. DeMers</b> is a Professor of Geography with more than 25 years of GIS experience. He is also CEO of DeMers Geographics, a provider of educational resources for GIS students and educators.</p>","authors":[{"authorId":10308,"name":"Michael N. DeMers","slug":"michael-n-demers","description":" <p><b>Michael N. DeMers</b> is a Professor of Geography with more than 25 years of GIS experience. He is also CEO of DeMers Geographics, a provider of educational resources for GIS students and educators. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/10308"}},{"authorId":35579,"name":"Jami Dennis","slug":"jami-dennis","description":" <p><b>Michael N. DeMers</b> is a Professor of Geography with more than 25 years of GIS experience. He is also CEO of DeMers Geographics, a provider of educational resources for GIS students and educators. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/35579"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;general-information-technology&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781394318353&quot;]}]\" id=\"du-slot-6822376268d1c\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;general-information-technology&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781394318353&quot;]}]\" id=\"du-slot-68223762697b9\"></div></div>"},"articleType":{"articleType":"Cheat Sheet","articleList":[{"articleId":191682,"title":"What You Can Do with GIS","slug":"what-you-can-do-with-gis","categoryList":["technology","information-technology","general-information-technology"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/191682"}},{"articleId":191680,"title":"Grid-Based GIS Map Functions","slug":"grid-based-gis-map-functions","categoryList":["technology","information-technology","general-information-technology"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/191680"}},{"articleId":191690,"title":"GIS Map Characteristics to Keep in Mind","slug":"gis-map-characteristics-to-keep-in-mind","categoryList":["technology","information-technology","general-information-technology"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/191690"}},{"articleId":191689,"title":"Types of GIS Output","slug":"types-of-gis-output","categoryList":["technology","information-technology","general-information-technology"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/191689"}}],"content":[{"title":"What you can do with the GIS","thumb":null,"image":null,"content":"<p>To get the most out of GIS, you need the combined power of its five main parts:</p>\n<ul>\n<li><strong>Hardware:</strong> The devices that power GIS, from laptops to desktops to printers and everything in between.</li>\n<li><strong>Software:</strong> The apps that provide the tools and functionality to store, analyze, and display geospatial data.</li>\n<li><strong>Data:</strong> The essential ingredient, without it you have nothing to analyze or map!</li>\n<li><strong>Methods:</strong> The plans, processes, and workflows for turning raw data into meaningful insights.</li>\n<li><strong>People:</strong> GIS requires people to manage, develop, maintain, and apply it.</li>\n</ul>\n<p>With GIS, you can perform all sorts of both fun and valuable geography-related tasks such as find the best place to locate your business, map the fastest route to your favorite pizza joint, or predict where wildfires may spread. But GIS can do so much more! Here’s a sampling of other ways GIS helps you make sense of the world around you:</p>\n<ul>\n<li><strong>Find places on a map.</strong> Search a GIS database to locate features by their name, their size, or their location in relation to other geographic features.</li>\n<li><strong>Measure distances and areas.</strong> GIS can measure lengths, widths, areas, and even volumes — handy when you need to know how long a road is or the size of a park.</li>\n<li><strong>Analyze patterns.</strong> See how geographic features are distributed. For instance, how spread out they are, how close they are to each other, and how they relate to other features.</li>\n<li><strong>Summarize data. </strong>Crunch numbers on geographic features, from simple stats (like averages and medians) to complex spatial statistics.</li>\n<li><strong>Work with networks.</strong> Find the best routes based on time, distance, or other factors. Plan bus routes, optimize delivery paths, or figure out where to open a store to reach the most people.</li>\n<li><strong>Compare map layers. </strong>Stack different layers (like roads, population, or land use) to see how they interact. Stacking layers helps you spot relationships and make better decisions.</li>\n<li><strong>Analyze surfaces.</strong> Work with elevation, temperature, and other surface data. Use interpolation and other tools to find missing values and uncover patterns.</li>\n</ul>\n"},{"title":"Raster-based GIS map functions","thumb":null,"image":null,"content":"<p>If your GIS (geographic information system) works with raster data, you have access to some powerful, algebra-based functions. The following table shows the types of raster functions, where they apply, and what you can do with each:</p>\n<table>\n<tbody>\n<tr>\n<th>Function Type</th>\n<th>Where It Works</th>\n<th>What It Does</th>\n</tr>\n<tr>\n<td>Local</td>\n<td>On individual grid cells</td>\n<td>Changes cell values based on user input or values from other layers</td>\n</tr>\n<tr>\n<td>Focal</td>\n<td>On a grid cell and its neighbors</td>\n<td>Calculates values (like an average) based on surrounding cells</td>\n</tr>\n<tr>\n<td>Zonal</td>\n<td>On grid cells grouped into defined zones</td>\n<td>Analyzes and summarizes data for specific regions, even if they aren’t connected</td>\n</tr>\n<tr>\n<td>Block</td>\n<td>On groups of adjacent grid cells (square blocks)</td>\n<td>Returns a single value for each block (for example, a 4-x-4 block of cells</td>\n</tr>\n<tr>\n<td>Global</td>\n<td>On the entire grid</td>\n<td>Identifies large-scale patterns and highlights hard-to-find features</td>\n</tr>\n<tr>\n<td>Specialty</td>\n<td>On specified grid cells</td>\n<td>Performs advanced statistical analysis or models moving surfaces (like water or pollution)</td>\n</tr>\n</tbody>\n</table>\n"},{"title":"Key facts to understand about GIS maps","thumb":null,"image":null,"content":"<p>GIS (geographic information system) is a handy and powerful tool for mapping and analysis, but what you see on the screen doesn’t always match reality. Maps simplify, generalize, and often distort features to make them easier to work with. As you use GIS, keep these key facts in mind:</p>\n<table>\n<tbody>\n<tr>\n<th>Map Characteristic</th>\n<th>What It Means</th>\n</tr>\n<tr>\n<td>Maps are models, not miniatures.</td>\n<td>Maps simplify real-world features using symbols so that everything fits at the scale you’re working with. They’re not exact replicas.</td>\n</tr>\n<tr>\n<td>Map scale has a huge impact on GIS analysis.</td>\n<td>Small-scale maps cover large areas with little detail, whereas large-scale maps cover small areas with lots of detail. Understanding scale helps you interpret maps and geospatial data correctly.</td>\n</tr>\n<tr>\n<td>Maps flatten our spherical earth.</td>\n<td>Because Earth is a lumpy sphere, GIS uses projections to display it on a flat map. Every projection distorts shape, size (area), distance, or direction in some way; we have no way around that fact.</td>\n</tr>\n<tr>\n<td>Maps have a reference grid, or coordinate system.</td>\n<td>The reference grid (such as latitude and longitude or UTM) helps you locate places accurately and links the map with the real world.</td>\n</tr>\n<tr>\n<td>Maps have a reference starting point, or datum.</td>\n<td>A datum is a model of the Earth’s shape (what geodesists call a <em>reference ellipsoid</em>) that provides a baseline for accurate positioning and ensures that different projections align correctly.</td>\n</tr>\n</tbody>\n</table>\n<h3>Types of GIS Output</h3>\n<p>GIS is about maps, but that’s just the beginning. GIS can generate a variety of other outputs that help you analyze, visualize, and present geographic data. Here are some of the main types:</p>\n<ul>\n<li><strong>Maps (of course): </strong>Everyone recognizes the most common GIS output.</li>\n<li><strong>Cartograms: </strong>These are special maps that resize or distort geographic features based on values rather than actual geography. (A subway map is a great example.)</li>\n<li><strong>Charts: </strong>GIS can produce pie charts, bar charts, line graphs, and even pictures in addition to maps.</li>\n<li><strong>Directions: </strong>GIS can provide step-by-step navigation for getting from point A to point B.</li>\n<li><strong>Customer lists:</strong> Business GIS applications often create customer mailing lists, reports, and targeted marketing tools.</li>\n<li><strong>3D diagrams and animations: </strong>These elements bring GIS data to life, helping you to see the results of your work realistically and dramatically.</li>\n</ul>\n<h3>Bonus: Measuring the Earth</h3>\n<p>Because practically every GIS professional has a sticky note near their workstation with this reminder, here are the X, Y, and Z of GIS:</p>\n<ul>\n<li>X = Longitude (East-West position)</li>\n<li>Y = Latitude (North-South position)</li>\n<li>Z = Altitude, elevation, depth, or other vertical measurements</li>\n</ul>\n"}],"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Explore","lifeExpectancy":"Two years","lifeExpectancySetFrom":"2025-05-05T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":208915},{"headers":{"creationTime":"2025-02-20T21:11:45+00:00","modifiedTime":"2025-02-20T21:11:45+00:00","timestamp":"2025-02-21T00:01:07+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Information Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33572"},"slug":"information-technology","categoryId":33572},{"name":"AI","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33574"},"slug":"ai","categoryId":33574},{"name":"Generative AI","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33576"},"slug":"general-ai","categoryId":33576}],"title":"The Benefits of a Unified Data Management Approach","strippedTitle":"the benefits of a unified data management approach","slug":"the-benefits-of-a-unified-data-management-approach","canonicalUrl":"","seo":{"metaDescription":"Discover how a unified data management approach enhances AI deployment, ensuring data is well-managed, secure, and ready for effective model training.","noIndex":0,"noFollow":0},"content":"Artificial intelligence (AI) offers a lot of promise to companies, but deploying AI can be complex with many considerations and pitfalls. Data is the necessary asset to make AI work, and your organization is probably swimming in it.\r\n\r\nBut how well-managed is your data? The answer hinges on whether your company will be successful in its AI efforts.\r\n\r\nData management is the behind-the scenes workhorse that makes AI work. A robust management program allows data to be ingested from everywhere it needs to be, cleaned and transformed to enable AI model training, made easily available to users, and meticulously governed to ensure security, privacy, and compliance.\r\n\r\nIn this article, we’ll explore several ways a data management platform can help with your AI efforts.\r\n<p class=\"article-tips tip\">Although these applications may differ, effective data management is always the necessary first step on which these solutions are built.</p>\r\n\r\n<h2 id=\"tab1\" >Proprietary AI</h2>\r\nAs your business scales, the number of receipts, invoices, contracts, and other printed documents scale, too. And when all those documents aren’t digitized, think of the number of hours it will take an employee to catalog it.\r\n\r\nIt’s possible to use AI to automate this process. A proprietary engine scans and processes documents, extracts meaning from them, and outputs the data in a format that’s handy for reports, dashboards, and business intelligence apps.\r\n\r\nSome benefits of using proprietary AI to scan and process documents are:\r\n<ul>\r\n \t<li>It can translate multiple languages. A large language model (LLM) can be trained to make sense of any specific document formats that your company may have.</li>\r\n \t<li>Accurate data helps with decision-making. Data can be extracted from third-party platforms, enrich it, validate it, and output it to dashboards accessible throughout the company.</li>\r\n \t<li>Identify issues with customers earlier. Algorithms aggregate and analyze user data, spotlighting any issues with customers early on to prevent customer churn. Or to spotlight when a loyal customer is ready to grow with your company.</li>\r\n</ul>\r\n<h2 id=\"tab2\" >Retrieval augmented generation</h2>\r\nThings that work well in a controlled environment with a carefully curated data sample don’t always work in a real-world environment. One such situation is with retrieval augmented generation (RAG), the engine that LLMs rely on to give accurate facts. But if RAG is relying on legacy data that wasn’t prepared adequately, your AI solution is going to underperform.\r\n\r\nA data management program makes sure the basic, but vitally important, tasks are covered — data is cleaned, engineered, structured, and complete. Some tasks it can do are:\r\n<ul>\r\n \t<li>Implement meta-intent branching for handling different types of queries.</li>\r\n \t<li>Develop verified quotes and see-it-in-source features for transparency.</li>\r\n \t<li>Monitor and balance token consumption.</li>\r\n \t<li>Improve data quality through semantic data scrubbing.</li>\r\n</ul>\r\n<h2 id=\"tab3\" >Research and development</h2>\r\nTraditional research and development methods can be time consuming and expensive. Applying AI to the process can help reduce the cost and release products to the market faster. Reliable products help retain customers, boost the company’s reputation, and grow profit margin.\r\n\r\nHigh-quality data is needed to make it all work. A data management program can help with the following tasks:\r\n<ul>\r\n \t<li>Automate manual processes. Automating helps to lower errors and inefficiencies, and accelerates quantitative research by navigating unstructured data. Business decisions get made faster.</li>\r\n \t<li>Verify and vet output. One system can generate formulas or prototypes for new products; a secondary one can automatically evaluate, compare, and check them for compatibility and other parameters.</li>\r\n</ul>\r\nEnhance new network implementations and diagnostics. AI can create potential scenarios for the design and deployment of new systems. It can create hypotheses to pinpoint problems and suggest solutions.\r\n<h2 id=\"tab4\" >About the Book</h2>\r\nWiley has recently published <a class=\"bookSponsor-btn\" href=\"https://www.keboola.com/blog/ai-data-management-for-dummies-keboola-special-edition\" target=\"_blank\" rel=\"noopener\" data-testid=\"bookSponsorDownloadButton\">AI Data Management For Dummies, Keboola Special Edition</a>. It includes insights from <a href=\"https://www.snowflake.com/en/\" target=\"_blank\" rel=\"noopener\">Snowflake</a> and <a href=\"https://www.capgemini.com/us-en/\" target=\"_blank\" rel=\"noopener\">Capgemini</a> that will help your organization integrate best practices and advanced technologies into your data strategy, what the future of AI development looks like, and more use cases.\r\n\r\nDownload <a href=\"https://www.keboola.com/blog/ai-data-management-for-dummies-keboola-special-edition\" target=\"_blank\" rel=\"noopener\" data-testid=\"bookSponsorDownloadButton\">AI Data Management For Dummies, Keboola Special Edition</a> by Andy Mott, Dan O’Riordan, and Rithesh Makkena to open the door to AI success.","description":"Artificial intelligence (AI) offers a lot of promise to companies, but deploying AI can be complex with many considerations and pitfalls. Data is the necessary asset to make AI work, and your organization is probably swimming in it.\r\n\r\nBut how well-managed is your data? The answer hinges on whether your company will be successful in its AI efforts.\r\n\r\nData management is the behind-the scenes workhorse that makes AI work. A robust management program allows data to be ingested from everywhere it needs to be, cleaned and transformed to enable AI model training, made easily available to users, and meticulously governed to ensure security, privacy, and compliance.\r\n\r\nIn this article, we’ll explore several ways a data management platform can help with your AI efforts.\r\n<p class=\"article-tips tip\">Although these applications may differ, effective data management is always the necessary first step on which these solutions are built.</p>\r\n\r\n<h2 id=\"tab1\" >Proprietary AI</h2>\r\nAs your business scales, the number of receipts, invoices, contracts, and other printed documents scale, too. And when all those documents aren’t digitized, think of the number of hours it will take an employee to catalog it.\r\n\r\nIt’s possible to use AI to automate this process. A proprietary engine scans and processes documents, extracts meaning from them, and outputs the data in a format that’s handy for reports, dashboards, and business intelligence apps.\r\n\r\nSome benefits of using proprietary AI to scan and process documents are:\r\n<ul>\r\n \t<li>It can translate multiple languages. A large language model (LLM) can be trained to make sense of any specific document formats that your company may have.</li>\r\n \t<li>Accurate data helps with decision-making. Data can be extracted from third-party platforms, enrich it, validate it, and output it to dashboards accessible throughout the company.</li>\r\n \t<li>Identify issues with customers earlier. Algorithms aggregate and analyze user data, spotlighting any issues with customers early on to prevent customer churn. Or to spotlight when a loyal customer is ready to grow with your company.</li>\r\n</ul>\r\n<h2 id=\"tab2\" >Retrieval augmented generation</h2>\r\nThings that work well in a controlled environment with a carefully curated data sample don’t always work in a real-world environment. One such situation is with retrieval augmented generation (RAG), the engine that LLMs rely on to give accurate facts. But if RAG is relying on legacy data that wasn’t prepared adequately, your AI solution is going to underperform.\r\n\r\nA data management program makes sure the basic, but vitally important, tasks are covered — data is cleaned, engineered, structured, and complete. Some tasks it can do are:\r\n<ul>\r\n \t<li>Implement meta-intent branching for handling different types of queries.</li>\r\n \t<li>Develop verified quotes and see-it-in-source features for transparency.</li>\r\n \t<li>Monitor and balance token consumption.</li>\r\n \t<li>Improve data quality through semantic data scrubbing.</li>\r\n</ul>\r\n<h2 id=\"tab3\" >Research and development</h2>\r\nTraditional research and development methods can be time consuming and expensive. Applying AI to the process can help reduce the cost and release products to the market faster. Reliable products help retain customers, boost the company’s reputation, and grow profit margin.\r\n\r\nHigh-quality data is needed to make it all work. A data management program can help with the following tasks:\r\n<ul>\r\n \t<li>Automate manual processes. Automating helps to lower errors and inefficiencies, and accelerates quantitative research by navigating unstructured data. Business decisions get made faster.</li>\r\n \t<li>Verify and vet output. One system can generate formulas or prototypes for new products; a secondary one can automatically evaluate, compare, and check them for compatibility and other parameters.</li>\r\n</ul>\r\nEnhance new network implementations and diagnostics. AI can create potential scenarios for the design and deployment of new systems. It can create hypotheses to pinpoint problems and suggest solutions.\r\n<h2 id=\"tab4\" >About the Book</h2>\r\nWiley has recently published <a class=\"bookSponsor-btn\" href=\"https://www.keboola.com/blog/ai-data-management-for-dummies-keboola-special-edition\" target=\"_blank\" rel=\"noopener\" data-testid=\"bookSponsorDownloadButton\">AI Data Management For Dummies, Keboola Special Edition</a>. It includes insights from <a href=\"https://www.snowflake.com/en/\" target=\"_blank\" rel=\"noopener\">Snowflake</a> and <a href=\"https://www.capgemini.com/us-en/\" target=\"_blank\" rel=\"noopener\">Capgemini</a> that will help your organization integrate best practices and advanced technologies into your data strategy, what the future of AI development looks like, and more use cases.\r\n\r\nDownload <a href=\"https://www.keboola.com/blog/ai-data-management-for-dummies-keboola-special-edition\" target=\"_blank\" rel=\"noopener\" data-testid=\"bookSponsorDownloadButton\">AI Data Management For Dummies, Keboola Special Edition</a> by Andy Mott, Dan O’Riordan, and Rithesh Makkena to open the door to AI success.","blurb":"","authors":[],"primaryCategoryTaxonomy":{"categoryId":33576,"title":"Generative AI","slug":"general-ai","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33576"}},"secondaryCategoryTaxonomy":{"categoryId":34244,"title":"Data Management","slug":"data-management","_links":{"self":"https://dummies-api.dummies.com/v2/categories/34244"}},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":207792,"title":"Reading Financial Reports For Dummies Cheat Sheet","slug":"reading-financial-reports-for-dummies-cheat-sheet","categoryList":["business-careers-money","business","accounting","calculation-analysis"],"_links":{"self":"/articles/207792"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}}],"inThisArticle":[{"label":"Proprietary AI","target":"#tab1"},{"label":"Retrieval augmented generation","target":"#tab2"},{"label":"Research and development","target":"#tab3"},{"label":"About the Book","target":"#tab4"}],"relatedArticles":{"fromBook":[],"fromCategory":[{"articleId":302523,"title":"How to Write Effective AI Prompts for Different Real World Uses","slug":"how-to-write-effective-prompts-for-different-real-world-uses","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/302523"}},{"articleId":302379,"title":"Generative AI For Dummies Cheat Sheet","slug":"generative-ai-for-dummies-cheat-sheet","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/302379"}},{"articleId":302176,"title":"Improving CLM with Generative AI: Key Use Cases","slug":"improving-clm-with-generative-ai-key-use-cases","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/302176"}},{"articleId":301980,"title":"Enterprise Generative AI: Transforming Your Business","slug":"enterprise-generative-ai-transforming-your-business","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/301980"}},{"articleId":301240,"title":"Five Ways Machine Health Delivers Real Business Value","slug":"five-ways-machine-health-delivers-real-business-value","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/301240"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":0,"slug":null,"isbn":null,"categoryList":null,"amazon":null,"image":null,"title":null,"testBankPinActivationLink":null,"bookOutOfPrint":false,"authorsInfo":null,"authors":null,"_links":null},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;ai&quot;,&quot;general-ai&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[null]},{&quot;key&quot;:&quot;sponsored&quot;,&quot;values&quot;:[&quot;customsolutions&quot;]}]\" id=\"du-slot-67b7c24468e31\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;ai&quot;,&quot;general-ai&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[null]},{&quot;key&quot;:&quot;sponsored&quot;,&quot;values&quot;:[&quot;customsolutions&quot;]}]\" id=\"du-slot-67b7c2446a91d\"></div></div>"},"articleType":{"articleType":"Articles","articleList":null,"content":null,"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":true,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"Brought to you by Keboola","brandingLink":"https://www.keboola.com/","brandingLogo":{"src":"https://www.dummies.com/wp-content/uploads/keebola-logo.png","width":185,"height":50},"sponsorAd":"","sponsorEbookTitle":"AI Data Management For Dummies, Keboola Special Edition","sponsorEbookLink":"https://www.keboola.com/blog/ai-data-management-for-dummies-keboola-special-edition","sponsorEbookImage":{"src":"https://www.dummies.com/wp-content/uploads/ai-data-management-for-dummies-keboola-special-edition-161x255.jpg","width":161,"height":255}},"primaryLearningPath":"Advance","lifeExpectancy":"One year","lifeExpectancySetFrom":"2025-02-20T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[{"adPairKey":"sponsored","adPairValue":"customsolutions"}]},"status":"publish","visibility":"public","articleId":302697},{"headers":{"creationTime":"2024-12-06T22:05:41+00:00","modifiedTime":"2024-12-09T16:51:22+00:00","timestamp":"2024-12-09T18:01:32+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Information Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33572"},"slug":"information-technology","categoryId":33572},{"name":"AI","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33574"},"slug":"ai","categoryId":33574},{"name":"Generative AI","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33576"},"slug":"general-ai","categoryId":33576}],"title":"How to Write Effective AI Prompts for Different Real World Uses","strippedTitle":"how to write effective ai prompts for different real world uses","slug":"how-to-write-effective-prompts-for-different-real-world-uses","canonicalUrl":"","seo":{"metaDescription":"Discover how to craft effective AI prompts tailored for various real-world applications. Unlock AI's potential in creative writing, data analysis, and more.","noIndex":0,"noFollow":0},"content":"As you delve deeper into the realm of prompt engineering, you find out that the effectiveness of a prompt can vary greatly depending on the application. Whether you’re using AI for creative writing, data analysis, customer service, or any other specific use, the prompts you use need to be tailored to fit the task at hand.\r\n<p class=\"article-tips remember\">The art in prompt engineering is matching your form of communication to the nature of the task. If you succeed, you’ll unlock the vast potential of AI.</p>\r\nFor instance, when engaging with AI for creative writing, your prompts should be open-ended and imaginative, encouraging the AI to generate original and diverse ideas. A prompt like “Write a story about a lost civilization discovered by a group of teenagers” sets the stage for a creative narrative.\r\n\r\nIn contrast, data analysis requires prompts that are precise and data-driven. Here, you might need to guide the AI with specific instructions or questions, such as “Analyze the sales data from the last quarter and identify the top-performing products.” You may need to include that data in the prompt if it isn’t already loaded into the training data, retrieval-augmented generation (RAG), system or custom messages, or a specialized GPT. In any case, this type of prompt helps the AI focus on the exact task, ensuring that the output is relevant and actionable.\r\n\r\nThe key to designing effective prompts lies in understanding the domain you’re addressing. Each field has its own set of terminologies, expectations, and objectives. For example, legal prompts require a different structure and language than those used in entertainment or education. It’s essential to incorporate domain-specific knowledge into your prompts to guide the AI in generating the desired output.\r\n\r\nFollowing are some examples across various industries that illustrate how prompts can be tailored for domain-specific applications:\r\n<ul>\r\n \t<li><strong>Legal domain:</strong> In the legal industry, precision and formality are paramount. Prompts must be crafted to reflect the meticulous nature of legal language and reasoning. For instance, a prompt for contract analysis might be, “Identify and summarize the obligations and rights of each party as per the contract clauses outlined in Section 2.3 and 4.1.” This prompt is structured to direct the AI to focus on specific sections, reflecting the detailed-oriented nature of legal work.</li>\r\n \t<li><strong>Healthcare domain:</strong> In healthcare, prompts must be sensitive to medical terminology and patient privacy. A prompt for medical diagnosis might be, “Given the following anonymized patient symptoms and test results, what are the potential differential diagnoses?” This prompt respects patient confidentiality while leveraging the AI’s capability to process medical data.</li>\r\n \t<li><strong>Education domain:</strong> Educational prompts often aim to engage and instruct. A teacher might use a prompt like, “Create a lesson plan that introduces the concept of photosynthesis to 5th graders using interactive activities.” This prompt is designed to generate educational content that is age-appropriate and engaging.</li>\r\n \t<li><strong>Finance domain:</strong> In finance, prompts need to be data-driven and analytical. A financial analyst might use a prompt such as, “Analyze the historical price data of XYZ stock over the past year and predict the trend for the next quarter based on the moving average and standard deviation.” This prompt asks the AI to apply specific financial models to real-world data.</li>\r\n \t<li><strong>Marketing domain:</strong> Marketing prompts often focus on creativity and audience engagement. A marketing professional could use a prompt like, “Generate a list of catchy headlines for our new eco-friendly product line that will appeal to environmentally conscious consumers.” This prompt encourages the AI to produce creative content that resonates with a target demographic.</li>\r\n \t<li><strong>Software development domain:</strong> In software development, prompts can be technical and require understanding of coding languages. A prompt might be, “Debug the following Python code snippet and suggest optimizations for increasing its efficiency.” This prompt is technical, directing the AI to engage with code directly.</li>\r\n \t<li><strong>Customer service domain:</strong> For customer service, prompts should be empathetic and solution oriented. A prompt could be, “Draft a response to a customer complaint about a delayed shipment, ensuring to express understanding and offer a compensatory solution.” This prompt guides the AI to handle a delicate situation with care.</li>\r\n</ul>\r\nBy understanding the unique requirements and language of each domain, you can craft prompts to effectively guide AI in producing the desired outcomes. It’s not just about giving commands; it’s about framing them in a way that aligns with the goals, terms, and practices of the industry in question. As AI continues to evolve, the ability to engineer precise and effective prompts becomes an increasingly valuable skill across all sectors.\r\n<h2 id=\"tab1\" >15 tips and tricks for better AI prompting</h2>\r\nAlthough GenAI may seem like magic, it takes knowledge and practice to write effective prompts that will generate the content you’re looking for. The following list provides some insider tips and tricks to help you optimize your prompts to get the most out of your interactions with GenAI tools:\r\n<ul>\r\n \t<li><strong>Know your goal.</strong> Decide what you want from the AI — like a simple how-to or a bunch of ideas — before you start asking.</li>\r\n \t<li><strong>Get specific.</strong> The clearer you are, the better the AI can help. Ask “How do I bake a beginner's chocolate cake?” instead of just “How do I make a cake?”</li>\r\n \t<li><strong>Keep it simple.</strong> Use easy language unless you’re in a special field like law or medicine where using the right terms is necessary.</li>\r\n \t<li><strong>Add context.</strong> Give some background if it's a special topic, like tips for small businesses on social media.</li>\r\n \t<li><strong>Play pretend.</strong> Tell the AI to act like someone, like a fitness coach, to get answers that fit that role.</li>\r\n \t<li><strong>Try again.</strong> If the first answer isn't great, change your question a bit and ask again.</li>\r\n \t<li><strong>Show examples.</strong> If you want something creative, show the AI an example to follow, like asking for a poem like one by Robert Frost.</li>\r\n \t<li><strong>Don't overwhelm.</strong> Keep your question focused. If it's too packed with info, it gets messy.</li>\r\n \t<li><strong>Mix it up.</strong> Try asking in different ways, like with a question or a command, to see what works best.</li>\r\n \t<li><strong>Embrace the multimodal functionality.</strong> <em>Multimodal functionality</em> means that the GenAI model you’re working with can accept more than one kind of prompt input. Typically, that means it can accept both text and images in the input.</li>\r\n \t<li><strong>Understand the model’s limitations.</strong> GenAI is not infallible and can still produce errors or “hallucinate” responses. Always approach the AI’s output with a critical eye and use it as a starting point rather than the final word on any subject.</li>\r\n \t<li><strong>Leverage the enhanced problem-solving abilities.</strong> GenAI’s enhanced problem-solving skills mean that you can tackle more complex prompts. Use this to your advantage when crafting prompts that require a deep dive into a topic.</li>\r\n \t<li><strong>Keep prompts aligned with AI training.</strong> For example, remember that GPT-4, like its predecessors, is trained on a vast dataset up to a certain point in time (April 2023 at the time of this writing). It doesn’t know about anything that happened after that date. If you need to reference more recent events or data, provide that context within your prompt.</li>\r\n \t<li><strong>Experiment with different prompt lengths.</strong> Short prompts can be useful for quick answers, while longer, more detailed prompts can provide more context and yield more comprehensive responses.</li>\r\n \t<li><strong>Incorporate feedback loops.</strong> After receiving a response from your GenAI application, assess its quality and relevance. If it hit — or is close to — the mark, click on the thumbs-up icon. If it’s not quite what you were looking for, provide feedback in your next prompt by clicking on the thumbs-down icon. This iterative process can help refine the AI’s understanding of your requirements and improve the quality of future responses.</li>\r\n</ul>\r\n<p class=\"article-tips remember\">By keeping these tips in mind and staying informed about the latest developments in the capabilities of various GenAI models and applications, you’ll be able to craft prompts that are not only effective but also responsible and aligned with the AI’s strengths and limitations.</p>\r\n\r\n<h2 id=\"tab2\" >How to use prompts to fine-tune the AI model</h2>\r\nThe point of prompt engineering is to carefully compose a prompt that can shape the AI’s learning curve and fine-tune its responses to perfection. In this section, you dive into the art of using prompts to refine the GenAI model, ensuring that it delivers the most accurate and helpful answers possible. In other words, you discover how to use prompts to also teach the model to perform better for you over time. Here are some specific tactics:\r\n<ul>\r\n \t<li><strong>When you talk to the AI and it gives you answers, tell it if you liked the answer or not.</strong> Do this by clicking the thumbs up or thumbs down, or the + or – icons above or below the output. The model will learn how to respond better to you and your prompts over time if you do this consistently.</li>\r\n \t<li><strong>If the AI gives you a weird answer, there's a “do-over” button you can press.</strong> It's like asking your friend to explain something again if you didn't get it the first time. Look for “Regenerate Response'’ or some similar wording (term varies among models) near the output. Click on that and you’ll instantly get the AI’s second try!</li>\r\n \t<li><strong>Think of different ways to ask the AI the same or related questions.</strong> It's like using magic words to get the best answers. If you're really good at it, you can make a list of prompts that others can use to ask good questions too. Prompt libraries are very helpful to all. It’s smart to look at prompt libraries for ideas when you’re stumped on how or what to prompt.</li>\r\n \t<li><strong>Share your successful prompts.</strong> If you find a super good way to ask something, you can share it online (at sites like GitHub) with other prompt engineers and use prompts others have shared there too.</li>\r\n \t<li><strong>Instead of teaching the AI everything from scratch (retraining the model), you can teach it a few more new things through your prompting.</strong> Just ask it in different ways to do new things. Over time, it will learn to expand its computations. And with some models, what it learns from your prompts will be stored in its memory. This will improve the outputs it gives you too!</li>\r\n \t<li><strong>Redirect AI biases.</strong> If the AI says something that seems mean or unfair, rate it a thumbs down and state why the response was unacceptable in your next prompt. Also, change the way you ask questions going forward to redirect the model away from this tendency.</li>\r\n \t<li><strong>Be transparent and accountable when you work with AI.</strong> Tell people why you're asking the AI certain questions and what you hope to get from it. If something goes wrong, try to make it right. It's like being honest about why you borrowed your friend's toy and fixing it if it breaks.</li>\r\n \t<li><strong>Keep learning.</strong> The AI world changes a lot, and often. Keep up with new models, features, and tactics, talk to others, and always try to get better at making the AI do increasingly more difficult things.</li>\r\n</ul>\r\n<p class=\"article-tips remember\">The more you help GenAI learn, the better it gets at helping you!</p>\r\n\r\n<h2 id=\"tab3\" >What to do when AI goes wrong</h2>\r\nWhen you engage with AI through your prompts, be aware of common pitfalls that can lead to biased or undesirable outcomes. Following are some strategies to avoid these pitfalls, ensuring that your interactions with AI are both effective and ethically sound.\r\n<ul>\r\n \t<li><strong>Recognize and mitigate biases.</strong> Biases in AI can stem from the data it was trained on or the way prompts are structured. For instance, a healthcare algorithm in the United States inadvertently favored white patients over people of color because it used healthcare cost history as a proxy for health needs, which correlated with race. To avoid such biases, carefully consider the variables and language used in your prompts. Ensure they do not inadvertently favor one group over another or perpetuate stereotypes.</li>\r\n \t<li><strong>Question assumptions.</strong> Wrong or flawed assumptions can lead to misguided AI behavior. For example, Amazon’s hiring algorithm developed a bias against women because it was trained on resumes predominantly submitted by men. Regularly review the assumptions behind your prompts and be open to challenging and revising them as needed.</li>\r\n \t<li><strong>Avoid overgeneralization.</strong> AI can make sweeping generalizations based on limited data. To prevent this, provide diverse and representative examples in your prompts. This helps the AI understand the nuances and variations within the data, leading to more accurate and fair outcomes.</li>\r\n \t<li><strong>Keep your purpose in sight.</strong> Losing sight of the purpose of your interaction with AI can result in irrelevant or unhelpful responses. Always align your prompts with the intended goal and avoid being swayed by the AI’s responses into a direction that deviates from your original objective.</li>\r\n \t<li><strong>Diversify information sources.</strong> Relying on too narrow a set of information can skew AI responses. Ensure that the data and examples you provide cover a broad spectrum of scenarios and perspectives. This helps the AI develop a well-rounded understanding of the task at hand. For example, if the AI is trained to find causes of helicopter crashes and the only dataset the AI has is of events when helicopters crash, it will deduce that all helicopters crash which in turn will render skewed outputs that could be costly or even dangerous. Add data on flights or events when helicopters did not crash, and you’ll get better outputs because the model has more diverse and more complete information to analyze.</li>\r\n \t<li><strong>Encourage open debate.</strong> AI can sometimes truncate debate by providing authoritative-sounding answers. Encourage open-ended prompts that allow for multiple viewpoints and be critical of the AI’s responses. This fosters a more thoughtful and comprehensive exploration of the topic.</li>\r\n \t<li><strong>Be wary of consensus.</strong> Defaulting to consensus can be tempting, especially when AI confirms our existing beliefs. However, it’s important to challenge the AI and yourself by considering alternative viewpoints and counterarguments. This helps in uncovering potential blind spots and biases.</li>\r\n \t<li><strong>Check your work.</strong> Always review the AI’s responses for accuracy and bias. As with the healthcare algorithm that skewed resources toward white patients, unintended consequences can arise from seemingly neutral variables. Rigorous checks and balances are necessary to ensure the AI’s outputs align with ethical standards.</li>\r\n</ul>","description":"As you delve deeper into the realm of prompt engineering, you find out that the effectiveness of a prompt can vary greatly depending on the application. Whether you’re using AI for creative writing, data analysis, customer service, or any other specific use, the prompts you use need to be tailored to fit the task at hand.\r\n<p class=\"article-tips remember\">The art in prompt engineering is matching your form of communication to the nature of the task. If you succeed, you’ll unlock the vast potential of AI.</p>\r\nFor instance, when engaging with AI for creative writing, your prompts should be open-ended and imaginative, encouraging the AI to generate original and diverse ideas. A prompt like “Write a story about a lost civilization discovered by a group of teenagers” sets the stage for a creative narrative.\r\n\r\nIn contrast, data analysis requires prompts that are precise and data-driven. Here, you might need to guide the AI with specific instructions or questions, such as “Analyze the sales data from the last quarter and identify the top-performing products.” You may need to include that data in the prompt if it isn’t already loaded into the training data, retrieval-augmented generation (RAG), system or custom messages, or a specialized GPT. In any case, this type of prompt helps the AI focus on the exact task, ensuring that the output is relevant and actionable.\r\n\r\nThe key to designing effective prompts lies in understanding the domain you’re addressing. Each field has its own set of terminologies, expectations, and objectives. For example, legal prompts require a different structure and language than those used in entertainment or education. It’s essential to incorporate domain-specific knowledge into your prompts to guide the AI in generating the desired output.\r\n\r\nFollowing are some examples across various industries that illustrate how prompts can be tailored for domain-specific applications:\r\n<ul>\r\n \t<li><strong>Legal domain:</strong> In the legal industry, precision and formality are paramount. Prompts must be crafted to reflect the meticulous nature of legal language and reasoning. For instance, a prompt for contract analysis might be, “Identify and summarize the obligations and rights of each party as per the contract clauses outlined in Section 2.3 and 4.1.” This prompt is structured to direct the AI to focus on specific sections, reflecting the detailed-oriented nature of legal work.</li>\r\n \t<li><strong>Healthcare domain:</strong> In healthcare, prompts must be sensitive to medical terminology and patient privacy. A prompt for medical diagnosis might be, “Given the following anonymized patient symptoms and test results, what are the potential differential diagnoses?” This prompt respects patient confidentiality while leveraging the AI’s capability to process medical data.</li>\r\n \t<li><strong>Education domain:</strong> Educational prompts often aim to engage and instruct. A teacher might use a prompt like, “Create a lesson plan that introduces the concept of photosynthesis to 5th graders using interactive activities.” This prompt is designed to generate educational content that is age-appropriate and engaging.</li>\r\n \t<li><strong>Finance domain:</strong> In finance, prompts need to be data-driven and analytical. A financial analyst might use a prompt such as, “Analyze the historical price data of XYZ stock over the past year and predict the trend for the next quarter based on the moving average and standard deviation.” This prompt asks the AI to apply specific financial models to real-world data.</li>\r\n \t<li><strong>Marketing domain:</strong> Marketing prompts often focus on creativity and audience engagement. A marketing professional could use a prompt like, “Generate a list of catchy headlines for our new eco-friendly product line that will appeal to environmentally conscious consumers.” This prompt encourages the AI to produce creative content that resonates with a target demographic.</li>\r\n \t<li><strong>Software development domain:</strong> In software development, prompts can be technical and require understanding of coding languages. A prompt might be, “Debug the following Python code snippet and suggest optimizations for increasing its efficiency.” This prompt is technical, directing the AI to engage with code directly.</li>\r\n \t<li><strong>Customer service domain:</strong> For customer service, prompts should be empathetic and solution oriented. A prompt could be, “Draft a response to a customer complaint about a delayed shipment, ensuring to express understanding and offer a compensatory solution.” This prompt guides the AI to handle a delicate situation with care.</li>\r\n</ul>\r\nBy understanding the unique requirements and language of each domain, you can craft prompts to effectively guide AI in producing the desired outcomes. It’s not just about giving commands; it’s about framing them in a way that aligns with the goals, terms, and practices of the industry in question. As AI continues to evolve, the ability to engineer precise and effective prompts becomes an increasingly valuable skill across all sectors.\r\n<h2 id=\"tab1\" >15 tips and tricks for better AI prompting</h2>\r\nAlthough GenAI may seem like magic, it takes knowledge and practice to write effective prompts that will generate the content you’re looking for. The following list provides some insider tips and tricks to help you optimize your prompts to get the most out of your interactions with GenAI tools:\r\n<ul>\r\n \t<li><strong>Know your goal.</strong> Decide what you want from the AI — like a simple how-to or a bunch of ideas — before you start asking.</li>\r\n \t<li><strong>Get specific.</strong> The clearer you are, the better the AI can help. Ask “How do I bake a beginner's chocolate cake?” instead of just “How do I make a cake?”</li>\r\n \t<li><strong>Keep it simple.</strong> Use easy language unless you’re in a special field like law or medicine where using the right terms is necessary.</li>\r\n \t<li><strong>Add context.</strong> Give some background if it's a special topic, like tips for small businesses on social media.</li>\r\n \t<li><strong>Play pretend.</strong> Tell the AI to act like someone, like a fitness coach, to get answers that fit that role.</li>\r\n \t<li><strong>Try again.</strong> If the first answer isn't great, change your question a bit and ask again.</li>\r\n \t<li><strong>Show examples.</strong> If you want something creative, show the AI an example to follow, like asking for a poem like one by Robert Frost.</li>\r\n \t<li><strong>Don't overwhelm.</strong> Keep your question focused. If it's too packed with info, it gets messy.</li>\r\n \t<li><strong>Mix it up.</strong> Try asking in different ways, like with a question or a command, to see what works best.</li>\r\n \t<li><strong>Embrace the multimodal functionality.</strong> <em>Multimodal functionality</em> means that the GenAI model you’re working with can accept more than one kind of prompt input. Typically, that means it can accept both text and images in the input.</li>\r\n \t<li><strong>Understand the model’s limitations.</strong> GenAI is not infallible and can still produce errors or “hallucinate” responses. Always approach the AI’s output with a critical eye and use it as a starting point rather than the final word on any subject.</li>\r\n \t<li><strong>Leverage the enhanced problem-solving abilities.</strong> GenAI’s enhanced problem-solving skills mean that you can tackle more complex prompts. Use this to your advantage when crafting prompts that require a deep dive into a topic.</li>\r\n \t<li><strong>Keep prompts aligned with AI training.</strong> For example, remember that GPT-4, like its predecessors, is trained on a vast dataset up to a certain point in time (April 2023 at the time of this writing). It doesn’t know about anything that happened after that date. If you need to reference more recent events or data, provide that context within your prompt.</li>\r\n \t<li><strong>Experiment with different prompt lengths.</strong> Short prompts can be useful for quick answers, while longer, more detailed prompts can provide more context and yield more comprehensive responses.</li>\r\n \t<li><strong>Incorporate feedback loops.</strong> After receiving a response from your GenAI application, assess its quality and relevance. If it hit — or is close to — the mark, click on the thumbs-up icon. If it’s not quite what you were looking for, provide feedback in your next prompt by clicking on the thumbs-down icon. This iterative process can help refine the AI’s understanding of your requirements and improve the quality of future responses.</li>\r\n</ul>\r\n<p class=\"article-tips remember\">By keeping these tips in mind and staying informed about the latest developments in the capabilities of various GenAI models and applications, you’ll be able to craft prompts that are not only effective but also responsible and aligned with the AI’s strengths and limitations.</p>\r\n\r\n<h2 id=\"tab2\" >How to use prompts to fine-tune the AI model</h2>\r\nThe point of prompt engineering is to carefully compose a prompt that can shape the AI’s learning curve and fine-tune its responses to perfection. In this section, you dive into the art of using prompts to refine the GenAI model, ensuring that it delivers the most accurate and helpful answers possible. In other words, you discover how to use prompts to also teach the model to perform better for you over time. Here are some specific tactics:\r\n<ul>\r\n \t<li><strong>When you talk to the AI and it gives you answers, tell it if you liked the answer or not.</strong> Do this by clicking the thumbs up or thumbs down, or the + or – icons above or below the output. The model will learn how to respond better to you and your prompts over time if you do this consistently.</li>\r\n \t<li><strong>If the AI gives you a weird answer, there's a “do-over” button you can press.</strong> It's like asking your friend to explain something again if you didn't get it the first time. Look for “Regenerate Response'’ or some similar wording (term varies among models) near the output. Click on that and you’ll instantly get the AI’s second try!</li>\r\n \t<li><strong>Think of different ways to ask the AI the same or related questions.</strong> It's like using magic words to get the best answers. If you're really good at it, you can make a list of prompts that others can use to ask good questions too. Prompt libraries are very helpful to all. It’s smart to look at prompt libraries for ideas when you’re stumped on how or what to prompt.</li>\r\n \t<li><strong>Share your successful prompts.</strong> If you find a super good way to ask something, you can share it online (at sites like GitHub) with other prompt engineers and use prompts others have shared there too.</li>\r\n \t<li><strong>Instead of teaching the AI everything from scratch (retraining the model), you can teach it a few more new things through your prompting.</strong> Just ask it in different ways to do new things. Over time, it will learn to expand its computations. And with some models, what it learns from your prompts will be stored in its memory. This will improve the outputs it gives you too!</li>\r\n \t<li><strong>Redirect AI biases.</strong> If the AI says something that seems mean or unfair, rate it a thumbs down and state why the response was unacceptable in your next prompt. Also, change the way you ask questions going forward to redirect the model away from this tendency.</li>\r\n \t<li><strong>Be transparent and accountable when you work with AI.</strong> Tell people why you're asking the AI certain questions and what you hope to get from it. If something goes wrong, try to make it right. It's like being honest about why you borrowed your friend's toy and fixing it if it breaks.</li>\r\n \t<li><strong>Keep learning.</strong> The AI world changes a lot, and often. Keep up with new models, features, and tactics, talk to others, and always try to get better at making the AI do increasingly more difficult things.</li>\r\n</ul>\r\n<p class=\"article-tips remember\">The more you help GenAI learn, the better it gets at helping you!</p>\r\n\r\n<h2 id=\"tab3\" >What to do when AI goes wrong</h2>\r\nWhen you engage with AI through your prompts, be aware of common pitfalls that can lead to biased or undesirable outcomes. Following are some strategies to avoid these pitfalls, ensuring that your interactions with AI are both effective and ethically sound.\r\n<ul>\r\n \t<li><strong>Recognize and mitigate biases.</strong> Biases in AI can stem from the data it was trained on or the way prompts are structured. For instance, a healthcare algorithm in the United States inadvertently favored white patients over people of color because it used healthcare cost history as a proxy for health needs, which correlated with race. To avoid such biases, carefully consider the variables and language used in your prompts. Ensure they do not inadvertently favor one group over another or perpetuate stereotypes.</li>\r\n \t<li><strong>Question assumptions.</strong> Wrong or flawed assumptions can lead to misguided AI behavior. For example, Amazon’s hiring algorithm developed a bias against women because it was trained on resumes predominantly submitted by men. Regularly review the assumptions behind your prompts and be open to challenging and revising them as needed.</li>\r\n \t<li><strong>Avoid overgeneralization.</strong> AI can make sweeping generalizations based on limited data. To prevent this, provide diverse and representative examples in your prompts. This helps the AI understand the nuances and variations within the data, leading to more accurate and fair outcomes.</li>\r\n \t<li><strong>Keep your purpose in sight.</strong> Losing sight of the purpose of your interaction with AI can result in irrelevant or unhelpful responses. Always align your prompts with the intended goal and avoid being swayed by the AI’s responses into a direction that deviates from your original objective.</li>\r\n \t<li><strong>Diversify information sources.</strong> Relying on too narrow a set of information can skew AI responses. Ensure that the data and examples you provide cover a broad spectrum of scenarios and perspectives. This helps the AI develop a well-rounded understanding of the task at hand. For example, if the AI is trained to find causes of helicopter crashes and the only dataset the AI has is of events when helicopters crash, it will deduce that all helicopters crash which in turn will render skewed outputs that could be costly or even dangerous. Add data on flights or events when helicopters did not crash, and you’ll get better outputs because the model has more diverse and more complete information to analyze.</li>\r\n \t<li><strong>Encourage open debate.</strong> AI can sometimes truncate debate by providing authoritative-sounding answers. Encourage open-ended prompts that allow for multiple viewpoints and be critical of the AI’s responses. This fosters a more thoughtful and comprehensive exploration of the topic.</li>\r\n \t<li><strong>Be wary of consensus.</strong> Defaulting to consensus can be tempting, especially when AI confirms our existing beliefs. However, it’s important to challenge the AI and yourself by considering alternative viewpoints and counterarguments. This helps in uncovering potential blind spots and biases.</li>\r\n \t<li><strong>Check your work.</strong> Always review the AI’s responses for accuracy and bias. As with the healthcare algorithm that skewed resources toward white patients, unintended consequences can arise from seemingly neutral variables. Rigorous checks and balances are necessary to ensure the AI’s outputs align with ethical standards.</li>\r\n</ul>","blurb":"","authors":[{"authorId":34669,"name":"Pam Baker","slug":"pamela-baker","description":"<b>Pam Baker</b> is an award-winning freelance journalist, analyst, and author. Her previous book, <i>ChatGPT For Dummies</i>, was one of the first how-to guides for effective use of the ChatGPT platform. She writes for several media outlets, including <i>The New York Times</i>, CNN, <i>Ars Technica</i>, <i>InformationWeek</i>, and <i>CSO</i>. Baker is also an instructor on GenAI for LinkedIn Learning.","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/34669"}}],"primaryCategoryTaxonomy":{"categoryId":33576,"title":"Generative AI","slug":"general-ai","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33576"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":207792,"title":"Reading Financial Reports For Dummies Cheat Sheet","slug":"reading-financial-reports-for-dummies-cheat-sheet","categoryList":["business-careers-money","business","accounting","calculation-analysis"],"_links":{"self":"/articles/207792"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}}],"inThisArticle":[{"label":"15 tips and tricks for better AI prompting","target":"#tab1"},{"label":"How to use prompts to fine-tune the AI model","target":"#tab2"},{"label":"What to do when AI goes wrong","target":"#tab3"}],"relatedArticles":{"fromBook":[{"articleId":302379,"title":"Generative AI For Dummies Cheat Sheet","slug":"generative-ai-for-dummies-cheat-sheet","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/302379"}}],"fromCategory":[{"articleId":302379,"title":"Generative AI For Dummies Cheat Sheet","slug":"generative-ai-for-dummies-cheat-sheet","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/302379"}},{"articleId":302176,"title":"Improving CLM with Generative AI: Key Use Cases","slug":"improving-clm-with-generative-ai-key-use-cases","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/302176"}},{"articleId":301980,"title":"Enterprise Generative AI: Transforming Your Business","slug":"enterprise-generative-ai-transforming-your-business","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/301980"}},{"articleId":301240,"title":"Five Ways Machine Health Delivers Real Business Value","slug":"five-ways-machine-health-delivers-real-business-value","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/301240"}},{"articleId":299369,"title":"How ChatGPT Could Change Our Lives","slug":"how-chatgpt-could-change-our-lives","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/299369"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":302330,"slug":"generative-ai-for-dummies","isbn":"9781394270743","categoryList":["technology","information-technology","ai","general-ai"],"amazon":{"default":"https://www.amazon.com/gp/product/1394270747/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1394270747/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1394270747-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1394270747/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1394270747/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/generative-ai-for-dummies-cover-9781394270743-203x255.jpg","width":203,"height":255},"title":"Generative AI For Dummies","testBankPinActivationLink":"","bookOutOfPrint":true,"authorsInfo":"<p><b><b data-author-id=\"34669\">Pam Baker</b></b> is an award-winning freelance journalist, analyst, and author. Her previous book, <i>ChatGPT For Dummies</i>, was one of the first how-to guides for effective use of the ChatGPT platform. She writes for several media outlets, including <i>The New York Times</i>, CNN, <i>Ars Technica</i>, <i>InformationWeek</i>, and <i>CSO</i>. Baker is also an instructor on GenAI for LinkedIn Learning.</p>","authors":[{"authorId":34669,"name":"Pam Baker","slug":"pamela-baker","description":"<b>Pam Baker</b> is an award-winning freelance journalist, analyst, and author. Her previous book, <i>ChatGPT For Dummies</i>, was one of the first how-to guides for effective use of the ChatGPT platform. She writes for several media outlets, including <i>The New York Times</i>, CNN, <i>Ars Technica</i>, <i>InformationWeek</i>, and <i>CSO</i>. Baker is also an instructor on GenAI for LinkedIn Learning.","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/34669"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;ai&quot;,&quot;general-ai&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781394270743&quot;]}]\" id=\"du-slot-6757307c75563\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;ai&quot;,&quot;general-ai&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781394270743&quot;]}]\" id=\"du-slot-6757307c774da\"></div></div>"},"articleType":{"articleType":"Articles","articleList":null,"content":null,"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Solve","lifeExpectancy":"One year","lifeExpectancySetFrom":"2024-12-06T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":302523},{"headers":{"creationTime":"2024-11-07T20:04:19+00:00","modifiedTime":"2024-11-13T15:15:05+00:00","timestamp":"2024-11-13T18:01:09+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Information Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33572"},"slug":"information-technology","categoryId":33572},{"name":"AI","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33574"},"slug":"ai","categoryId":33574}],"title":"10 Mistakes to Avoid When Writing AI Prompts","strippedTitle":"10 mistakes to avoid when writing ai prompts","slug":"10-mistakes-to-avoid-when-writing-ai-prompts","canonicalUrl":"","seo":{"metaDescription":"When you’re new to crafting AI prompts, it's easy to make mistakes. Discover the top 10 mistakes to avoid when writing AI prompts with our video and guide.","noIndex":0,"noFollow":0},"content":"When you’re new to crafting AI prompts, you can easily make mistakes. Using AI tools the right way makes you more productive and efficient. But if you aren’t careful, you may develop bad habits when you’re still learning. We clue you in to 10 mistakes you should avoid from the start in this video and article.\r\n<div class=\"x2 x2-top\"><iframe title=\"YouTube video player\" src=\"https://www.youtube.com/embed/Ti_N7CWlPTc?si=4hbJ9CpWMF_W1db6\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"></iframe></div>\r\n<h2 id=\"tab1\" >Not Spending Enough Time Crafting and Testing Prompts</h2>\r\nOne common mistake when using AI tools is not putting in the effort to carefully craft your prompts. You may be tempted — very tempted — to quickly type out a prompt and get a response back from the AI, but hurried prompts usually produce mediocre results. Taking the time to compose your prompt using clear language will increase your chances of getting the response you want. A poor response spells the need for you to evaluate the prompt to see where you can clarify or improve it. It’s an iterative process, so don’t be surprised if you have to refine your prompt several times. Like any skill, learning to design effective prompts takes practice and patience. The key is to resist the urge to take shortcuts. Make sure to put in the work needed to guide the AI to a great response.\r\n<h2 id=\"tab2\" >Assuming the AI Understands Context or Subtext</h2>\r\nIt’s easy to overestimate the capabilities of AI tools and assume they understand the meaning of language the way humans do. Current AI tools take things literally. They don’t actually understand the context of a conversation. An AI assistant may be trained to identify patterns and connections and is aware of these things as concepts (like norms, emotions, or sarcasm), all of which rely on context, but it struggles to identify them reliably.\r\n\r\nHumans can read between the lines and understand meaning beyond what’s actually written. An AI interprets instructions and prompts in a very literal sense — it doesn’t understand the meaning behind them. You can’t assume an AI understands concepts it hasn’t been trained for.\r\n<h2 id=\"tab3\" >Asking Overly Broad or Vague Questions</h2>\r\nWhen interacting with an AI, avoid overly broad or vague questions. The AI works best when you give it clear, specific prompts. Providing prompts like “Tell me about human history” or “Explain consciousness” is like asking the AI to search the entire internet. The response will probably be unfocused. The AI has no sense of what information is relevant or important so you need to refocus and try again.\r\n\r\nGood prompts are more direct. You can start with a prompt such as “Summarize this research paper in two paragraphs” or “Write a 500-word article on summer plants that require shade.” The prompt should give the AI boundaries and context to shape its response. Going from broad to increasingly narrow questions also helps.\r\n\r\nYou can start generally asking about a topic and then follow up with focused requests on the specific details. Providing concrete examples guides the AI. The key is to give the AI precise prompts centered directly on the information you want instead of typing a request with a vague, borderless question. Sharp, specific questioning produces the best AI results.\r\n<h2 id=\"tab4\" >Not Checking Outputs for Errors and Biases</h2>\r\nA common mistake when using AI apps is taking the results at face value without double-checking them. AI systems may reflect bias, or generate text that seems right but has errors. Just because the content came from an AI doesn’t mean it’s necessarily accurate. Reviewing AI responses rather than blindly trusting the technology is critical. Look for instances of bias where specific demographics are negatively characterized or tropes (clichés) are reinforced.\r\n\r\nAlways check facts and figures against other sources. Look for logic that indicates the AI was “confused.” Providing feedback when the AI makes a mistake can further enhance its training. The key is to approach responses skeptically instead of assuming that the AI always generates perfect results. As with any human team member, reviewing their work is essential before using it. Careful oversight of AI tools mitigates risks.\r\n<h2 id=\"tab5\" >Using Offensive, Unethical, or Dangerous Prompts</h2>\r\nA primary concern when working with AI is that the apps can inadvertently amplify harmful biases if users write offensive, unethical, or dangerous prompts. The AI will generate text for any input, but the response may be that you’re asking for a harmful response and it will not comply. Prompting an AI with inappropriate language or potential discrimination may reinforce biases from the data the model was trained on.\r\n\r\nIf users are cautious when formulating prompts, that can help steer the technology toward more thoughtful responses. AI can be subject to the whims of bad actors.\r\n<h2 id=\"tab6\" >Expecting Too Much Originality or Creativity from the AI</h2>\r\nOne common mistake when using AI apps is expecting too much original thought or creativity. AI tools can generate unique mixes of text, imagery, and other media, but there are limits. As of this writing, AI apps are only capable of remixing existing information and patterns into new combinations. They can’t really create responses that break new ground. An AI has no natural creative flair like human artists or thinkers. Its training data consists only of past and present works. So, although an AI can generate new work, expecting a “masterpiece” is unrealistic.\r\n<h2 id=\"tab7\" >Copying Generated Content Verbatim</h2>\r\nA big mistake users make when first using AI tools is to take the text and use it verbatim, without any edits or revisions. AI can often produce text that appears to be well written, but the output is more likely to be a bit rough and require a good edit. Mindlessly copying the unedited output can result in unclear and generic work. (Also, plagiarizing or passing the writing off as your own is unethical.)\r\n\r\nA best practice is to use the suggestions as a starting point that you build upon with your own words and edits to polish the final product. Keep the strong parts and make it into something original. The key is that the AI app should support your work, not replace it. With the right editing and polishing, you can produce something you’ll be proud of.\r\n<h2 id=\"tab8\" >Providing Too Few Examples and Use Cases</h2>\r\nWhen you’re training an AI app to handle a new task, a common mistake is to provide too few examples of inputs. Humans can usually extrapolate from a few samples, but AI apps can’t. An AI must be shown examples to grasp the full scope of the case. You need to feed the AI varied use cases to help it generalize effectively.\r\n\r\nSimilarly, limiting prompts to just a couple of instances produces equally poor results because the AI has little indication of the boundaries of the task. Providing diverse examples helps the AI form an understanding about how to respond. Having patience and supplying many examples lets the AI respond appropriately.\r\n<h2 id=\"tab9\" >Not Customizing Prompts for Different Use Cases</h2>\r\nOne common mistake when working with AI tools is attempting to use the same generic prompt to handle all your use cases. Creating a one-size-fits-all prompt is easier, but it will deliver disappointing results. Each use case and application has its own unique goals and information that need to be conveyed, as discussed throughout this book. For example, a prompt for a creative nonfiction story should be designed differently than a prompt for a medical article.\r\n\r\nAn inventory of prompts designed for various use cases allows the AI to adapt quickly to different needs. The key is customization. Building a library of specialized prompts is an investment that pays dividends.\r\n<h2 id=\"tab10\" >Becoming Overly Reliant on AI Tasks Better Suited for Humans</h2>\r\nAlmost everyone is excited about using AI tools to make their job easier. But it’s important to avoid becoming too dependent on them. AI is great for tasks like automation and personalization, but applying ethics and conveying empathy are still human strengths.","description":"When you’re new to crafting AI prompts, you can easily make mistakes. Using AI tools the right way makes you more productive and efficient. But if you aren’t careful, you may develop bad habits when you’re still learning. We clue you in to 10 mistakes you should avoid from the start in this video and article.\r\n<div class=\"x2 x2-top\"><iframe title=\"YouTube video player\" src=\"https://www.youtube.com/embed/Ti_N7CWlPTc?si=4hbJ9CpWMF_W1db6\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"></iframe></div>\r\n<h2 id=\"tab1\" >Not Spending Enough Time Crafting and Testing Prompts</h2>\r\nOne common mistake when using AI tools is not putting in the effort to carefully craft your prompts. You may be tempted — very tempted — to quickly type out a prompt and get a response back from the AI, but hurried prompts usually produce mediocre results. Taking the time to compose your prompt using clear language will increase your chances of getting the response you want. A poor response spells the need for you to evaluate the prompt to see where you can clarify or improve it. It’s an iterative process, so don’t be surprised if you have to refine your prompt several times. Like any skill, learning to design effective prompts takes practice and patience. The key is to resist the urge to take shortcuts. Make sure to put in the work needed to guide the AI to a great response.\r\n<h2 id=\"tab2\" >Assuming the AI Understands Context or Subtext</h2>\r\nIt’s easy to overestimate the capabilities of AI tools and assume they understand the meaning of language the way humans do. Current AI tools take things literally. They don’t actually understand the context of a conversation. An AI assistant may be trained to identify patterns and connections and is aware of these things as concepts (like norms, emotions, or sarcasm), all of which rely on context, but it struggles to identify them reliably.\r\n\r\nHumans can read between the lines and understand meaning beyond what’s actually written. An AI interprets instructions and prompts in a very literal sense — it doesn’t understand the meaning behind them. You can’t assume an AI understands concepts it hasn’t been trained for.\r\n<h2 id=\"tab3\" >Asking Overly Broad or Vague Questions</h2>\r\nWhen interacting with an AI, avoid overly broad or vague questions. The AI works best when you give it clear, specific prompts. Providing prompts like “Tell me about human history” or “Explain consciousness” is like asking the AI to search the entire internet. The response will probably be unfocused. The AI has no sense of what information is relevant or important so you need to refocus and try again.\r\n\r\nGood prompts are more direct. You can start with a prompt such as “Summarize this research paper in two paragraphs” or “Write a 500-word article on summer plants that require shade.” The prompt should give the AI boundaries and context to shape its response. Going from broad to increasingly narrow questions also helps.\r\n\r\nYou can start generally asking about a topic and then follow up with focused requests on the specific details. Providing concrete examples guides the AI. The key is to give the AI precise prompts centered directly on the information you want instead of typing a request with a vague, borderless question. Sharp, specific questioning produces the best AI results.\r\n<h2 id=\"tab4\" >Not Checking Outputs for Errors and Biases</h2>\r\nA common mistake when using AI apps is taking the results at face value without double-checking them. AI systems may reflect bias, or generate text that seems right but has errors. Just because the content came from an AI doesn’t mean it’s necessarily accurate. Reviewing AI responses rather than blindly trusting the technology is critical. Look for instances of bias where specific demographics are negatively characterized or tropes (clichés) are reinforced.\r\n\r\nAlways check facts and figures against other sources. Look for logic that indicates the AI was “confused.” Providing feedback when the AI makes a mistake can further enhance its training. The key is to approach responses skeptically instead of assuming that the AI always generates perfect results. As with any human team member, reviewing their work is essential before using it. Careful oversight of AI tools mitigates risks.\r\n<h2 id=\"tab5\" >Using Offensive, Unethical, or Dangerous Prompts</h2>\r\nA primary concern when working with AI is that the apps can inadvertently amplify harmful biases if users write offensive, unethical, or dangerous prompts. The AI will generate text for any input, but the response may be that you’re asking for a harmful response and it will not comply. Prompting an AI with inappropriate language or potential discrimination may reinforce biases from the data the model was trained on.\r\n\r\nIf users are cautious when formulating prompts, that can help steer the technology toward more thoughtful responses. AI can be subject to the whims of bad actors.\r\n<h2 id=\"tab6\" >Expecting Too Much Originality or Creativity from the AI</h2>\r\nOne common mistake when using AI apps is expecting too much original thought or creativity. AI tools can generate unique mixes of text, imagery, and other media, but there are limits. As of this writing, AI apps are only capable of remixing existing information and patterns into new combinations. They can’t really create responses that break new ground. An AI has no natural creative flair like human artists or thinkers. Its training data consists only of past and present works. So, although an AI can generate new work, expecting a “masterpiece” is unrealistic.\r\n<h2 id=\"tab7\" >Copying Generated Content Verbatim</h2>\r\nA big mistake users make when first using AI tools is to take the text and use it verbatim, without any edits or revisions. AI can often produce text that appears to be well written, but the output is more likely to be a bit rough and require a good edit. Mindlessly copying the unedited output can result in unclear and generic work. (Also, plagiarizing or passing the writing off as your own is unethical.)\r\n\r\nA best practice is to use the suggestions as a starting point that you build upon with your own words and edits to polish the final product. Keep the strong parts and make it into something original. The key is that the AI app should support your work, not replace it. With the right editing and polishing, you can produce something you’ll be proud of.\r\n<h2 id=\"tab8\" >Providing Too Few Examples and Use Cases</h2>\r\nWhen you’re training an AI app to handle a new task, a common mistake is to provide too few examples of inputs. Humans can usually extrapolate from a few samples, but AI apps can’t. An AI must be shown examples to grasp the full scope of the case. You need to feed the AI varied use cases to help it generalize effectively.\r\n\r\nSimilarly, limiting prompts to just a couple of instances produces equally poor results because the AI has little indication of the boundaries of the task. Providing diverse examples helps the AI form an understanding about how to respond. Having patience and supplying many examples lets the AI respond appropriately.\r\n<h2 id=\"tab9\" >Not Customizing Prompts for Different Use Cases</h2>\r\nOne common mistake when working with AI tools is attempting to use the same generic prompt to handle all your use cases. Creating a one-size-fits-all prompt is easier, but it will deliver disappointing results. Each use case and application has its own unique goals and information that need to be conveyed, as discussed throughout this book. For example, a prompt for a creative nonfiction story should be designed differently than a prompt for a medical article.\r\n\r\nAn inventory of prompts designed for various use cases allows the AI to adapt quickly to different needs. The key is customization. Building a library of specialized prompts is an investment that pays dividends.\r\n<h2 id=\"tab10\" >Becoming Overly Reliant on AI Tasks Better Suited for Humans</h2>\r\nAlmost everyone is excited about using AI tools to make their job easier. But it’s important to avoid becoming too dependent on them. AI is great for tasks like automation and personalization, but applying ethics and conveying empathy are still human strengths.","blurb":"","authors":[{"authorId":8966,"name":"Stephanie Diamond","slug":"stephanie-diamond","description":" <p><b>John Mueller</b> has produced hundreds of books and articles on topics ranging from networking to home security and from database management to heads-down programming. If he had a nickel for every time he is asked the question, &#8220;Is the terminator real?&#8221; (No!), he could have retired years ago.</p> <p><b>Luca Massaron</b> is a data scientist who specializes in organizing and interpreting big data and turning it into smart data. He has over 20 years??? experience delivering data solutions to clients in a variety of industries. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/8966"}},{"authorId":35397,"name":"Jeffrey Allan","slug":"jeffrey-allan","description":" <p> <b>Stephanie Diamond</b> is a marketing professional and author or coauthor of more than two dozen books, including <i>Digital Marketing All-in-One For Dummies </i>and <i>Facebook Marketing For Dummies. </i> <b>Jeffrey Allan</b> is the Director of the Institute for Responsible Technology and Artificial Intelligence (IRT) at Nazareth University. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/35397"}}],"primaryCategoryTaxonomy":{"categoryId":33574,"title":"AI","slug":"ai","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33574"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":207792,"title":"Reading Financial Reports For Dummies Cheat Sheet","slug":"reading-financial-reports-for-dummies-cheat-sheet","categoryList":["business-careers-money","business","accounting","calculation-analysis"],"_links":{"self":"/articles/207792"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}}],"inThisArticle":[{"label":"Not Spending Enough Time Crafting and Testing Prompts","target":"#tab1"},{"label":"Assuming the AI Understands Context or Subtext","target":"#tab2"},{"label":"Asking Overly Broad or Vague Questions","target":"#tab3"},{"label":"Not Checking Outputs for Errors and Biases","target":"#tab4"},{"label":"Using Offensive, Unethical, or Dangerous Prompts","target":"#tab5"},{"label":"Expecting Too Much Originality or Creativity from the AI","target":"#tab6"},{"label":"Copying Generated Content Verbatim","target":"#tab7"},{"label":"Providing Too Few Examples and Use Cases","target":"#tab8"},{"label":"Not Customizing Prompts for Different Use Cases","target":"#tab9"},{"label":"Becoming Overly Reliant on AI Tasks Better Suited for Humans","target":"#tab10"}],"relatedArticles":{"fromBook":[{"articleId":301862,"title":"Writing AI Prompts For Dummies Cheat Sheet","slug":"writing-ai-prompts-for-dummies-cheat-sheet","categoryList":["technology","information-technology","ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/301862"}}],"fromCategory":[{"articleId":302302,"title":"Marketing with AI For Dummies Cheat Sheet","slug":"marketing-with-ai-for-dummies-cheat-sheet","categoryList":["technology","information-technology","ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/302302"}},{"articleId":301862,"title":"Writing AI Prompts For Dummies Cheat Sheet","slug":"writing-ai-prompts-for-dummies-cheat-sheet","categoryList":["technology","information-technology","ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/301862"}},{"articleId":301745,"title":"Reaping the Benefits of AI for CX for Your Stakeholders","slug":"reaping-the-benefits-of-ai-for-cx-for-your-stakeholders","categoryList":["technology","information-technology","ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/301745"}},{"articleId":301679,"title":"Coding with AI For Dummies Cheat Sheet","slug":"coding-with-ai-for-dummies-cheat-sheet","categoryList":["technology","information-technology","ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/301679"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":301809,"slug":"writing-ai-prompts-for-dummies","isbn":"9781394244669","categoryList":["technology","information-technology","ai"],"amazon":{"default":"https://www.amazon.com/gp/product/1394244665/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1394244665/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1394244665-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1394244665/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1394244665/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/writing-ai-prompts-for-dummies-cover-9781394244669-203x255.jpg","width":203,"height":255},"title":"Writing AI Prompts For Dummies","testBankPinActivationLink":"","bookOutOfPrint":true,"authorsInfo":"<p><p><b>John Mueller</b> has produced hundreds of books and articles on topics ranging from networking to home security and from database management to heads-down programming. If he had a nickel for every time he is asked the question, &#8220;Is the terminator real?&#8221; (No!), he could have retired years ago.</p> <p><b>Luca Massaron</b> is a data scientist who specializes in organizing and interpreting big data and turning it into smart data. He has over 20 years??? experience delivering data solutions to clients in a variety of industries. <p> <b>Stephanie Diamond</b> is a marketing professional and author or coauthor of more than two dozen books, including <i>Digital Marketing All-in-One For Dummies </i>and <i>Facebook Marketing For Dummies. </i> <b><b data-author-id=\"35397\">Jeffrey Allan</b></b> is the Director of the Institute for Responsible Technology and Artificial Intelligence (IRT) at Nazareth University.</p>","authors":[{"authorId":8966,"name":"Stephanie Diamond","slug":"stephanie-diamond","description":" <p><b>John Mueller</b> has produced hundreds of books and articles on topics ranging from networking to home security and from database management to heads-down programming. If he had a nickel for every time he is asked the question, &#8220;Is the terminator real?&#8221; (No!), he could have retired years ago.</p> <p><b>Luca Massaron</b> is a data scientist who specializes in organizing and interpreting big data and turning it into smart data. He has over 20 years??? experience delivering data solutions to clients in a variety of industries. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/8966"}},{"authorId":35397,"name":"Jeffrey Allan","slug":"jeffrey-allan","description":" <p> <b>Stephanie Diamond</b> is a marketing professional and author or coauthor of more than two dozen books, including <i>Digital Marketing All-in-One For Dummies </i>and <i>Facebook Marketing For Dummies. </i> <b>Jeffrey Allan</b> is the Director of the Institute for Responsible Technology and Artificial Intelligence (IRT) at Nazareth University. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/35397"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;ai&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781394244669&quot;]}]\" id=\"du-slot-6734e9658cf4b\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;ai&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781394244669&quot;]}]\" id=\"du-slot-6734e9658ea18\"></div></div>"},"articleType":{"articleType":"Videos","articleList":null,"content":null,"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Advance","lifeExpectancy":"One year","lifeExpectancySetFrom":"2024-11-07T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":302451},{"headers":{"creationTime":"2024-11-06T20:55:47+00:00","modifiedTime":"2024-11-06T21:14:28+00:00","timestamp":"2024-11-07T00:01:06+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Information Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33572"},"slug":"information-technology","categoryId":33572}],"title":"The Next Data Cycle: Why Your Organization Needs Hyperscale NAS","strippedTitle":"the next data cycle: why your organization needs hyperscale nas","slug":"the-next-data-cycle-why-your-organization-needs-hyperscale-nas","canonicalUrl":"","seo":{"metaDescription":"Discover how hyperscale NAS can revolutionize your data architecture. Adapt to the next data cycle and unlock new opportunities in AI and deep learning.","noIndex":0,"noFollow":0},"content":"In the ever-accelerating race of data processing and analytics, your organization’s ability to adapt and evolve its data architecture is crucial. As we enter the next data cycle, marked by the rise of artificial intelligence (AI) and deep learning (DL), the demands on data storage and management are unprecedented. This is where hyperscale network-attached storage (NAS) comes into play, offering a transformative solution for organizations looking to capitalize on the next wave of data-driven opportunities.\r\n<h2 id=\"tab1\" >Ushering in the Next Data Cycle with Hyperscale NAS</h2>\r\nThe next data cycle is characterized by a shift from structured business intelligence (BI) data to a world where unstructured and semi-structured data reign supreme. This data is massive in volume and comes from countless sources, which require high-performance access to drive valuable insights. Hyperscale NAS meets this challenge head-on by merging the simplicity of enterprise NAS with the extreme performance of high-performance computing (HPC) parallel file systems.\r\n\r\n<p class=\"article-tips remember\">Hyperscale NAS is essential for your organization for the following reasons:</p>\r\n<ul>\r\n \t<li><strong>Performance at scale:</strong> Hyperscale NAS isn’t bottlenecked by traditional NAS controllers, so linear scalability in performance and capacity are enabled across potentially thousands of nodes.</li>\r\n \t<li><strong>Cost efficiency:</strong> Being software-defined, hyperscale NAS allows the use of commodity hardware and avoids vendor lock-in, driving down costs significantly.</li>\r\n \t<li><strong>Metadata excellence:</strong> With shared metadata kept out of the data path, hyperscale NAS ensures fast access to data across the global environment, which is critical for AI and DL workloads that require rapid data retrieval and processing.</li>\r\n</ul>\r\n<h2 id=\"tab2\" >Hyperscale NAS: A Pillar for Modern Data Architectures</h2>\r\nThe architecture of hyperscale NAS is fundamentally different from traditional solutions. It overcomes the limitations of scale-out NAS by providing linear scalability and extreme throughput using commodity infrastructure. This means that as your data grows, your system’s performance and capacity can grow with it, without the need for expensive, specialized hardware.\r\n\r\nSome of the transformative capabilities of hyperscale NAS include\r\n<ul>\r\n \t<li><strong>Standards-based integration:</strong> The hyperscale NAS client software is built into standard Linux distributions, eliminating the need for proprietary clients.</li>\r\n \t<li><strong>Consistent high performance:</strong> The separation of metadata from the data path allows for near-full bandwidth utilization, delivering the speed necessary for demanding applications.</li>\r\n \t<li><strong>High availability:</strong> Hyperscale NAS includes distributed architecture, load balancing, tiering, and high-availability features, proving itself in some of the world’s largest AI environments.</li>\r\n</ul>\r\n<h2 id=\"tab3\" >Making Data Available and Actionable</h2>\r\nIn the era of AI, having access to sufficient compute resources, like graphics processing units (GPUs), is a significant challenge. Hyperscale NAS helps you leverage GPUs wherever they’re available, making data a live, globally shared resource that’s no longer localized or trapped within proprietary storage systems or specific cloud data services.\r\n\r\n<p class=\"article-tips remember\">Hyperscale NAS makes data more accessible and actionable through</p>\r\n<ul>\r\n \t<li><strong>Global data sets:</strong> Hyperscale NAS orchestrates data to GPUs in the cloud and GPU-as-a-Service providers, unifying multiple data sources into a single global file system.</li>\r\n \t<li><strong>Intelligent data placement:</strong> Leveraging metadata-driven data orchestration, Hyperscale NAS ensures data is where it needs to be, when it needs to be there.</li>\r\n \t<li><strong>Non-disruptive data mobility:</strong> Data can be moved between storage systems, sites, and clouds without disrupting access or performance.</li>\r\n</ul>\r\nAs your organization gears up for the next data cycle, adopting hyperscale NAS isn’t just a strategic move; it’s an imperative one. It’s a future-proof solution that enables you to keep pace with the exponential growth of data and the complex demands of AI and DL. With hyperscale NAS, you can transform your business, unleash the full potential of your data assets, and ensure that your organization isn’t just ready but thriving in the next data cycle.\r\n\r\nFor more information, download this free e-book: <a class=\"bookSponsor-btn\" href=\"https://hammerspace.com/hyperscale-nas-for-dummies/\" target=\"_blank\" rel=\"noopener\" data-testid=\"bookSponsorDownloadButton\"><em>Hyperscale NAS For Dummies,</em> Hammerspace Special Edition</a>.","description":"In the ever-accelerating race of data processing and analytics, your organization’s ability to adapt and evolve its data architecture is crucial. As we enter the next data cycle, marked by the rise of artificial intelligence (AI) and deep learning (DL), the demands on data storage and management are unprecedented. This is where hyperscale network-attached storage (NAS) comes into play, offering a transformative solution for organizations looking to capitalize on the next wave of data-driven opportunities.\r\n<h2 id=\"tab1\" >Ushering in the Next Data Cycle with Hyperscale NAS</h2>\r\nThe next data cycle is characterized by a shift from structured business intelligence (BI) data to a world where unstructured and semi-structured data reign supreme. This data is massive in volume and comes from countless sources, which require high-performance access to drive valuable insights. Hyperscale NAS meets this challenge head-on by merging the simplicity of enterprise NAS with the extreme performance of high-performance computing (HPC) parallel file systems.\r\n\r\n<p class=\"article-tips remember\">Hyperscale NAS is essential for your organization for the following reasons:</p>\r\n<ul>\r\n \t<li><strong>Performance at scale:</strong> Hyperscale NAS isn’t bottlenecked by traditional NAS controllers, so linear scalability in performance and capacity are enabled across potentially thousands of nodes.</li>\r\n \t<li><strong>Cost efficiency:</strong> Being software-defined, hyperscale NAS allows the use of commodity hardware and avoids vendor lock-in, driving down costs significantly.</li>\r\n \t<li><strong>Metadata excellence:</strong> With shared metadata kept out of the data path, hyperscale NAS ensures fast access to data across the global environment, which is critical for AI and DL workloads that require rapid data retrieval and processing.</li>\r\n</ul>\r\n<h2 id=\"tab2\" >Hyperscale NAS: A Pillar for Modern Data Architectures</h2>\r\nThe architecture of hyperscale NAS is fundamentally different from traditional solutions. It overcomes the limitations of scale-out NAS by providing linear scalability and extreme throughput using commodity infrastructure. This means that as your data grows, your system’s performance and capacity can grow with it, without the need for expensive, specialized hardware.\r\n\r\nSome of the transformative capabilities of hyperscale NAS include\r\n<ul>\r\n \t<li><strong>Standards-based integration:</strong> The hyperscale NAS client software is built into standard Linux distributions, eliminating the need for proprietary clients.</li>\r\n \t<li><strong>Consistent high performance:</strong> The separation of metadata from the data path allows for near-full bandwidth utilization, delivering the speed necessary for demanding applications.</li>\r\n \t<li><strong>High availability:</strong> Hyperscale NAS includes distributed architecture, load balancing, tiering, and high-availability features, proving itself in some of the world’s largest AI environments.</li>\r\n</ul>\r\n<h2 id=\"tab3\" >Making Data Available and Actionable</h2>\r\nIn the era of AI, having access to sufficient compute resources, like graphics processing units (GPUs), is a significant challenge. Hyperscale NAS helps you leverage GPUs wherever they’re available, making data a live, globally shared resource that’s no longer localized or trapped within proprietary storage systems or specific cloud data services.\r\n\r\n<p class=\"article-tips remember\">Hyperscale NAS makes data more accessible and actionable through</p>\r\n<ul>\r\n \t<li><strong>Global data sets:</strong> Hyperscale NAS orchestrates data to GPUs in the cloud and GPU-as-a-Service providers, unifying multiple data sources into a single global file system.</li>\r\n \t<li><strong>Intelligent data placement:</strong> Leveraging metadata-driven data orchestration, Hyperscale NAS ensures data is where it needs to be, when it needs to be there.</li>\r\n \t<li><strong>Non-disruptive data mobility:</strong> Data can be moved between storage systems, sites, and clouds without disrupting access or performance.</li>\r\n</ul>\r\nAs your organization gears up for the next data cycle, adopting hyperscale NAS isn’t just a strategic move; it’s an imperative one. It’s a future-proof solution that enables you to keep pace with the exponential growth of data and the complex demands of AI and DL. With hyperscale NAS, you can transform your business, unleash the full potential of your data assets, and ensure that your organization isn’t just ready but thriving in the next data cycle.\r\n\r\nFor more information, download this free e-book: <a class=\"bookSponsor-btn\" href=\"https://hammerspace.com/hyperscale-nas-for-dummies/\" target=\"_blank\" rel=\"noopener\" data-testid=\"bookSponsorDownloadButton\"><em>Hyperscale NAS For Dummies,</em> Hammerspace Special Edition</a>.","blurb":"","authors":[],"primaryCategoryTaxonomy":{"categoryId":33572,"title":"Information Technology","slug":"information-technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33572"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":207792,"title":"Reading Financial Reports For Dummies Cheat Sheet","slug":"reading-financial-reports-for-dummies-cheat-sheet","categoryList":["business-careers-money","business","accounting","calculation-analysis"],"_links":{"self":"/articles/207792"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}}],"inThisArticle":[{"label":"Ushering in the Next Data Cycle with Hyperscale NAS","target":"#tab1"},{"label":"Hyperscale NAS: A Pillar for Modern Data Architectures","target":"#tab2"},{"label":"Making Data Available and Actionable","target":"#tab3"}],"relatedArticles":{"fromBook":[],"fromCategory":[]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":0,"slug":null,"isbn":null,"categoryList":null,"amazon":null,"image":null,"title":null,"testBankPinActivationLink":null,"bookOutOfPrint":false,"authorsInfo":null,"authors":null,"_links":null},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[null]},{&quot;key&quot;:&quot;sponsored&quot;,&quot;values&quot;:[&quot;customsolutions&quot;]}]\" id=\"du-slot-672c0342454a9\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[null]},{&quot;key&quot;:&quot;sponsored&quot;,&quot;values&quot;:[&quot;customsolutions&quot;]}]\" id=\"du-slot-672c03424713e\"></div></div>"},"articleType":{"articleType":"Articles","articleList":null,"content":null,"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":true,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"Brought to you by Hammerspace","brandingLink":"https://hammerspace.com/","brandingLogo":{"src":"https://www.dummies.com/wp-content/uploads/hammerspace-logo-266x55-1.png","width":266,"height":55},"sponsorAd":"","sponsorEbookTitle":"Hyperscale NAS For Dummies, Hammerspace Special Edition","sponsorEbookLink":"https://hammerspace.com/hyperscale-nas-for-dummies/","sponsorEbookImage":{"src":"https://www.dummies.com/wp-content/uploads/hyperscale-nas-for-dummies-hammerspace-special-edition-9781394261680-165x255.jpg","width":165,"height":255}},"primaryLearningPath":"Solve","lifeExpectancy":"One year","lifeExpectancySetFrom":"2024-11-07T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[{"adPairKey":"sponsored","adPairValue":"customsolutions"}]},"status":"publish","visibility":"public","articleId":302435},{"headers":{"creationTime":"2018-07-11T02:40:50+00:00","modifiedTime":"2024-10-28T18:50:46+00:00","timestamp":"2024-10-28T21:01:26+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Information Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33572"},"slug":"information-technology","categoryId":33572},{"name":"AI","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33574"},"slug":"ai","categoryId":33574},{"name":"Generative AI","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33576"},"slug":"general-ai","categoryId":33576}],"title":"Envision the World as a Graph with Bayes' Theorem","strippedTitle":"envision the world as a graph with bayes' theorem","slug":"envision-world-graph-bayes-theorem","canonicalUrl":"","seo":{"metaDescription":"Bayes’ theorem can help you deduce how likely something is to happen in a certain context, based on the general probabilities of the fact itself and the evidenc","noIndex":0,"noFollow":0},"content":"Bayes’ theorem can help you deduce how likely something is to happen in a certain context, based on the general probabilities of the fact itself and the evidence you examine, and combined with the probability of the evidence given the fact. Seldom will a single piece of evidence diminish doubts and provide enough certainty in a prediction to ensure that it will happen. As a true detective, to reach certainty, you have to collect more evidence and make the individual pieces work together in your investigation. Noticing that a person has long hair isn’t enough to determine whether person is female or a male. Adding data about height and weight could help increase confidence.\r\n\r\nThe Naïve Bayes algorithm helps you arrange all the evidence you gather and reach a more solid prediction with a higher likelihood of being correct. Gathered evidence considered singularly couldn’t save you from the risk of predicting incorrectly, but all evidence summed together can reach a more definitive resolution. The following example shows how things work in a Naïve Bayes classification. This is an old, renowned problem, but it represents the kind of capability that you can expect from an AI. The dataset is from the paper “<a href=\"https://dl.acm.org/doi/10.1023/A%3A1022643204877\" target=\"_blank\" rel=\"noopener\">Induction of Decision Trees</a>,” by John Ross Quinlan. Quinlan is a computer scientist who contributed to the development of another machine learning algorithm, decision trees, in a fundamental way, but his example works well with any kind of learning algorithm. The problem requires that the AI guess the best conditions to play tennis given the weather conditions. The set of features described by Quinlan is as follows:\r\n<ul>\r\n \t<li><strong>Outlook:</strong> Sunny, overcast, or rainy</li>\r\n \t<li><strong>Temperature:</strong> Cool, mild, or hot</li>\r\n \t<li><strong>Humidity:</strong> High or normal</li>\r\n \t<li><strong>Windy:</strong> True or false</li>\r\n</ul>\r\nThe following table contains the database entries used for the example:\r\n<table>\r\n<thead>\r\n<tr>\r\n<td><strong>Outlook</strong></td>\r\n<td width=\"95\"><strong>Temperature</strong></td>\r\n<td width=\"95\"><strong>Humidity</strong></td>\r\n<td width=\"57\"><strong>Windy</strong></td>\r\n<td width=\"113\"><strong>PlayTennis</strong></td>\r\n</tr>\r\n</thead>\r\n<tbody>\r\n<tr>\r\n<td>Sunny</td>\r\n<td width=\"95\">Hot</td>\r\n<td width=\"95\">High</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">No</td>\r\n</tr>\r\n<tr>\r\n<td>Sunny</td>\r\n<td width=\"95\">Hot</td>\r\n<td width=\"95\">High</td>\r\n<td width=\"57\">True</td>\r\n<td width=\"113\">No</td>\r\n</tr>\r\n<tr>\r\n<td>Overcast</td>\r\n<td width=\"95\">Hot</td>\r\n<td width=\"95\">High</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Rainy</td>\r\n<td width=\"95\">Mild</td>\r\n<td width=\"95\">High</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Rainy</td>\r\n<td width=\"95\">Cool</td>\r\n<td width=\"95\">Normal</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Rainy</td>\r\n<td width=\"95\">Cool</td>\r\n<td width=\"95\">Normal</td>\r\n<td width=\"57\">True</td>\r\n<td width=\"113\">No</td>\r\n</tr>\r\n<tr>\r\n<td>Overcast</td>\r\n<td width=\"95\">Cool</td>\r\n<td width=\"95\">Normal</td>\r\n<td width=\"57\">True</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Sunny</td>\r\n<td width=\"95\">Mild</td>\r\n<td width=\"95\">High</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">No</td>\r\n</tr>\r\n<tr>\r\n<td>Sunny</td>\r\n<td width=\"95\">Cool</td>\r\n<td width=\"95\">Normal</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Rainy</td>\r\n<td width=\"95\">Mild</td>\r\n<td width=\"95\">Normal</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Sunny</td>\r\n<td width=\"95\">Mild</td>\r\n<td width=\"95\">Normal</td>\r\n<td width=\"57\">True</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Overcast</td>\r\n<td width=\"95\">Mild</td>\r\n<td width=\"95\">High</td>\r\n<td width=\"57\">True</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Overcast</td>\r\n<td width=\"95\">Hot</td>\r\n<td width=\"95\">Normal</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Rainy</td>\r\n<td width=\"95\">Mild</td>\r\n<td width=\"95\">High</td>\r\n<td width=\"57\">True</td>\r\n<td width=\"113\">No</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\nThe option of playing tennis depends on the four arguments shown here.\r\n\r\n[caption id=\"attachment_254186\" align=\"alignnone\" width=\"535\"]<img class=\"size-full wp-image-254186\" src=\"https://www.dummies.com/wp-content/uploads/ai-naïve-bayes.jpg\" alt=\"ai-naïve-bayes\" width=\"535\" height=\"129\" /> A Naïve Bayes model can retrace evidence to the right outcome.[/caption]\r\n\r\nThe result of this AI learning example is a decision as to whether to play tennis, given the weather conditions (the evidence). Using just the outlook (sunny, overcast, or rainy) won’t be enough, because the temperature and humidity could be too high or the wind might be strong. These arguments represent real conditions that have multiple causes, or causes that are interconnected. The Naïve Bayes algorithm is skilled at guessing correctly when multiple causes exist.\r\n\r\nThe algorithm computes a score, based on the probability of making a particular decision and multiplied by the probabilities of the evidence connected to that decision. For instance, to determine whether to play tennis when the outlook is sunny but the wind is strong, the algorithm computes the score for a positive answer by multiplying the general probability of playing (9 played games out of 14 occurrences) by the probability of the day’s being sunny (2 out of 9 played games) and of having windy conditions when playing tennis (3 out of 9 played games). The same rules apply for the negative case (which has different probabilities for not playing given certain conditions):\r\n\r\n<code>likelihood of playing: 9/14 * 2/9 * 3/9 = 0.05</code>\r\n\r\n<code>likelihood of not playing: 5/14 * 3/5 * 3/5 = 0.13</code>\r\n\r\nBecause the score for the likelihood is higher, the algorithm decides that it’s safer not to play under such conditions. It computes such likelihood by summing the two scores and dividing both scores by their sum:\r\n\r\n<code>probability of playing : 0.05 / (0.05 + 0.13) = 0.278</code>\r\n\r\n<code>probability of not playing : 0.13 / (0.05 + 0.13) = 0.722</code>\r\n\r\nYou can further extend Naïve Bayes to represent relationships that are more complex than a series of factors that hint at the likelihood of an outcome using a <em>Bayesian network,</em> which consists of graphs showing how events affect each other. Bayesian graphs have nodes that represent the events and arcs showing which events affect others, accompanied by a table of conditional probabilities that show how the relationship works in terms of probability. The figure shows a famous example of a Bayesian network taken from a 1988 academic paper, “<a href=\"https://www.jstor.org/stable/2345762\" target=\"_blank\" rel=\"noopener\">Local computations with probabilities on graphical structures and their application to expert systems</a>,” by Lauritzen, Steffen L. and David J. Spiegelhalter, published by the <em>Journal of the Royal Statistical Society.</em>\r\n\r\n[caption id=\"attachment_254183\" align=\"alignnone\" width=\"449\"]<img class=\"size-full wp-image-254183\" src=\"https://www.dummies.com/wp-content/uploads/ai-bayesian-network.jpg\" alt=\"ai-bayesian-network\" width=\"449\" height=\"400\" /> A Bayesian network can support a medical decision.[/caption]\r\n\r\nThe depicted network is called <em>Asia.</em> It shows possible patient conditions and what causes what. For instance, if a patient has dyspnea, it could be an effect of tuberculosis, lung cancer, or bronchitis. Knowing whether the patient smokes, has been to Asia, or has anomalous x-ray results (thus giving certainty to certain pieces of evidence, a priori in Bayesian language) helps infer the real (posterior) probabilities of having any of the pathologies in the graph.\r\n\r\nBayesian networks, though intuitive, have complex math behind them, and they’re more powerful than a simple Naïve Bayes algorithm because they mimic the world as a sequence of causes and effects based on probability. Bayesian networks are so effective that you can use them to represent any situation. They have varied applications, such as medical diagnoses, the fusing of uncertain data arriving from multiple sensors, economic modeling, and the monitoring of complex systems such as a car. For instance, because driving in highway traffic may involve complex situations with many vehicles, the Analysis of MassIve Data STreams (AMIDST) consortium, in collaboration with the automaker Daimler, devised a Bayesian network that can recognize maneuvers by other vehicles and increase driving safety.","description":"Bayes’ theorem can help you deduce how likely something is to happen in a certain context, based on the general probabilities of the fact itself and the evidence you examine, and combined with the probability of the evidence given the fact. Seldom will a single piece of evidence diminish doubts and provide enough certainty in a prediction to ensure that it will happen. As a true detective, to reach certainty, you have to collect more evidence and make the individual pieces work together in your investigation. Noticing that a person has long hair isn’t enough to determine whether person is female or a male. Adding data about height and weight could help increase confidence.\r\n\r\nThe Naïve Bayes algorithm helps you arrange all the evidence you gather and reach a more solid prediction with a higher likelihood of being correct. Gathered evidence considered singularly couldn’t save you from the risk of predicting incorrectly, but all evidence summed together can reach a more definitive resolution. The following example shows how things work in a Naïve Bayes classification. This is an old, renowned problem, but it represents the kind of capability that you can expect from an AI. The dataset is from the paper “<a href=\"https://dl.acm.org/doi/10.1023/A%3A1022643204877\" target=\"_blank\" rel=\"noopener\">Induction of Decision Trees</a>,” by John Ross Quinlan. Quinlan is a computer scientist who contributed to the development of another machine learning algorithm, decision trees, in a fundamental way, but his example works well with any kind of learning algorithm. The problem requires that the AI guess the best conditions to play tennis given the weather conditions. The set of features described by Quinlan is as follows:\r\n<ul>\r\n \t<li><strong>Outlook:</strong> Sunny, overcast, or rainy</li>\r\n \t<li><strong>Temperature:</strong> Cool, mild, or hot</li>\r\n \t<li><strong>Humidity:</strong> High or normal</li>\r\n \t<li><strong>Windy:</strong> True or false</li>\r\n</ul>\r\nThe following table contains the database entries used for the example:\r\n<table>\r\n<thead>\r\n<tr>\r\n<td><strong>Outlook</strong></td>\r\n<td width=\"95\"><strong>Temperature</strong></td>\r\n<td width=\"95\"><strong>Humidity</strong></td>\r\n<td width=\"57\"><strong>Windy</strong></td>\r\n<td width=\"113\"><strong>PlayTennis</strong></td>\r\n</tr>\r\n</thead>\r\n<tbody>\r\n<tr>\r\n<td>Sunny</td>\r\n<td width=\"95\">Hot</td>\r\n<td width=\"95\">High</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">No</td>\r\n</tr>\r\n<tr>\r\n<td>Sunny</td>\r\n<td width=\"95\">Hot</td>\r\n<td width=\"95\">High</td>\r\n<td width=\"57\">True</td>\r\n<td width=\"113\">No</td>\r\n</tr>\r\n<tr>\r\n<td>Overcast</td>\r\n<td width=\"95\">Hot</td>\r\n<td width=\"95\">High</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Rainy</td>\r\n<td width=\"95\">Mild</td>\r\n<td width=\"95\">High</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Rainy</td>\r\n<td width=\"95\">Cool</td>\r\n<td width=\"95\">Normal</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Rainy</td>\r\n<td width=\"95\">Cool</td>\r\n<td width=\"95\">Normal</td>\r\n<td width=\"57\">True</td>\r\n<td width=\"113\">No</td>\r\n</tr>\r\n<tr>\r\n<td>Overcast</td>\r\n<td width=\"95\">Cool</td>\r\n<td width=\"95\">Normal</td>\r\n<td width=\"57\">True</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Sunny</td>\r\n<td width=\"95\">Mild</td>\r\n<td width=\"95\">High</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">No</td>\r\n</tr>\r\n<tr>\r\n<td>Sunny</td>\r\n<td width=\"95\">Cool</td>\r\n<td width=\"95\">Normal</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Rainy</td>\r\n<td width=\"95\">Mild</td>\r\n<td width=\"95\">Normal</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Sunny</td>\r\n<td width=\"95\">Mild</td>\r\n<td width=\"95\">Normal</td>\r\n<td width=\"57\">True</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Overcast</td>\r\n<td width=\"95\">Mild</td>\r\n<td width=\"95\">High</td>\r\n<td width=\"57\">True</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Overcast</td>\r\n<td width=\"95\">Hot</td>\r\n<td width=\"95\">Normal</td>\r\n<td width=\"57\">False</td>\r\n<td width=\"113\">Yes</td>\r\n</tr>\r\n<tr>\r\n<td>Rainy</td>\r\n<td width=\"95\">Mild</td>\r\n<td width=\"95\">High</td>\r\n<td width=\"57\">True</td>\r\n<td width=\"113\">No</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\nThe option of playing tennis depends on the four arguments shown here.\r\n\r\n[caption id=\"attachment_254186\" align=\"alignnone\" width=\"535\"]<img class=\"size-full wp-image-254186\" src=\"https://www.dummies.com/wp-content/uploads/ai-naïve-bayes.jpg\" alt=\"ai-naïve-bayes\" width=\"535\" height=\"129\" /> A Naïve Bayes model can retrace evidence to the right outcome.[/caption]\r\n\r\nThe result of this AI learning example is a decision as to whether to play tennis, given the weather conditions (the evidence). Using just the outlook (sunny, overcast, or rainy) won’t be enough, because the temperature and humidity could be too high or the wind might be strong. These arguments represent real conditions that have multiple causes, or causes that are interconnected. The Naïve Bayes algorithm is skilled at guessing correctly when multiple causes exist.\r\n\r\nThe algorithm computes a score, based on the probability of making a particular decision and multiplied by the probabilities of the evidence connected to that decision. For instance, to determine whether to play tennis when the outlook is sunny but the wind is strong, the algorithm computes the score for a positive answer by multiplying the general probability of playing (9 played games out of 14 occurrences) by the probability of the day’s being sunny (2 out of 9 played games) and of having windy conditions when playing tennis (3 out of 9 played games). The same rules apply for the negative case (which has different probabilities for not playing given certain conditions):\r\n\r\n<code>likelihood of playing: 9/14 * 2/9 * 3/9 = 0.05</code>\r\n\r\n<code>likelihood of not playing: 5/14 * 3/5 * 3/5 = 0.13</code>\r\n\r\nBecause the score for the likelihood is higher, the algorithm decides that it’s safer not to play under such conditions. It computes such likelihood by summing the two scores and dividing both scores by their sum:\r\n\r\n<code>probability of playing : 0.05 / (0.05 + 0.13) = 0.278</code>\r\n\r\n<code>probability of not playing : 0.13 / (0.05 + 0.13) = 0.722</code>\r\n\r\nYou can further extend Naïve Bayes to represent relationships that are more complex than a series of factors that hint at the likelihood of an outcome using a <em>Bayesian network,</em> which consists of graphs showing how events affect each other. Bayesian graphs have nodes that represent the events and arcs showing which events affect others, accompanied by a table of conditional probabilities that show how the relationship works in terms of probability. The figure shows a famous example of a Bayesian network taken from a 1988 academic paper, “<a href=\"https://www.jstor.org/stable/2345762\" target=\"_blank\" rel=\"noopener\">Local computations with probabilities on graphical structures and their application to expert systems</a>,” by Lauritzen, Steffen L. and David J. Spiegelhalter, published by the <em>Journal of the Royal Statistical Society.</em>\r\n\r\n[caption id=\"attachment_254183\" align=\"alignnone\" width=\"449\"]<img class=\"size-full wp-image-254183\" src=\"https://www.dummies.com/wp-content/uploads/ai-bayesian-network.jpg\" alt=\"ai-bayesian-network\" width=\"449\" height=\"400\" /> A Bayesian network can support a medical decision.[/caption]\r\n\r\nThe depicted network is called <em>Asia.</em> It shows possible patient conditions and what causes what. For instance, if a patient has dyspnea, it could be an effect of tuberculosis, lung cancer, or bronchitis. Knowing whether the patient smokes, has been to Asia, or has anomalous x-ray results (thus giving certainty to certain pieces of evidence, a priori in Bayesian language) helps infer the real (posterior) probabilities of having any of the pathologies in the graph.\r\n\r\nBayesian networks, though intuitive, have complex math behind them, and they’re more powerful than a simple Naïve Bayes algorithm because they mimic the world as a sequence of causes and effects based on probability. Bayesian networks are so effective that you can use them to represent any situation. They have varied applications, such as medical diagnoses, the fusing of uncertain data arriving from multiple sensors, economic modeling, and the monitoring of complex systems such as a car. For instance, because driving in highway traffic may involve complex situations with many vehicles, the Analysis of MassIve Data STreams (AMIDST) consortium, in collaboration with the automaker Daimler, devised a Bayesian network that can recognize maneuvers by other vehicles and increase driving safety.","blurb":"","authors":[{"authorId":9109,"name":"John Paul Mueller","slug":"john-paul-mueller","description":" <b>John Paul Mueller</b> has written more than 300 articles and 80 books, most recently <i>Mastering Windows Vista Business</i> with Mark Minasi. The author of <i>Ribbon X For Dummies</i>, he has covered everything from programming to operating systems to home security and accessibility.","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9109"}},{"authorId":9110,"name":"Luca Massaron","slug":"luca-massaron","description":" <p> <b>This All-in-One draws on the work of top authors in the <i>For Dummies </i>series who’ve created books designed to help data professionals do their work. The experts are Jack Hyman, Luca Massaron, Paul McFedries, John Paul Mueller, Lillian Pierson, Jonathan Reichental PhD, Joseph Schmuller PhD, Alan Simon, and Allen G. Taylor.</b> ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9110"}}],"primaryCategoryTaxonomy":{"categoryId":33576,"title":"Generative AI","slug":"general-ai","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33576"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":207792,"title":"Reading Financial Reports For Dummies Cheat Sheet","slug":"reading-financial-reports-for-dummies-cheat-sheet","categoryList":["business-careers-money","business","accounting","calculation-analysis"],"_links":{"self":"/articles/207792"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}}],"inThisArticle":[],"relatedArticles":{"fromBook":[{"articleId":254261,"title":"Performing Health Care Tasks Using Automation","slug":"performing-tasks-using-automation","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/254261"}},{"articleId":254258,"title":"New Surgical Techniques and Artificial Intelligence","slug":"new-surgical-techniques-artificial-intelligence","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/254258"}},{"articleId":254255,"title":"Artificial Intelligence and Special Needs","slug":"artificial-intelligence-special-needs","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/254255"}},{"articleId":254252,"title":"How AI Can Enhance Physical Ability","slug":"artificial-intelligence-making-humans-capable","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/254252"}},{"articleId":254249,"title":"Portable Patient Monitoring","slug":"portable-patient-monitoring","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/254249"}}],"fromCategory":[{"articleId":302379,"title":"Generative AI For Dummies Cheat Sheet","slug":"generative-ai-for-dummies-cheat-sheet","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/302379"}},{"articleId":302176,"title":"Improving CLM with Generative AI: Key Use Cases","slug":"improving-clm-with-generative-ai-key-use-cases","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/302176"}},{"articleId":301980,"title":"Enterprise Generative AI: Transforming Your Business","slug":"enterprise-generative-ai-transforming-your-business","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/301980"}},{"articleId":301240,"title":"Five Ways Machine Health Delivers Real Business Value","slug":"five-ways-machine-health-delivers-real-business-value","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/301240"}},{"articleId":299369,"title":"How ChatGPT Could Change Our Lives","slug":"how-chatgpt-could-change-our-lives","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/299369"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":281623,"slug":"artificial-intelligence-for-dummies","isbn":"9781119796763","categoryList":["technology","information-technology","ai","general-ai"],"amazon":{"default":"https://www.amazon.com/gp/product/1119796768/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1119796768/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1119796768-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1119796768/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1119796768/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/artificial-intelligence-for-dummies-2nd-edition-cover-9781119796763-203x255.jpg","width":203,"height":255},"title":"Artificial Intelligence For Dummies","testBankPinActivationLink":"","bookOutOfPrint":true,"authorsInfo":"<p><b><b data-author-id=\"9109\">John Paul Mueller</b></b> has written more than 300 articles and 80 books, most recently <i>Mastering Windows Vista Business</i> with Mark Minasi. The author of <i>Ribbon X For Dummies</i>, he has covered everything from programming to operating systems to home security and accessibility. <p> <b>This All-in-One draws on the work of top authors in the <i>For Dummies </i>series who’ve created books designed to help data professionals do their work. The experts are Jack Hyman, <b data-author-id=\"9110\">Luca Massaron</b>, Paul McFedries, John Paul Mueller, Lillian Pierson, Jonathan Reichental PhD, Joseph Schmuller PhD, Alan Simon, and Allen G. Taylor.</b></p>","authors":[{"authorId":9109,"name":"John Paul Mueller","slug":"john-paul-mueller","description":" <b>John Paul Mueller</b> has written more than 300 articles and 80 books, most recently <i>Mastering Windows Vista Business</i> with Mark Minasi. The author of <i>Ribbon X For Dummies</i>, he has covered everything from programming to operating systems to home security and accessibility.","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9109"}},{"authorId":9110,"name":"Luca Massaron","slug":"luca-massaron","description":" <p> <b>This All-in-One draws on the work of top authors in the <i>For Dummies </i>series who’ve created books designed to help data professionals do their work. The experts are Jack Hyman, Luca Massaron, Paul McFedries, John Paul Mueller, Lillian Pierson, Jonathan Reichental PhD, Joseph Schmuller PhD, Alan Simon, and Allen G. Taylor.</b> ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9110"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;ai&quot;,&quot;general-ai&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119796763&quot;]}]\" id=\"du-slot-671ffba706e99\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;ai&quot;,&quot;general-ai&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119796763&quot;]}]\" id=\"du-slot-671ffba707797\"></div></div>"},"articleType":{"articleType":"Articles","articleList":null,"content":null,"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Advance","lifeExpectancy":"Six months","lifeExpectancySetFrom":"2024-10-28T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":254213},{"headers":{"creationTime":"2016-08-18T14:13:09+00:00","modifiedTime":"2024-10-28T13:48:38+00:00","timestamp":"2024-10-28T15:01:13+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Information Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33572"},"slug":"information-technology","categoryId":33572},{"name":"Networking","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33581"},"slug":"networking","categoryId":33581},{"name":"General Networking","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33585"},"slug":"general-networking","categoryId":33585}],"title":"Configuring Network Connections for Windows 10","strippedTitle":"configuring network connections for windows 10","slug":"configuring-network-connections-windows-10","canonicalUrl":"","seo":{"metaDescription":"Windows usually detects the presence of a network adapter automatically; typically, you don’t have to install device drivers manually for the adapter. When Wind","noIndex":0,"noFollow":0},"content":"Windows usually detects the presence of a network adapter automatically; typically, you don’t have to install device drivers manually for the adapter. When Windows detects a network adapter, Windows automatically creates a network connection and configures it to support basic networking protocols. You may need to change the configuration of a network connection manually, however.\r\n\r\nThe following steps show you how to configure your network adapter on a Windows 10 system:\r\n\r\n ","description":"Windows usually detects the presence of a network adapter automatically; typically, you don’t have to install device drivers manually for the adapter. When Windows detects a network adapter, Windows automatically creates a network connection and configures it to support basic networking protocols. You may need to change the configuration of a network connection manually, however.\r\n\r\nThe following steps show you how to configure your network adapter on a Windows 10 system:\r\n\r\n ","blurb":"","authors":[{"authorId":8946,"name":"Doug Lowe","slug":"doug-lowe","description":" <p><b>Doug Lowe </b>is the information technology director at Blair, Church & Flynn Consulting Engineers, a civil engineering firm. He has written more than 50 <i>For Dummies</i> books on topics ranging from Java to electronics to PowerPoint.</p> ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/8946"}}],"primaryCategoryTaxonomy":{"categoryId":33585,"title":"General Networking","slug":"general-networking","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33585"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":207792,"title":"Reading Financial Reports For Dummies Cheat Sheet","slug":"reading-financial-reports-for-dummies-cheat-sheet","categoryList":["business-careers-money","business","accounting","calculation-analysis"],"_links":{"self":"/articles/207792"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}}],"inThisArticle":[],"relatedArticles":{"fromBook":[],"fromCategory":[{"articleId":290654,"title":"Windows Server 2022 and PowerShell All-in-One For Dummies Cheat Sheet","slug":"windows-server-2022-and-powershell-all-in-one-for-dummies-cheat-sheet","categoryList":["technology","information-technology","networking","general-networking"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/290654"}},{"articleId":271553,"title":"What Is a Network: An Overview of Necessary Networking Components","slug":"what-is-a-network-an-overview-of-necessary-networking-components","categoryList":["technology","information-technology","networking","general-networking"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/271553"}},{"articleId":253759,"title":"The 2 Pillars of Cybersecurity","slug":"2-pillars-cybersecurity","categoryList":["technology","information-technology","networking","general-networking"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/253759"}},{"articleId":253756,"title":"Securing the Human Firewall","slug":"securing-human-firewall","categoryList":["technology","information-technology","networking","general-networking"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/253756"}},{"articleId":222508,"title":"Network Administration: How to Create a New User in Active Directory","slug":"network-administration-create-new-user-windows-server-2016","categoryList":["technology","information-technology","networking","general-networking"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/222508"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":0,"slug":null,"isbn":null,"categoryList":null,"amazon":null,"image":null,"title":null,"testBankPinActivationLink":null,"bookOutOfPrint":false,"authorsInfo":null,"authors":null,"_links":null},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;networking&quot;,&quot;general-networking&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[null]}]\" id=\"du-slot-671fa739c15f1\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;networking&quot;,&quot;general-networking&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[null]}]\" id=\"du-slot-671fa739c1e99\"></div></div>"},"articleType":{"articleType":"Step by Step","articleList":null,"content":[{"title":"Click the Start icon (or press the Start button on the keyboard), and then tap or click Settings.","thumb":{"src":null,"width":0,"height":0},"image":{"src":null,"width":0,"height":0},"content":"<p>The Settings page appears.</p>\n"},{"title":"Click Network & Internet.","thumb":{"src":"https://www.dummies.com/wp-content/uploads/Network-Internet-page.jpg","width":220,"height":173},"image":{"src":"https://www.dummies.com/wp-content/uploads/Network-Internet-page.jpg","width":535,"height":422},"content":"<p>The Network &amp; Internet page appears.</p>\n"},{"title":"Click Ethernet.","thumb":{"src":"https://www.dummies.com/wp-content/uploads/Ethernet-settings-page.jpg","width":220,"height":173},"image":{"src":"https://www.dummies.com/wp-content/uploads/Ethernet-settings-page.jpg","width":535,"height":422},"content":"<p>The Ethernet settings page appears.</p>\n"},{"title":"Click Change Adapter Options.","thumb":{"src":"https://www.dummies.com/wp-content/uploads/Network-Connections-page.jpg","width":220,"height":165},"image":{"src":"https://www.dummies.com/wp-content/uploads/Network-Connections-page.jpg","width":535,"height":403},"content":"<p>The Network Connections page appears. This page lists each of your network adapters. In this case, only a single wired Ethernet adapter is shown. If the device has more than one adapter, additional adapters will appear on this page.</p>\n"},{"title":"Right-click the connection that you want to configure and then choose Properties from the contextual menu that appears.","thumb":{"src":"https://www.dummies.com/wp-content/uploads/Ethernet-Properties-198x255.jpg","width":198,"height":255},"image":{"src":"https://www.dummies.com/wp-content/uploads/Ethernet-Properties2.jpg","width":535,"height":689},"content":"<p>This action opens the Ethernet Properties dialog box.</p>\n"},{"title":"To configure the network adapter card settings, click Configure.","thumb":{"src":"https://www.dummies.com/wp-content/uploads/Properties-220x255.jpg","width":220,"height":255},"image":{"src":"https://www.dummies.com/wp-content/uploads/Properties2.jpg","width":535,"height":620},"content":"<p>The Properties dialog box for your network adapter appears. This dialog box has seven tabs that let you configure the adapter:</p>\n<ul>\n<li><em>General:</em> Shows basic information about the adapter, such as the device type and status.</li>\n<li><em>Advanced:</em> Lets you set a variety of device-specific parameters that affect the operation of the adapter.</li>\n<li><em>About:</em> Displays information about the device’s patent protection.</li>\n<li><em>Driver</em>: Displays information about the device driver that’s bound to the NIC and lets you update the driver to a newer version, roll back the driver to a previously working version, or uninstall the driver.</li>\n<li><em>Details:</em> With this tab, you can inspect various properties of the adapter such as the date and version of the device driver. To view the setting of a particular property, select the property name from the drop-down list.</li>\n<li><em>Events:</em> Lists recent events that have been logged for the device.</li>\n<li><em>Power Management:</em> Lets you configure power management options for the device.</li>\n</ul>\n<p>When you click OK to dismiss the dialog box, the network connection’s Properties dialog box closes and you’re returned to the Network Connections page. Right-click the network adapter and choose Properties again to continue the procedure.</p>\n"},{"title":"Review the list of connection items listed in the Properties dialog box.","thumb":{"src":null,"width":0,"height":0},"image":{"src":null,"width":0,"height":0},"content":"<ul>\n<li><em>Client for Microsoft Networks:</em> This item is required if you want to access a Microsoft Windows network. It should always be present.</li>\n<li><em>File and Printer Sharing for Microsoft Networks:</em> This item allows your computer to share its files or printers with other computers on the network.This option is usually used with peer-to-peer networks, but you can use it even if your network has dedicated servers. If you don’t plan to share files or printers on the client computer, however, you should disable this item.</li>\n<li><em>Internet Protocol Version 4 (TCP/IPv4):</em> This item enables the client computer to communicate by using the version 4 standard TCP/IP protocol.</li>\n<li><em>Internet Protocol Version 6 (TCP/IPv6):</em> This item enables version 6 of the standard TCP/IP protocol. Typically, both IP4 and IP6 are enabled, even though most networks rely primarily on IP4.</li>\n</ul>\n"},{"title":"If a protocol that you need isn’t listed, click the Install button to add the needed protocol.","thumb":{"src":null,"width":0,"height":0},"image":{"src":null,"width":0,"height":0},"content":"<p>A dialog box appears, asking whether you want to add a network client, protocol, or service. Click Protocol and then click Add. A list of available protocols appears. Select the one you want to add; then click OK.</p>\n"},{"title":"To remove a network item that you don’t need (such as File and Printer Sharing for Microsoft Networks), select the item, and click the Uninstall button.","thumb":{"src":null,"width":0,"height":0},"image":{"src":null,"width":0,"height":0},"content":"<p>For security reasons, you should make it a point to remove any clients, protocols, or services that you don’t need.</p>\n"},{"title":"To configure TCP/IP settings, click Internet Protocol (TCP/IP); click Properties to display the TCP/IP Properties dialog box; adjust the settings; and then click OK.","thumb":{"src":"https://www.dummies.com/wp-content/uploads/Configuring-TCP-IP.jpg","width":220,"height":250},"image":{"src":"https://www.dummies.com/wp-content/uploads/Configuring-TCP-IP2.jpg","width":535,"height":609},"content":"<p>The TCP/IP Properties dialog box lets you choose among these options:</p>\n<ul>\n<li><em>Obtain an IP Address Automatically:</em> Choose this option if your network has a DHCP server that assigns IP addresses automatically. Choosing this option dramatically simplifies administering TCP/IP on your network.</li>\n<li><em>Use the Following IP Address:</em> If your computer must have a specific IP address, choose this option and then type the computer’s IP address, subnet mask, and default gateway address.</li>\n<li><em>Obtain DNS Server Address Automatically:</em> The DHCP server can also provide the address of the Domain Name System (DNS) server that the computer should use. Choose this option if your network has a DHCP server.</li>\n<li><em>Use the Following DNS Server Addresses:</em> Choose this option if a DNS server isn’t available. Then type the IP addresses of the primary and secondary DNS servers.</li>\n</ul>\n"}],"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Advance","lifeExpectancy":"One year","lifeExpectancySetFrom":"2024-08-27T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":221858},{"headers":{"creationTime":"2024-10-17T18:18:12+00:00","modifiedTime":"2024-10-17T18:18:12+00:00","timestamp":"2024-10-17T21:01:11+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Information Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33572"},"slug":"information-technology","categoryId":33572},{"name":"AI","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33574"},"slug":"ai","categoryId":33574},{"name":"Generative AI","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33576"},"slug":"general-ai","categoryId":33576}],"title":"Generative AI For Dummies Cheat Sheet","strippedTitle":"generative ai for dummies cheat sheet","slug":"generative-ai-for-dummies-cheat-sheet","canonicalUrl":"","seo":{"metaDescription":"Navigate the world of Generative AI with ease. Our cheat sheet offers advanced prompting strategies and practical tips to optimize your AI tool usage.","noIndex":0,"noFollow":0},"content":"The first public release of ChatGPT ignited the world’s demand for increasingly sophisticated Generative AI (GenAI) models and tools, and the market was quick to deliver. But what’s the use of having so many GenAI tools if you get stuck using them? And make no mistake, everyone gets stuck quite often!\r\n\r\nThis cheat sheet helps you get the very best results by introducing you to advanced (but pretty easy) prompting techniques and giving you useful tips on how to choose models or applications that are right for the task.","description":"The first public release of ChatGPT ignited the world’s demand for increasingly sophisticated Generative AI (GenAI) models and tools, and the market was quick to deliver. But what’s the use of having so many GenAI tools if you get stuck using them? And make no mistake, everyone gets stuck quite often!\r\n\r\nThis cheat sheet helps you get the very best results by introducing you to advanced (but pretty easy) prompting techniques and giving you useful tips on how to choose models or applications that are right for the task.","blurb":"","authors":[{"authorId":34669,"name":"Pam Baker","slug":"pamela-baker","description":"<b>Pam Baker </b>is a veteran business analyst, speaker, and journalist whose work is focused on big data, artificial intelligence, machine learning, business intelligence, and data analysis. She is the author of <i>Data Divination – Big Data Strategies </i>and <i>ChatGPT For Dummies.</i>","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/34669"}}],"primaryCategoryTaxonomy":{"categoryId":33576,"title":"Generative AI","slug":"general-ai","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33576"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":207792,"title":"Reading Financial Reports For Dummies Cheat Sheet","slug":"reading-financial-reports-for-dummies-cheat-sheet","categoryList":["business-careers-money","business","accounting","calculation-analysis"],"_links":{"self":"/articles/207792"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}}],"inThisArticle":[],"relatedArticles":{"fromBook":[],"fromCategory":[{"articleId":302176,"title":"Improving CLM with Generative AI: Key Use Cases","slug":"improving-clm-with-generative-ai-key-use-cases","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/302176"}},{"articleId":301980,"title":"Enterprise Generative AI: Transforming Your Business","slug":"enterprise-generative-ai-transforming-your-business","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/301980"}},{"articleId":301240,"title":"Five Ways Machine Health Delivers Real Business Value","slug":"five-ways-machine-health-delivers-real-business-value","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/301240"}},{"articleId":299369,"title":"How ChatGPT Could Change Our Lives","slug":"how-chatgpt-could-change-our-lives","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/299369"}},{"articleId":299281,"title":"How to Write Prompts for ChatGPT","slug":"how-to-write-prompts-for-chatgpt","categoryList":["technology","information-technology","ai","general-ai"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/299281"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":302330,"slug":"generative-ai-for-dummies","isbn":"9781394270743","categoryList":["technology","information-technology","ai","general-ai"],"amazon":{"default":"https://www.amazon.com/gp/product/1394270747/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1394270747/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1394270747-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1394270747/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1394270747/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/generative-ai-for-dummies-cover-9781394270743-203x255.jpg","width":203,"height":255},"title":"Generative AI For Dummies","testBankPinActivationLink":"","bookOutOfPrint":true,"authorsInfo":"<p><p><b><b data-author-id=\"35299\">Pam Baker</b></b> is an award-winning freelance journalist, analyst, and author. Her previous book, <i>ChatGPT For Dummies</i>, was one of the first how-to guides for effective use of the ChatGPT platform. She writes for several media outlets, including <i>The New York Times</i>, CNN, <i>Ars Technica</i>, <i>InformationWeek</i>, and <I>CSO</I>. Baker is also an instructor on GenAI for LinkedIn Learning.</p>","authors":[{"authorId":35299,"name":"Pam Baker","slug":"pam-baker","description":" <p><b>Pam Baker</b> is an award-winning freelance journalist, analyst, and author. Her previous book, <i>ChatGPT For Dummies</i>, was one of the first how-to guides for effective use of the ChatGPT platform. She writes for several media outlets, including <i>The New York Times</i>, CNN, <i>Ars Technica</i>, <i>InformationWeek</i>, and <I>CSO</I>. Baker is also an instructor on GenAI for LinkedIn Learning. ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/35299"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;ai&quot;,&quot;general-ai&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781394270743&quot;]}]\" id=\"du-slot-67117b17a541e\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;ai&quot;,&quot;general-ai&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781394270743&quot;]}]\" id=\"du-slot-67117b17a5c03\"></div></div>"},"articleType":{"articleType":"Cheat Sheet","articleList":[{"articleId":0,"title":"","slug":null,"categoryList":[],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/"}}],"content":[{"title":"What GenAI Is, in Brief","thumb":null,"image":null,"content":"<p>Generative AI is software that behaves unlike any other software ever known. It’s not a robot. Robots are hardware. You could think of any AI as the brains of robots, but they can exist on other hardware that is not a robot, like a supercomputer, a laptop, or an autonomous car. Think of GenAI as arguably the most creative of all AI types and certainly the easiest to use since it understands and responds to human languages.</p>\n<p>GenAI can perform like an artist, writer, or composer to whip up paintings, stories, or music from scratch after just a quick chat about what you like or want it to do. This type of AI doesn’t just copy from its training data (although it can certainly do that, too, so watch out for plagiarism and copyright infringements); it learns from tons of examples and then generates hopefully original pieces, mixing and matching ideas and data like a chef creating a new recipe. It’s also the tech behind many of those cool apps you love like the ones that turn your selfies into cartoon characters or help you make brilliant and beautiful websites with just a few clicks!</p>\n<p>Generative AI operates by training on huge datasets to recognize patterns and understand different forms of content. One of the star players in this field is GPT (short for Generative Pre-trained Transformer), which is a type of language model that’s really good at understanding and generating human-like text. It’s like a virtual wordsmith that can chat, answer questions, write essays, or even write computer code.</p>\n<p>But Generative AI isn’t just about generating text. There are other options out there, like DALL-E and Midjourney, which can create images from descriptions you give it, or DeepMind’s WaveNet, which can generate life-like speech. These systems use neural networks, which are a bit like a web of digital brain cells, to learn from examples and then generate new content. They’re transforming how we create and interact with content across the board, from gaming to marketing to entertainment.</p>\n<p>It’s important to note that GPTs are not the only GenAI game in town. For example, Claude is built on a language model similar to but not GPT (Generative Pre-trained Transformer) architectures. Claude is built on a family of large language models (LLMs) developed by Anthropic. The latest generation is the Claude 3 model family, which includes three main variants: Opus, Sonnet, and Haiku. Midjourney is another example of a GenAI tool built on a non-GPT model. Midjourney is built on its own proprietary model architecture. Other examples also are based on open-source models.</p>\n"},{"title":"Common GenAI Tasks and Use Cases","thumb":null,"image":null,"content":"<p>Generative AI (GenAI) is used to spur and speed creativity, innovations, and problem-solving across numerous fields. Following are some of the most widespread applications, with a few specific examples:</p>\n<h3>Content Creation</h3>\n<ul>\n<li><strong>Writing and Editing:</strong> GenAI can craft engaging blog posts for a travel website, snappy social media updates for a fashion brand, or persuasive marketing copy for a new tech gadget. It can also refine or adjust existing articles to fit different audiences or word counts. It can help write more complex and esoteric works, too, such as white papers, scientific studies, medical research studies, and other long-form works such as feature articles, analytical reports, financial reports, ebooks, and traditional books.</li>\n<li><strong>Creative Writing:</strong> GenAI tools can also help write creative works such as a fantasy short story, compose a piece of ambient music for a meditation app, or generate unique recipes for a cooking blog.</li>\n</ul>\n<h3>Software Development</h3>\n<ul>\n<li><strong>Code Generation:</strong> GenAI tools like GitHub’s Copilot can suggest code snippets for a new app feature, find and fix bugs, or refactor code to improve its efficiency.</li>\n<li><strong>Documentation and Quality Assurance:</strong> GenAI can automatically generate user manuals and other documentation for a software release or create comprehensive test cases to ensure a new video game is bug-free.</li>\n</ul>\n<h3>Marketing and Sales</h3>\n<ul>\n<li><strong>Inbound and Outbound Marketing:</strong> GenAI can draft compelling email campaign subject lines for an e-commerce store or produce targeted ad copy for a fitness service’s Google Ads campaign or a newsletter.</li>\n<li><strong>Customer Relationship Management:</strong> GenAI-driven chatbots, such as those on a bank’s website, can answer customer inquiries about account services or suggest the best credit card options based on spending habits.</li>\n</ul>\n<h3>Data Analysis and Synthesis</h3>\n<ul>\n<li><strong>Summarizing Documents:</strong> GenAI can condense a lengthy financial report into a digestible executive summary or distill the main points from a series of customer feedback surveys.</li>\n<li><strong>Synthesizing Information:</strong> GenAI can sift through thousands of product reviews to provide a sentiment analysis or extract the most frequently mentioned features.</li>\n<li><strong>Data discovery:</strong> GenAI can find patterns in huge data sets that humans can’t and connect data points from a new perspective or to a new use. It’s so good at this that it’s a top use case for GenAI. Examples include finding new early detection methods for diseases and discovering emerging consumer trends earlier than traditional tools can.</li>\n</ul>\n<h3>Design and Product Development</h3>\n<ul>\n<li><strong>Generative Design:</strong> GenAI can, for example, propose a variety of smartphone case designs with optimal grip and aesthetics or generate aerodynamic shapes for a new sports car prototype.</li>\n<li><strong>Fashion Design:</strong> GenAI can turn a simple dress sketch into a range of style variations or create virtual models showcasing different fabrics and outfits for an online store.</li>\n</ul>\n<h3>Healthcare and Pharmaceuticals</h3>\n<ul>\n<li><strong>Drug Discovery: </strong>GenAI can accelerate the search for new drugs by predicting how different molecules will interact, potentially identifying new treatments for diseases like cancer.</li>\n<li><strong>Medical Imaging:</strong> GenAI can enhance MRI scans to help radiologists detect early signs of abnormalities or support the diagnosis of conditions such as fractures in X-rays.</li>\n</ul>\n<h3>Translation and Localization</h3>\n<ul>\n<li><strong>Language Translation:</strong> GenAI can assist in translating a user manual for a smartphone into multiple languages, though it may require human review to ensure cultural nuances are respected.</li>\n</ul>\n<h3>Fraud Detection and Risk Management</h3>\n<ul>\n<li><strong>Anomaly Detection:</strong> GenAI can monitor transaction data for a credit card company to spot unusual patterns that might indicate fraud or sift through insurance claims to detect inconsistencies.</li>\n</ul>\n<p class=\"article-tips tip\">These examples illustrate just a slice of the impressive range and potential of Generative AI, across industries from tech and marketing to fashion, healthcare, finance, and beyond.</p>\n"},{"title":"GenAI Options and How to Choose One for Your Projects","thumb":null,"image":null,"content":"<p>When assessing GenAI models for specific types of content creation, it’s crucial to conduct a thorough evaluation to ensure that the chosen model meets your specific needs. Here’s a distilled guide to help you navigate this process:</p>\n<ul>\n<li><strong>Understanding GenAI model types:</strong> Begin by acquainting yourself with the various GenAI models available that produce the type of outputs you seek. For example, if you want to produce images, check out DALL-E, Stable Diffusion, Midjourney, and other image generators. A multimodal GenAI tool like ChatGPT4o might serve you well, too. If you are looking to produce content in a specialized field like healthcare or customer service, check the enterprise apps your company is already using as they likely have GenAI embedded in the software that is trained to do that specific type of work. Take a look at GPTs in OpenAI’s GPT Store on ChatGPT, too, as well as the collection of specialized GenAI tools listed on services like Poe.</li>\n<li>If you’re looking to build a GenAI model or app yourself, check out cloud services like AWS, Azure, and Google to see which AI tools and services are easiest for you and your team to work with. Several options are available in open-source GenAI models. You might also want to consider integrating your application(s) with a GenAI model instead of building one from scratch. Look for APIs and keys like those offered by OpenAI</li>\n<li>If you are an individual or a small business, you might want to turn to one of the many GenAI-based chatbots on the market. For example, OpenAI’s GPTs and ChatGPT. ChatGPT Plus only costs $20 a month and gives you access to more features and access than the free version. Choose ChaptGPT Team if you want higher usage limits and to add people on the account. Team costs $25 per person/per month. An Enterprise version is also available that has far more bells and whistles in the way of features, and you can have more people on your account. You’ll have to contact the company for a quote as there isn’t a published price list for the Enterprise version. Prices, terms and features available on competing GenAI chatbots vary, and I recommend you check out several of them before selecting one or more to use.</li>\n<li><strong>Identifying content requirements</strong>: Clearly define the type of content you aim to produce. Whether it’s text-based like social media posts and articles or visual content such as images, your content requirements will guide you in selecting a GenAI model or application that can effectively fulfill those needs.</li>\n<li><strong>Evaluating performance metrics:</strong> Consider important performance indicators such as the relevance and quality of the generated content, the diversity of output, the speed of content generation, and the model’s ability to capture complex details. Evaluating these factors are essential in determining the suitability of a GenAI model for your content creation tasks.</li>\n<li><strong>Testing for fit</strong>: When you have narrowed down which GenAI models are most likely to do the job you want them to do, try them out and see how they fit. Most GenAI models have a free version or a free trial period. Even though the freebie versions may not contain the same capabilities as the premium versions, you can still get a feel for how each model fits your needs overall.</li>\n<li><strong>Considering integration:</strong> Assess the ease with which the GenAI models can be integrated into your existing workflows. A smooth integration process is key to streamlining content creation and enhancing the efficiency of producing various content types.</li>\n<li>If you don’t need to integrate GenAI with any other apps, you still might want to use integrated or embedded GenAI models. For example, consider using ChatGPT Plus to generate your text content and summoning the GPT Image Generator to build illustrations for you — while you’re still working in ChatGPT Plus. You can also find GenAI embedded or integrated in commercially available software that you’re probably already using, or that you can easily obtain. You’ll likely find software that is specialized for tasks in your industry or the work you want to do with GenAI to be particularly helpful.</li>\n<li>\n<p class=\"article-tips tip\">You may also want to consider copying and pasting the GenAI output into other software where you can edit and format the content more easily as well as distribute it. Most people port or copy &amp; paste outputs or integrate GenAI models for just this very reason.</p>\n</li>\n<li><strong>Efficiency and time savings:</strong> Determine the extent to which GenAI models can automate manual content creation tasks. This can free up your team to concentrate on strategic and creative aspects of content development, saving time and boosting productivity.</li>\n<li><strong>Ethical considerations:</strong> Finally, ensure that the GenAI models comply with ethical standards concerning data privacy, security, transparency, explainability, and intellectual property rights. Adherence to these guidelines is critical when creating content. Be sure to check and see whether your prompts and responses are retained by the GenAI model maker to train other GenAI models as this can expose proprietary data or company secrets.</li>\n</ul>\n<p>By following this guide and considering these key aspects, you can effectively evaluate how well different GenAI models meet your specific content creation needs.</p>\n"},{"title":"Advanced Prompting and Other Methods and Tips","thumb":null,"image":null,"content":"<p>Whether you’re looking to refine your GenAI-generated content or unlock new levels of creativity, mastering advanced prompting techniques and a few other tactics is how you get the content you want. From stitching together seamless narratives to orchestrating the work of multiple GenAI tools, each method gives you a different kind of control over the content you are creating with GenAI.</p>\n<p>Here are some ways and tips that will elevate you from a casual user to a skilled prompter and GenAI master:</p>\n<h3>Output Stitching</h3>\n<ul>\n<li><strong>Definition:</strong> This technique involves combining the outputs from more than one GenAI tool and manually combining the bits and pieces to create a cohesive final product. Or, you can also use this method to complete a work from chunk writing (working on one section at a time of a longer piece so as not to confuse the GenAI and get better results).</li>\n<li><strong>Example:</strong> If you’re generating a long-form article, you might first ask the GenAI to outline the piece and then generate each section individually, and finally, stitch them together in a coherent structure. Or, you can give the same prompt to two or more GenAI tools and stitch together the bits and pieces you choose from each to create a better output than you got from any one of them alone.</li>\n</ul>\n<h3>AI Aggregation</h3>\n<ul>\n<li><strong>Definition:</strong> AI aggregation refers to the process of collecting and synthesizing information or responses from multiple GenAI models or sources and using them collectively in a unified work.</li>\n<li><strong>Example:</strong> When looking for comprehensive information on a topic, you might prompt different GenAI models for their insights and compile the responses to form a well-rounded view. Or, you might use one GenAI model to write a blog post, another to generate an image or illustration, and another type of software with embedded GenAI to create a video to embed in that same post, too.</li>\n</ul>\n<h3>AI Chaining</h3>\n<ul>\n<li><strong>Definition:</strong> AI chaining is the sequential use of GenAI outputs as part or all of inputs for other GenAI tools.</li>\n<li><strong>Example: </strong>To make a computer game, a training video, or a movie film, you might prompt one GenAI tool to create character profiles and then use the output from that as the main substance of a prompt that you use in another GenAI tool to build a storyboard, generate a storyline, and draw key scenes. Then you might continue with subsequent prompts in yet another GenAI tool to flesh out a full narrative in an actual script. You can change the order of these steps, if you like. The point is that you are using multiple GenAI tools to do specialized tasks and then using those outputs as part of or the main thrust in prompts for other GenAI tools that are specialized in the next step or task you need to complete to eventually arrive at a finished, unified work.</li>\n</ul>\n<h3>Prompt Chaining</h3>\n<ul>\n<li><strong>Definition:</strong> Prompt chaining involves using the output of one prompt as part of the input for the next in the same chat on the same GenAI tool, creating a series of linked prompts and responses.</li>\n<li><strong>Example:</strong> If you’re designing a product, start with a prompt to generate a concept, use the response as a base for the next prompt to refine the design, and continue until you reach a final detailed blueprint.</li>\n</ul>\n<h3>Prompting with Different Roles in the Same Prompt</h3>\n<ul>\n<li><strong>Definition:</strong> This method assigns different roles or perspectives within the same prompt to generate diverse and multi-faceted content.</li>\n<li><strong>Example: </strong>When creating a training dialogue, you might prompt the GenAI to adopt the roles of both a customer and a customer service representative to simulate a realistic conversation. Another example is to form a virtual committee of experts. test audiences, communities, voters, users, and any mix of people and experts you like as a command in your prompt. The response will deliver answers and interactions from these different roles and personas to further enlighten, inspire or deliver divers insights for your work.</li>\n</ul>\n<p>By leveraging these advanced prompting and methods, you’ll not only refine the quality of the content produced but also expand the capabilities of the GenAI to meet your more complex and nuanced demands.</p>\n<p class=\"article-tips remember\">The key to successful prompting lies in clarity, specificity, and creativity — so experiment freely and watch as your prompts bring forth GenAI-generated works that are truly useful and better matched to your needs and goals.</p>\n"}],"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Advance","lifeExpectancy":"One year","lifeExpectancySetFrom":"2024-10-17T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":302379},{"headers":{"creationTime":"2020-02-18T20:45:52+00:00","modifiedTime":"2024-09-24T17:47:01+00:00","timestamp":"2024-09-24T18:01:08+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Information Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33572"},"slug":"information-technology","categoryId":33572},{"name":"Data Science","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33577"},"slug":"data-science","categoryId":33577},{"name":"General Data Science","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33580"},"slug":"general-data-science","categoryId":33580}],"title":"Linear Regression vs. Logistic Regression","strippedTitle":"linear regression vs. logistic regression","slug":"linear-regression-vs-logistic-regression","canonicalUrl":"","seo":{"metaDescription":"Wondering how to differentiate between linear and logistic regression? Learn the difference here and see how it applies to data science.","noIndex":0,"noFollow":0},"content":"Both linear and logistic regression see a lot of use in <a href=\"https://www.dummies.com/article/technology/information-technology/data-science/general-data-science/data-science-programming-all-in-one-for-dummies-cheat-sheet-266847/\">data science</a> but are commonly used for different kinds of problems. You need to know and understand both types of regression to perform a full range of data science tasks.\r\n\r\nOf the two, logistic regression is harder to understand in many respects because it necessarily uses a more complex equation model. The following information gives you a basic overview of how linear and logistic regression differ.\r\n<h2 id=\"tab1\" >The equation model</h2>\r\nAny discussion of the difference between linear and logistic regression must start with the underlying equation model. The equation for linear regression is straightforward.\r\n<pre class=\"code\">y = a + bx</pre>\r\nYou may see this equation in other forms and you may see it called ordinary least squares regression, but the essential concept is always the same. Depending on the source you use, some of the equations used to express logistic regression can become downright terrifying unless you’re a math major. However, the start of this discussion can use one of the simplest views of logistic regression:\r\n<pre class=\"code\">p = f(a + bx)</pre>\r\n<code>&gt;p</code>, is equal to the logistic function, <span style=\"text-decoration: line-through;\">f</span>, applied to two model parameters, <code>a</code> and <code>b</code>, and one explanatory variable, <code>x</code>. When you look at this particular model, you see that it really isn’t all that different from the linear regression model, except that you now feed the result of the linear regression through the logistic function to obtain the required curve.\r\n\r\nThe output (dependent variable) is a probability ranging from 0 (not going to happen) to 1 (definitely will happen), or a categorization that says something is either part of the category or not part of the category. (You can also perform multiclass categorization, but focus on the binary response for now.) The best way to view the difference between linear regression output and logistic regression output is to say that the following:\r\n<ul>\r\n \t<li><strong>Linear regression is continuous.</strong> A continuous value can take any value within a specified interval (range) of values. For example, no matter how closely the height of two individuals matches, you can always find someone whose height fits between those two individuals. Examples of continuous values include:\r\n<ul>\r\n \t<li>Height</li>\r\n \t<li>Weight</li>\r\n \t<li>Waist size</li>\r\n</ul>\r\n</li>\r\n \t<li><strong>Logistic regression is discrete.</strong> A discrete value has specific values that it can assume. For example, a hospital can admit only a specific number of patients in a given day. You can’t admit half a patient (at least, not alive). Examples of discrete values include:\r\n<ul>\r\n \t<li>Number of people at the fair</li>\r\n \t<li>Number of jellybeans in the jar</li>\r\n \t<li>Colors of automobiles produced by a vendor</li>\r\n</ul>\r\n</li>\r\n</ul>\r\n<h2 id=\"tab2\" >The logistic function</h2>\r\nOf course, now you need to know about the logistic function. You can find a variety of forms of this function as well, but here’s the easiest one to understand:\r\n<pre class=\"code\">f(x) = e&lt;sup&gt;x&lt;/sup&gt; / e&lt;sup&gt;x&lt;/sup&gt; + 1</pre>\r\nYou already know about <code>f</code>, which is the logistic function, and <code>x</code> equals the algorithm you want to use, which is <code>a + bx </code>in this case. That leaves <code>e</code>, which is the natural logarithm and has an irrational value of 2.718, for the sake of discussion (<a href=\"https://www.intmath.com/exponential-logarithmic-functions/5-logs-base-e-ln.php\">check out a better approximation of the whole value</a>). Another way you see this function expressed is\r\n<pre class=\"code\">f(x) = 1 / (1 + e&lt;sup&gt;-x&lt;/sup&gt;)</pre>\r\nBoth forms are correct, but the first form is easier to use. Consider a simple problem in which <code>a</code>, the y-intercept, is 0, and <code>\"&gt;b</code>, the slope, is 1. The example uses <code>x</code> values from –6 to 6. Consequently, the first <code>f(x)</code> value would look like this when calculated (all values are rounded):\r\n<pre class=\"code\"> \r\n(1) e&lt;sup&gt;-6&lt;/sup&gt; / (1 + e&lt;sup&gt;-6&lt;/sup&gt;)\r\n(2) 0.00248 / 1 + 0.00248\r\n(3) 0.002474</pre>\r\nAs you might expect, an <code>x</code>value of 0 would result in an <code>f(x)</code> value of 0.5, and an <code>x</code> value of 6 would result in an <code>f(x)</code> value of 0.9975. Obviously, a linear regression would show different results for precisely the same <code>x</code> values. If you calculate and plot all the results from both logistic and linear regression using the following code, you receive a plot like the one below.\r\n<pre class=\"code\">import matplotlib.pyplot as plt\r\n%matplotlib inline\r\nfrom math import exp\r\n \r\nx_values = range(-6, 7)\r\nlin_values = [(0 + 1*x) / 13 for x in range(0, 13)]\r\nlog_values = [exp(0 + 1*x) / (1 + exp(0 + 1*x))\r\nfor x in x_values]\r\n \r\nplt.plot(x_values, lin_values, 'b-^')\r\nplt.plot(x_values, log_values, 'g-*')\r\nplt.legend(['Linear', 'Logistic'])\r\nplt.show()</pre>\r\n[caption id=\"attachment_268339\" align=\"aligncenter\" width=\"556\"]<img class=\"wp-image-268339 size-full\" src=\"https://www.dummies.com/wp-content/uploads/data-science-programming-contrast-linear-logistic-regression.jpg\" alt=\"Contrasting linear to logistic regression\" width=\"556\" height=\"368\" /> Contrasting linear to logistic regression.[/caption]\r\n\r\nThis example relies on <a href=\"https://www.pythonforbeginners.com/basics/list-comprehensions-in-python\">list comprehension</a> to calculate the values because it makes the calculations clearer. The linear regression uses a different numeric range because you must normalize the values to appear in the 0 to 1 range for comparison. This is also why you divide the calculated values by 13. The <code>exp(x)</code> call used for the logistic regression raises <code>e</code> to the power of <code>x</code>, <code>e&lt;sup&gt;x&lt;/sup&gt;</code>, as needed for the logistic function.\r\n<p class=\"article-tips warning\">The model discussed here is simplified, and some math majors out there are probably throwing a temper tantrum of the most profound proportions right now. The Python or R package you use will actually take care of the math in the background, so really, what you need to know is how the math works at a basic level so that you can understand<a href=\"https://www.dummies.com/programming/python/view-python-package-documentation/\"> how to use the packages</a>. This section provides what you need to use the packages. However, if you insist on carrying out the calculations the old way, chalk to chalkboard, you’ll likely need a lot more information.</p>\r\n\r\n<h2 id=\"tab3\" >The problems that logistic regression solves</h2>\r\nYou can separate logistic regression into several categories. The first is simple logistic regression, in which you have one dependent variable and one independent variable, much as you see in simple linear regression. However, because of how you calculate the logistic regression, you can expect only two kinds of output:\r\n<ul>\r\n \t<li><strong>Classification:</strong> Decides between two available outcomes, such as male or female, yes or no, or high or low. The outcome is dependent on which side of the line a particular data point falls.</li>\r\n \t<li><strong>Probability:</strong> Determines the probability that something is true or false. The values true and false can have specific meanings. For example, you might want to know the probability that a particular apple will be yellow or red based on the presence of yellow and red apples in a bin.</li>\r\n</ul>\r\n<h2 id=\"tab4\" >Fit the curve</h2>\r\nAs part of understanding the difference between linear and logistic regression, consider this grade prediction problem, which lends itself well to linear regression. In the following code, you see the effect of trying to use logistic regression with that data:\r\n<pre class=\"code\">x1 = range(0,9)\r\ny1 = (0.25, 0.33, 0.41, 0.53, 0.59,\r\n0.70, 0.78, 0.86, 0.98)\r\nplt.scatter(x1, y1, c='r')\r\n \r\nlin_values = [0.242 + 0.0933*x for x in x1]\r\nlog_values = [exp(0.242 + .9033*x) /\r\n(1 + exp(0.242 + .9033*x))\r\nfor x in range(-4, 5)]\r\n \r\nplt.plot(x1, lin_values, 'b-^')\r\nplt.plot(x1, log_values, 'g-*')\r\nplt.legend(['Linear', 'Logistic', 'Org Data'])\r\nplt.show()</pre>\r\nThe example has undergone a few changes to make it easier to see precisely what is happening. It relies on the same data that was converted from questions answered correctly on the exam to a percentage. If you have 100 questions and you answer 25 of them correctly, you have answered 25 percent (0.25) of them correctly. The values are normalized to produce values between 0 and 1 percent.\r\n\r\n[caption id=\"attachment_268336\" align=\"aligncenter\" width=\"556\"]<img class=\"wp-image-268336 size-full\" src=\"https://www.dummies.com/wp-content/uploads/data-science-programming-fitting-data.jpg\" alt=\"fitting the data for data science\" width=\"556\" height=\"365\" /> Considering the approach to fitting the data.[/caption]\r\n\r\nAs you can see from the image above, the linear regression follows the data points closely. The logistic regression doesn’t. However, logistic regression often is the correct choice when the data points naturally follow the logistic curve, which happens far more often than you might think. You must use the technique that fits your data best, which means using linear regression in this case.\r\n<h2 id=\"tab5\" >A pass/fail example</h2>\r\nAn essential point to remember is that logistic regression works best for probability and classification. Consider that points on an exam ultimately predict passing or failing the course. If you get a certain percentage of the answers correct, you pass, but you fail otherwise. The following code considers the same data used for the example above, but converts it to a pass/fail list. When a student gets at least 70 percent of the questions correct, success is assured.\r\n<pre class=\"code\">y2 = [0 if x &lt; 0.70 else 1 for x in y1]\r\nplt.scatter(x1, y2, c='r')\r\n \r\nlin_values = [0.242 + 0.0933*x for x in x1]\r\nlog_values = [exp(0.242 + .9033*x) /\r\n(1 + exp(0.242 + .9033*x))\r\nfor x in range(-4, 5)]\r\n \r\nplt.plot(x1, lin_values, 'b-^')\r\nplt.plot(x1, log_values, 'g-*')\r\nplt.legend(['Linear', 'Logistic', 'Org Data'])\r\nplt.show()</pre>\r\nThis is an example of how <a href=\"https://www.dummies.com/programming/big-data/data-science/using-the-python-ecosystem-for-data-science/\">you can use list comprehensions in Python</a> to obtain a required dataset or data transformation. The list comprehension for <code>y2</code> starts with the continuous data in <code>y1</code> and turns it into discrete data. Note that the example uses precisely the same equations as before. All that has changed is the manner in which you view the data, as you can see below.\r\n\r\n[caption id=\"attachment_268335\" align=\"aligncenter\" width=\"556\"]<img class=\"wp-image-268335 size-full\" src=\"https://www.dummies.com/wp-content/uploads/data-science-programming-linear-vs-logistic-regression.jpg\" alt=\"linear vs logistic regression\" width=\"556\" height=\"363\" /> Contrasting linear to logistic regression.[/caption]\r\n\r\nBecause of the change in the data, linear regression is no longer the option to choose. Instead, you use logistic regression to fit the data. Take into account that this example really hasn’t done any sort of analysis to optimize the results. The logistic regression fits the data even better if you do so.","description":"Both linear and logistic regression see a lot of use in <a href=\"https://www.dummies.com/article/technology/information-technology/data-science/general-data-science/data-science-programming-all-in-one-for-dummies-cheat-sheet-266847/\">data science</a> but are commonly used for different kinds of problems. You need to know and understand both types of regression to perform a full range of data science tasks.\r\n\r\nOf the two, logistic regression is harder to understand in many respects because it necessarily uses a more complex equation model. The following information gives you a basic overview of how linear and logistic regression differ.\r\n<h2 id=\"tab1\" >The equation model</h2>\r\nAny discussion of the difference between linear and logistic regression must start with the underlying equation model. The equation for linear regression is straightforward.\r\n<pre class=\"code\">y = a + bx</pre>\r\nYou may see this equation in other forms and you may see it called ordinary least squares regression, but the essential concept is always the same. Depending on the source you use, some of the equations used to express logistic regression can become downright terrifying unless you’re a math major. However, the start of this discussion can use one of the simplest views of logistic regression:\r\n<pre class=\"code\">p = f(a + bx)</pre>\r\n<code>&gt;p</code>, is equal to the logistic function, <span style=\"text-decoration: line-through;\">f</span>, applied to two model parameters, <code>a</code> and <code>b</code>, and one explanatory variable, <code>x</code>. When you look at this particular model, you see that it really isn’t all that different from the linear regression model, except that you now feed the result of the linear regression through the logistic function to obtain the required curve.\r\n\r\nThe output (dependent variable) is a probability ranging from 0 (not going to happen) to 1 (definitely will happen), or a categorization that says something is either part of the category or not part of the category. (You can also perform multiclass categorization, but focus on the binary response for now.) The best way to view the difference between linear regression output and logistic regression output is to say that the following:\r\n<ul>\r\n \t<li><strong>Linear regression is continuous.</strong> A continuous value can take any value within a specified interval (range) of values. For example, no matter how closely the height of two individuals matches, you can always find someone whose height fits between those two individuals. Examples of continuous values include:\r\n<ul>\r\n \t<li>Height</li>\r\n \t<li>Weight</li>\r\n \t<li>Waist size</li>\r\n</ul>\r\n</li>\r\n \t<li><strong>Logistic regression is discrete.</strong> A discrete value has specific values that it can assume. For example, a hospital can admit only a specific number of patients in a given day. You can’t admit half a patient (at least, not alive). Examples of discrete values include:\r\n<ul>\r\n \t<li>Number of people at the fair</li>\r\n \t<li>Number of jellybeans in the jar</li>\r\n \t<li>Colors of automobiles produced by a vendor</li>\r\n</ul>\r\n</li>\r\n</ul>\r\n<h2 id=\"tab2\" >The logistic function</h2>\r\nOf course, now you need to know about the logistic function. You can find a variety of forms of this function as well, but here’s the easiest one to understand:\r\n<pre class=\"code\">f(x) = e&lt;sup&gt;x&lt;/sup&gt; / e&lt;sup&gt;x&lt;/sup&gt; + 1</pre>\r\nYou already know about <code>f</code>, which is the logistic function, and <code>x</code> equals the algorithm you want to use, which is <code>a + bx </code>in this case. That leaves <code>e</code>, which is the natural logarithm and has an irrational value of 2.718, for the sake of discussion (<a href=\"https://www.intmath.com/exponential-logarithmic-functions/5-logs-base-e-ln.php\">check out a better approximation of the whole value</a>). Another way you see this function expressed is\r\n<pre class=\"code\">f(x) = 1 / (1 + e&lt;sup&gt;-x&lt;/sup&gt;)</pre>\r\nBoth forms are correct, but the first form is easier to use. Consider a simple problem in which <code>a</code>, the y-intercept, is 0, and <code>\"&gt;b</code>, the slope, is 1. The example uses <code>x</code> values from –6 to 6. Consequently, the first <code>f(x)</code> value would look like this when calculated (all values are rounded):\r\n<pre class=\"code\"> \r\n(1) e&lt;sup&gt;-6&lt;/sup&gt; / (1 + e&lt;sup&gt;-6&lt;/sup&gt;)\r\n(2) 0.00248 / 1 + 0.00248\r\n(3) 0.002474</pre>\r\nAs you might expect, an <code>x</code>value of 0 would result in an <code>f(x)</code> value of 0.5, and an <code>x</code> value of 6 would result in an <code>f(x)</code> value of 0.9975. Obviously, a linear regression would show different results for precisely the same <code>x</code> values. If you calculate and plot all the results from both logistic and linear regression using the following code, you receive a plot like the one below.\r\n<pre class=\"code\">import matplotlib.pyplot as plt\r\n%matplotlib inline\r\nfrom math import exp\r\n \r\nx_values = range(-6, 7)\r\nlin_values = [(0 + 1*x) / 13 for x in range(0, 13)]\r\nlog_values = [exp(0 + 1*x) / (1 + exp(0 + 1*x))\r\nfor x in x_values]\r\n \r\nplt.plot(x_values, lin_values, 'b-^')\r\nplt.plot(x_values, log_values, 'g-*')\r\nplt.legend(['Linear', 'Logistic'])\r\nplt.show()</pre>\r\n[caption id=\"attachment_268339\" align=\"aligncenter\" width=\"556\"]<img class=\"wp-image-268339 size-full\" src=\"https://www.dummies.com/wp-content/uploads/data-science-programming-contrast-linear-logistic-regression.jpg\" alt=\"Contrasting linear to logistic regression\" width=\"556\" height=\"368\" /> Contrasting linear to logistic regression.[/caption]\r\n\r\nThis example relies on <a href=\"https://www.pythonforbeginners.com/basics/list-comprehensions-in-python\">list comprehension</a> to calculate the values because it makes the calculations clearer. The linear regression uses a different numeric range because you must normalize the values to appear in the 0 to 1 range for comparison. This is also why you divide the calculated values by 13. The <code>exp(x)</code> call used for the logistic regression raises <code>e</code> to the power of <code>x</code>, <code>e&lt;sup&gt;x&lt;/sup&gt;</code>, as needed for the logistic function.\r\n<p class=\"article-tips warning\">The model discussed here is simplified, and some math majors out there are probably throwing a temper tantrum of the most profound proportions right now. The Python or R package you use will actually take care of the math in the background, so really, what you need to know is how the math works at a basic level so that you can understand<a href=\"https://www.dummies.com/programming/python/view-python-package-documentation/\"> how to use the packages</a>. This section provides what you need to use the packages. However, if you insist on carrying out the calculations the old way, chalk to chalkboard, you’ll likely need a lot more information.</p>\r\n\r\n<h2 id=\"tab3\" >The problems that logistic regression solves</h2>\r\nYou can separate logistic regression into several categories. The first is simple logistic regression, in which you have one dependent variable and one independent variable, much as you see in simple linear regression. However, because of how you calculate the logistic regression, you can expect only two kinds of output:\r\n<ul>\r\n \t<li><strong>Classification:</strong> Decides between two available outcomes, such as male or female, yes or no, or high or low. The outcome is dependent on which side of the line a particular data point falls.</li>\r\n \t<li><strong>Probability:</strong> Determines the probability that something is true or false. The values true and false can have specific meanings. For example, you might want to know the probability that a particular apple will be yellow or red based on the presence of yellow and red apples in a bin.</li>\r\n</ul>\r\n<h2 id=\"tab4\" >Fit the curve</h2>\r\nAs part of understanding the difference between linear and logistic regression, consider this grade prediction problem, which lends itself well to linear regression. In the following code, you see the effect of trying to use logistic regression with that data:\r\n<pre class=\"code\">x1 = range(0,9)\r\ny1 = (0.25, 0.33, 0.41, 0.53, 0.59,\r\n0.70, 0.78, 0.86, 0.98)\r\nplt.scatter(x1, y1, c='r')\r\n \r\nlin_values = [0.242 + 0.0933*x for x in x1]\r\nlog_values = [exp(0.242 + .9033*x) /\r\n(1 + exp(0.242 + .9033*x))\r\nfor x in range(-4, 5)]\r\n \r\nplt.plot(x1, lin_values, 'b-^')\r\nplt.plot(x1, log_values, 'g-*')\r\nplt.legend(['Linear', 'Logistic', 'Org Data'])\r\nplt.show()</pre>\r\nThe example has undergone a few changes to make it easier to see precisely what is happening. It relies on the same data that was converted from questions answered correctly on the exam to a percentage. If you have 100 questions and you answer 25 of them correctly, you have answered 25 percent (0.25) of them correctly. The values are normalized to produce values between 0 and 1 percent.\r\n\r\n[caption id=\"attachment_268336\" align=\"aligncenter\" width=\"556\"]<img class=\"wp-image-268336 size-full\" src=\"https://www.dummies.com/wp-content/uploads/data-science-programming-fitting-data.jpg\" alt=\"fitting the data for data science\" width=\"556\" height=\"365\" /> Considering the approach to fitting the data.[/caption]\r\n\r\nAs you can see from the image above, the linear regression follows the data points closely. The logistic regression doesn’t. However, logistic regression often is the correct choice when the data points naturally follow the logistic curve, which happens far more often than you might think. You must use the technique that fits your data best, which means using linear regression in this case.\r\n<h2 id=\"tab5\" >A pass/fail example</h2>\r\nAn essential point to remember is that logistic regression works best for probability and classification. Consider that points on an exam ultimately predict passing or failing the course. If you get a certain percentage of the answers correct, you pass, but you fail otherwise. The following code considers the same data used for the example above, but converts it to a pass/fail list. When a student gets at least 70 percent of the questions correct, success is assured.\r\n<pre class=\"code\">y2 = [0 if x &lt; 0.70 else 1 for x in y1]\r\nplt.scatter(x1, y2, c='r')\r\n \r\nlin_values = [0.242 + 0.0933*x for x in x1]\r\nlog_values = [exp(0.242 + .9033*x) /\r\n(1 + exp(0.242 + .9033*x))\r\nfor x in range(-4, 5)]\r\n \r\nplt.plot(x1, lin_values, 'b-^')\r\nplt.plot(x1, log_values, 'g-*')\r\nplt.legend(['Linear', 'Logistic', 'Org Data'])\r\nplt.show()</pre>\r\nThis is an example of how <a href=\"https://www.dummies.com/programming/big-data/data-science/using-the-python-ecosystem-for-data-science/\">you can use list comprehensions in Python</a> to obtain a required dataset or data transformation. The list comprehension for <code>y2</code> starts with the continuous data in <code>y1</code> and turns it into discrete data. Note that the example uses precisely the same equations as before. All that has changed is the manner in which you view the data, as you can see below.\r\n\r\n[caption id=\"attachment_268335\" align=\"aligncenter\" width=\"556\"]<img class=\"wp-image-268335 size-full\" src=\"https://www.dummies.com/wp-content/uploads/data-science-programming-linear-vs-logistic-regression.jpg\" alt=\"linear vs logistic regression\" width=\"556\" height=\"363\" /> Contrasting linear to logistic regression.[/caption]\r\n\r\nBecause of the change in the data, linear regression is no longer the option to choose. Instead, you use logistic regression to fit the data. Take into account that this example really hasn’t done any sort of analysis to optimize the results. The logistic regression fits the data even better if you do so.","blurb":"","authors":[{"authorId":9109,"name":"John Paul Mueller","slug":"john-paul-mueller","description":" <p> <b>This All-in-One draws on the work of top authors in the <i>For Dummies </i>series who’ve created books designed to help data professionals do their work. The experts are Jack Hyman, Luca Massaron, Paul McFedries, John Paul Mueller, Lillian Pierson, Jonathan Reichental PhD, Joseph Schmuller PhD, Alan Simon, and Allen G. Taylor.</b> ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9109"}},{"authorId":9110,"name":"Luca Massaron","slug":"luca-massaron","description":" <p> <b>This All-in-One draws on the work of top authors in the <i>For Dummies </i>series who’ve created books designed to help data professionals do their work. The experts are Jack Hyman, Luca Massaron, Paul McFedries, John Paul Mueller, Lillian Pierson, Jonathan Reichental PhD, Joseph Schmuller PhD, Alan Simon, and Allen G. Taylor.</b> ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9110"}}],"primaryCategoryTaxonomy":{"categoryId":33580,"title":"General Data Science","slug":"general-data-science","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33580"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":[{"articleId":192609,"title":"How to Pray the Rosary: A Comprehensive Guide","slug":"how-to-pray-the-rosary","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/192609"}},{"articleId":207792,"title":"Reading Financial Reports For Dummies Cheat Sheet","slug":"reading-financial-reports-for-dummies-cheat-sheet","categoryList":["business-careers-money","business","accounting","calculation-analysis"],"_links":{"self":"/articles/207792"}},{"articleId":230957,"title":"Nikon D3400 For Dummies Cheat Sheet","slug":"nikon-d3400-dummies-cheat-sheet","categoryList":["home-auto-hobbies","photography"],"_links":{"self":"/articles/230957"}},{"articleId":208741,"title":"Kabbalah For Dummies Cheat Sheet","slug":"kabbalah-for-dummies-cheat-sheet","categoryList":["body-mind-spirit","religion-spirituality","kabbalah"],"_links":{"self":"/articles/208741"}},{"articleId":235851,"title":"Praying the Rosary and Meditating on the Mysteries","slug":"praying-rosary-meditating-mysteries","categoryList":["body-mind-spirit","religion-spirituality","christianity","catholicism"],"_links":{"self":"/articles/235851"}}],"inThisArticle":[{"label":"The equation model","target":"#tab1"},{"label":"The logistic function","target":"#tab2"},{"label":"The problems that logistic regression solves","target":"#tab3"},{"label":"Fit the curve","target":"#tab4"},{"label":"A pass/fail example","target":"#tab5"}],"relatedArticles":{"fromBook":[{"articleId":268303,"title":"How Data is Collected and Why It Can Be Problematic","slug":"how-data-is-collected-and-why-it-can-be-problematic","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/268303"}},{"articleId":268298,"title":"How to Perform Pattern Matching in Python","slug":"how-to-perform-pattern-matching-in-python","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/268298"}},{"articleId":268293,"title":"How Pattern Matching Works in Data Science","slug":"how-pattern-matching-works-in-data-science","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/268293"}},{"articleId":268288,"title":"The Need for Reliable Sources in Data Science Applications","slug":"the-need-for-reliable-sources-in-data-science-applications","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/268288"}},{"articleId":268285,"title":"The Basics of Deep Learning Framework Usage and Low-End Framework Options","slug":"the-basics-of-deep-learning-framework-usage-and-low-end-framework-options","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/268285"}}],"fromCategory":[{"articleId":301769,"title":"Data Analytics & Visualization All-in-One Cheat Sheet","slug":"data-analytics-visualization-all-in-one-cheat-sheet","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/301769"}},{"articleId":289776,"title":"Decision Intelligence For Dummies Cheat Sheet","slug":"decision-intelligence-for-dummies-cheat-sheet","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/289776"}},{"articleId":289744,"title":"Microsoft Power BI For Dummies Cheat Sheet","slug":"microsoft-power-bi-for-dummies-cheat-sheet","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/289744"}},{"articleId":275249,"title":"Laws and Regulations You Should Know for Blockchain Data Analysis Projects","slug":"laws-and-regulations-you-should-know-for-blockchain-data-analysis-projects","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/275249"}},{"articleId":275244,"title":"Aligning Blockchain Data with Real-World Business Processes","slug":"aligning-blockchain-data-with-real-world-business-processes","categoryList":["technology","information-technology","data-science","general-data-science"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/275244"}}]},"hasRelatedBookFromSearch":false,"relatedBook":{"bookId":281678,"slug":"data-science-programming-all-in-one-for-dummies-2","isbn":"9781119626114","categoryList":["technology","information-technology","data-science","general-data-science"],"amazon":{"default":"https://www.amazon.com/gp/product/1119626110/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1119626110/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1119626110-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1119626110/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1119626110/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://www.dummies.com/wp-content/uploads/data-science-programming-all-in-one-for-dummies-cover-9781119626114-203x255.jpg","width":203,"height":255},"title":"Data Science Programming All-in-One For Dummies","testBankPinActivationLink":"","bookOutOfPrint":true,"authorsInfo":"<p><p> <b>This All-in-One draws on the work of top authors in the <i>For Dummies </i>series who’ve created books designed to help data professionals do their work. The experts are Jack Hyman, Luca Massaron, Paul McFedries, <b data-author-id=\"9109\">John Paul Mueller</b>, Lillian Pierson, Jonathan Reichental PhD, Joseph Schmuller PhD, Alan Simon, and Allen G. Taylor.</b> <p> <b>This All-in-One draws on the work of top authors in the <i>For Dummies </i>series who’ve created books designed to help data professionals do their work. The experts are Jack Hyman, <b data-author-id=\"9110\">Luca Massaron</b>, Paul McFedries, John Paul Mueller, Lillian Pierson, Jonathan Reichental PhD, Joseph Schmuller PhD, Alan Simon, and Allen G. Taylor.</b></p>","authors":[{"authorId":9109,"name":"John Paul Mueller","slug":"john-paul-mueller","description":" <p> <b>This All-in-One draws on the work of top authors in the <i>For Dummies </i>series who’ve created books designed to help data professionals do their work. The experts are Jack Hyman, Luca Massaron, Paul McFedries, John Paul Mueller, Lillian Pierson, Jonathan Reichental PhD, Joseph Schmuller PhD, Alan Simon, and Allen G. Taylor.</b> ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9109"}},{"authorId":9110,"name":"Luca Massaron","slug":"luca-massaron","description":" <p> <b>This All-in-One draws on the work of top authors in the <i>For Dummies </i>series who’ve created books designed to help data professionals do their work. The experts are Jack Hyman, Luca Massaron, Paul McFedries, John Paul Mueller, Lillian Pierson, Jonathan Reichental PhD, Joseph Schmuller PhD, Alan Simon, and Allen G. Taylor.</b> ","hasArticle":false,"_links":{"self":"https://dummies-api.dummies.com/v2/authors/9110"}}],"_links":{"self":"https://dummies-api.dummies.com/v2/books/"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;data-science&quot;,&quot;general-data-science&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119626114&quot;]}]\" id=\"du-slot-66f2fe651eb5d\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;information-technology&quot;,&quot;data-science&quot;,&quot;general-data-science&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[&quot;9781119626114&quot;]}]\" id=\"du-slot-66f2fe6520a09\"></div></div>"},"articleType":{"articleType":"Articles","articleList":null,"content":null,"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Advance","lifeExpectancy":"One year","lifeExpectancySetFrom":"2024-09-24T00:00:00+00:00","dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":268328}],"_links":{"self":{"self":"https://dummies-api.dummies.com/v2/categories/33572/categoryArticles?sortField=time&sortOrder=1&size=10&offset=0"},"next":{"self":"https://dummies-api.dummies.com/v2/categories/33572/categoryArticles?sortField=time&sortOrder=1&size=10&offset=10"},"last":{"self":"https://dummies-api.dummies.com/v2/categories/33572/categoryArticles?sortField=time&sortOrder=1&size=10&offset=809"}}},"objectTitle":"","status":"success","pageType":"article-category","objectId":"33572","page":1,"sortField":"time","sortOrder":1,"categoriesIds":[],"articleTypes":[],"filterData":{"categoriesFilter":[{"itemId":0,"itemName":"All Categories","count":816},{"itemId":33574,"itemName":"AI","count":158},{"itemId":33577,"itemName":"Data Science","count":369},{"itemId":33586,"itemName":"General Information Technology","count":22},{"itemId":33572,"itemName":"Information Technology","count":1},{"itemId":33581,"itemName":"Networking","count":266}],"articleTypeFilter":[{"articleType":"All Types","count":816},{"articleType":"Articles","count":749},{"articleType":"Cheat Sheet","count":41},{"articleType":"Step by Step","count":24},{"articleType":"Videos","count":2}]},"filterDataLoadedStatus":"success","pageSize":10},"adsState":{"pageScripts":{"headers":{"timestamp":"2025-06-04T00:50:01+00:00"},"adsId":0,"data":{"scripts":[{"pages":["all"],"location":"header","script":"<!--Optimizely Script-->\r\n<script src=\"https://cdn.optimizely.com/js/10563184655.js\"></script>","enabled":false},{"pages":["all"],"location":"header","script":"<!-- comScore Tag -->\r\n<script>var _comscore = _comscore || [];_comscore.push({ c1: \"2\", c2: \"15097263\" });(function() {var s = document.createElement(\"script\"), el = document.getElementsByTagName(\"script\")[0]; s.async = true;s.src = (document.location.protocol == \"https:\" ? \"https://sb\" : \"http://b\") + \".scorecardresearch.com/beacon.js\";el.parentNode.insertBefore(s, el);})();</script><noscript><img src=\"https://sb.scorecardresearch.com/p?c1=2&c2=15097263&cv=2.0&cj=1\" /></noscript>\r\n<!-- / comScore Tag -->","enabled":true},{"pages":["all"],"location":"footer","script":"<!--BEGIN QUALTRICS WEBSITE FEEDBACK SNIPPET-->\r\n<script type='text/javascript'>\r\n(function(){var g=function(e,h,f,g){\r\nthis.get=function(a){for(var a=a+\"=\",c=document.cookie.split(\";\"),b=0,e=c.length;b<e;b++){for(var d=c[b];\" \"==d.charAt(0);)d=d.substring(1,d.length);if(0==d.indexOf(a))return d.substring(a.length,d.length)}return null};\r\nthis.set=function(a,c){var b=\"\",b=new Date;b.setTime(b.getTime()+6048E5);b=\"; expires=\"+b.toGMTString();document.cookie=a+\"=\"+c+b+\"; path=/; \"};\r\nthis.check=function(){var a=this.get(f);if(a)a=a.split(\":\");else if(100!=e)\"v\"==h&&(e=Math.random()>=e/100?0:100),a=[h,e,0],this.set(f,a.join(\":\"));else return!0;var c=a[1];if(100==c)return!0;switch(a[0]){case \"v\":return!1;case \"r\":return c=a[2]%Math.floor(100/c),a[2]++,this.set(f,a.join(\":\")),!c}return!0};\r\nthis.go=function(){if(this.check()){var a=document.createElement(\"script\");a.type=\"text/javascript\";a.src=g;document.body&&document.body.appendChild(a)}};\r\nthis.start=function(){var t=this;\"complete\"!==document.readyState?window.addEventListener?window.addEventListener(\"load\",function(){t.go()},!1):window.attachEvent&&window.attachEvent(\"onload\",function(){t.go()}):t.go()};};\r\ntry{(new g(100,\"r\",\"QSI_S_ZN_5o5yqpvMVjgDOuN\",\"https://zn5o5yqpvmvjgdoun-wiley.siteintercept.qualtrics.com/SIE/?Q_ZID=ZN_5o5yqpvMVjgDOuN\")).start()}catch(i){}})();\r\n</script><div id='ZN_5o5yqpvMVjgDOuN'><!--DO NOT REMOVE-CONTENTS PLACED HERE--></div>\r\n<!--END WEBSITE FEEDBACK SNIPPET-->","enabled":false},{"pages":["all"],"location":"header","script":"<!-- Hotjar Tracking Code for http://www.dummies.com -->\r\n<script>\r\n (function(h,o,t,j,a,r){\r\n h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};\r\n h._hjSettings={hjid:257151,hjsv:6};\r\n a=o.getElementsByTagName('head')[0];\r\n r=o.createElement('script');r.async=1;\r\n r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;\r\n a.appendChild(r);\r\n })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');\r\n</script>","enabled":false},{"pages":["article"],"location":"header","script":"<!-- //Connect Container: dummies --> <script src=\"//get.s-onetag.com/bffe21a1-6bb8-4928-9449-7beadb468dae/tag.min.js\" async defer></script>","enabled":true},{"pages":["homepage"],"location":"header","script":"<meta name=\"facebook-domain-verification\" content=\"irk8y0irxf718trg3uwwuexg6xpva0\" />","enabled":true},{"pages":["homepage","article","category","search"],"location":"footer","script":"<!-- Facebook Pixel Code -->\r\n<noscript>\r\n<img height=\"1\" width=\"1\" src=\"https://www.facebook.com/tr?id=256338321977984&ev=PageView&noscript=1\"/>\r\n</noscript>\r\n<!-- End Facebook Pixel Code -->","enabled":true}]}},"pageScriptsLoadedStatus":"success"},"navigationState":{"navigationCollections":[{"collectionId":287568,"title":"BYOB (Be Your Own Boss)","hasSubCategories":false,"url":"/collection/for-the-entry-level-entrepreneur-287568"},{"collectionId":293237,"title":"Be a Rad Dad","hasSubCategories":false,"url":"/collection/be-the-best-dad-293237"},{"collectionId":295890,"title":"Career Shifting","hasSubCategories":false,"url":"/collection/career-shifting-295890"},{"collectionId":294090,"title":"Contemplating the Cosmos","hasSubCategories":false,"url":"/collection/theres-something-about-space-294090"},{"collectionId":287563,"title":"For Those Seeking Peace of Mind","hasSubCategories":false,"url":"/collection/for-those-seeking-peace-of-mind-287563"},{"collectionId":287570,"title":"For the Aspiring Aficionado","hasSubCategories":false,"url":"/collection/for-the-bougielicious-287570"},{"collectionId":291903,"title":"For the Budding Cannabis Enthusiast","hasSubCategories":false,"url":"/collection/for-the-budding-cannabis-enthusiast-291903"},{"collectionId":299891,"title":"For the College Bound","hasSubCategories":false,"url":"/collection/for-the-college-bound-299891"},{"collectionId":291934,"title":"For the Exam-Season Crammer","hasSubCategories":false,"url":"/collection/for-the-exam-season-crammer-291934"},{"collectionId":301547,"title":"For the Game Day Prepper","hasSubCategories":false,"url":"/collection/big-game-day-prep-made-easy-301547"}],"navigationCollectionsLoadedStatus":"success","navigationCategories":{"books":{"0":{"data":[{"categoryId":33512,"title":"Technology","hasSubCategories":true,"url":"/category/books/technology-33512"},{"categoryId":33662,"title":"Academics & The Arts","hasSubCategories":true,"url":"/category/books/academics-the-arts-33662"},{"categoryId":33809,"title":"Home, Auto, & Hobbies","hasSubCategories":true,"url":"/category/books/home-auto-hobbies-33809"},{"categoryId":34038,"title":"Body, Mind, & Spirit","hasSubCategories":true,"url":"/category/books/body-mind-spirit-34038"},{"categoryId":34224,"title":"Business, Careers, & Money","hasSubCategories":true,"url":"/category/books/business-careers-money-34224"}],"breadcrumbs":[],"categoryTitle":"Level 0 Category","mainCategoryUrl":"/category/books/level-0-category-0"}},"articles":{"0":{"data":[{"categoryId":33512,"title":"Technology","hasSubCategories":true,"url":"/category/articles/technology-33512"},{"categoryId":33662,"title":"Academics & The Arts","hasSubCategories":true,"url":"/category/articles/academics-the-arts-33662"},{"categoryId":33809,"title":"Home, Auto, & Hobbies","hasSubCategories":true,"url":"/category/articles/home-auto-hobbies-33809"},{"categoryId":34038,"title":"Body, Mind, & Spirit","hasSubCategories":true,"url":"/category/articles/body-mind-spirit-34038"},{"categoryId":34224,"title":"Business, Careers, & Money","hasSubCategories":true,"url":"/category/articles/business-careers-money-34224"}],"breadcrumbs":[],"categoryTitle":"Level 0 Category","mainCategoryUrl":"/category/articles/level-0-category-0"}}},"navigationCategoriesLoadedStatus":"success"},"searchState":{"searchList":[],"searchStatus":"initial","relatedArticlesList":[],"relatedArticlesStatus":"initial"},"routeState":{"name":"ArticleCategory","path":"/category/articles/information-technology-33572/","hash":"","query":{},"params":{"category":"information-technology-33572"},"fullPath":"/category/articles/information-technology-33572/","meta":{"routeType":"category","breadcrumbInfo":{"suffix":"Articles","baseRoute":"/category/articles"},"prerenderWithAsyncData":true},"from":{"name":null,"path":"/","hash":"","query":{},"params":{},"fullPath":"/","meta":{}}},"profileState":{"auth":{},"userOptions":{},"status":"success"}}
Logo
  • Articles Open Article Categories
  • Books Open Book Categories
  • Collections Open Collections list
  • Custom Solutions

Article Categories

Book Categories

Collections

Explore all collections
BYOB (Be Your Own Boss)
Be a Rad Dad
Career Shifting
Contemplating the Cosmos
For Those Seeking Peace of Mind
For the Aspiring Aficionado
For the Budding Cannabis Enthusiast
For the College Bound
For the Exam-Season Crammer
For the Game Day Prepper
Log In
  • Home
  • Technology Articles
  • Information Technology Articles

Information Technology Articles

These days, information technology (aka IT) is everybody's business. Check out these articles on some of the coolest new tech making the rounds today.

Browse By Category

AI

Data Science

Networking

General Information Technology

Previous slideNext slide

AI

Data Science

Networking

General Information Technology

Articles From Information Technology

page 1
page 2
page 3
page 4
page 5
page 6
page 7
page 8
page 9
page 10
page 11
page 12
page 13
page 14
page 15
page 16
page 17
page 18
page 19
page 20
page 21
page 22
page 23
page 24
page 25
page 26
page 27
page 28
page 29
page 30
page 31
page 32
page 33
page 34
page 35
page 36
page 37
page 38
page 39
page 40
page 41
page 42
page 43
page 44
page 45
page 46
page 47
page 48
page 49
page 50
page 51
page 52
page 53
page 54
page 55
page 56
page 57
page 58
page 59
page 60
page 61
page 62
page 63
page 64
page 65
page 66
page 67
page 68
page 69
page 70
page 71
page 72
page 73
page 74
page 75
page 76
page 77
page 78
page 79
page 80
page 81
page 82

Filter Results

819 results
819 results
General Data Science SAS For Dummies Cheat Sheet

Cheat Sheet / Updated 05-22-2025

The field of SAS and SAS programming has evolved over nearly 50 years, leading to the development of various shorthand techniques. These techniques may not be immediately apparent to new SAS users, but they become clear with learning and practice. Use the tips here to get a head-start and accelerate your initiation to SAS.

View Cheat Sheet
General Information Technology GIS For Dummies Cheat Sheet

Cheat Sheet / Updated 05-12-2025

A geographic information system (GIS) is a software for making maps, analyzing data, and more. This cheat sheet tells you about what you can do with GIS, provides a handy guide to raster-based functions, gives you some key ideas to keep in mind about maps (relating to scales, projections, and datums), and the X, Y, and Z of GIS.

View Cheat Sheet
Generative AI The Benefits of a Unified Data Management Approach

Article / Updated 02-20-2025

Artificial intelligence (AI) offers a lot of promise to companies, but deploying AI can be complex with many considerations and pitfalls. Data is the necessary asset to make AI work, and your organization is probably swimming in it. But how well-managed is your data? The answer hinges on whether your company will be successful in its AI efforts. Data management is the behind-the scenes workhorse that makes AI work. A robust management program allows data to be ingested from everywhere it needs to be, cleaned and transformed to enable AI model training, made easily available to users, and meticulously governed to ensure security, privacy, and compliance. In this article, we’ll explore several ways a data management platform can help with your AI efforts. Although these applications may differ, effective data management is always the necessary first step on which these solutions are built. Proprietary AI As your business scales, the number of receipts, invoices, contracts, and other printed documents scale, too. And when all those documents aren’t digitized, think of the number of hours it will take an employee to catalog it. It’s possible to use AI to automate this process. A proprietary engine scans and processes documents, extracts meaning from them, and outputs the data in a format that’s handy for reports, dashboards, and business intelligence apps. Some benefits of using proprietary AI to scan and process documents are: It can translate multiple languages. A large language model (LLM) can be trained to make sense of any specific document formats that your company may have. Accurate data helps with decision-making. Data can be extracted from third-party platforms, enrich it, validate it, and output it to dashboards accessible throughout the company. Identify issues with customers earlier. Algorithms aggregate and analyze user data, spotlighting any issues with customers early on to prevent customer churn. Or to spotlight when a loyal customer is ready to grow with your company. Retrieval augmented generation Things that work well in a controlled environment with a carefully curated data sample don’t always work in a real-world environment. One such situation is with retrieval augmented generation (RAG), the engine that LLMs rely on to give accurate facts. But if RAG is relying on legacy data that wasn’t prepared adequately, your AI solution is going to underperform. A data management program makes sure the basic, but vitally important, tasks are covered — data is cleaned, engineered, structured, and complete. Some tasks it can do are: Implement meta-intent branching for handling different types of queries. Develop verified quotes and see-it-in-source features for transparency. Monitor and balance token consumption. Improve data quality through semantic data scrubbing. Research and development Traditional research and development methods can be time consuming and expensive. Applying AI to the process can help reduce the cost and release products to the market faster. Reliable products help retain customers, boost the company’s reputation, and grow profit margin. High-quality data is needed to make it all work. A data management program can help with the following tasks: Automate manual processes. Automating helps to lower errors and inefficiencies, and accelerates quantitative research by navigating unstructured data. Business decisions get made faster. Verify and vet output. One system can generate formulas or prototypes for new products; a secondary one can automatically evaluate, compare, and check them for compatibility and other parameters. Enhance new network implementations and diagnostics. AI can create potential scenarios for the design and deployment of new systems. It can create hypotheses to pinpoint problems and suggest solutions. About the Book Wiley has recently published AI Data Management For Dummies, Keboola Special Edition. It includes insights from Snowflake and Capgemini that will help your organization integrate best practices and advanced technologies into your data strategy, what the future of AI development looks like, and more use cases. Download AI Data Management For Dummies, Keboola Special Edition by Andy Mott, Dan O’Riordan, and Rithesh Makkena to open the door to AI success.

View Article
Generative AI How to Write Effective AI Prompts for Different Real World Uses

Article / Updated 12-09-2024

As you delve deeper into the realm of prompt engineering, you find out that the effectiveness of a prompt can vary greatly depending on the application. Whether you’re using AI for creative writing, data analysis, customer service, or any other specific use, the prompts you use need to be tailored to fit the task at hand. The art in prompt engineering is matching your form of communication to the nature of the task. If you succeed, you’ll unlock the vast potential of AI. For instance, when engaging with AI for creative writing, your prompts should be open-ended and imaginative, encouraging the AI to generate original and diverse ideas. A prompt like “Write a story about a lost civilization discovered by a group of teenagers” sets the stage for a creative narrative. In contrast, data analysis requires prompts that are precise and data-driven. Here, you might need to guide the AI with specific instructions or questions, such as “Analyze the sales data from the last quarter and identify the top-performing products.” You may need to include that data in the prompt if it isn’t already loaded into the training data, retrieval-augmented generation (RAG), system or custom messages, or a specialized GPT. In any case, this type of prompt helps the AI focus on the exact task, ensuring that the output is relevant and actionable. The key to designing effective prompts lies in understanding the domain you’re addressing. Each field has its own set of terminologies, expectations, and objectives. For example, legal prompts require a different structure and language than those used in entertainment or education. It’s essential to incorporate domain-specific knowledge into your prompts to guide the AI in generating the desired output. Following are some examples across various industries that illustrate how prompts can be tailored for domain-specific applications: Legal domain: In the legal industry, precision and formality are paramount. Prompts must be crafted to reflect the meticulous nature of legal language and reasoning. For instance, a prompt for contract analysis might be, “Identify and summarize the obligations and rights of each party as per the contract clauses outlined in Section 2.3 and 4.1.” This prompt is structured to direct the AI to focus on specific sections, reflecting the detailed-oriented nature of legal work. Healthcare domain: In healthcare, prompts must be sensitive to medical terminology and patient privacy. A prompt for medical diagnosis might be, “Given the following anonymized patient symptoms and test results, what are the potential differential diagnoses?” This prompt respects patient confidentiality while leveraging the AI’s capability to process medical data. Education domain: Educational prompts often aim to engage and instruct. A teacher might use a prompt like, “Create a lesson plan that introduces the concept of photosynthesis to 5th graders using interactive activities.” This prompt is designed to generate educational content that is age-appropriate and engaging. Finance domain: In finance, prompts need to be data-driven and analytical. A financial analyst might use a prompt such as, “Analyze the historical price data of XYZ stock over the past year and predict the trend for the next quarter based on the moving average and standard deviation.” This prompt asks the AI to apply specific financial models to real-world data. Marketing domain: Marketing prompts often focus on creativity and audience engagement. A marketing professional could use a prompt like, “Generate a list of catchy headlines for our new eco-friendly product line that will appeal to environmentally conscious consumers.” This prompt encourages the AI to produce creative content that resonates with a target demographic. Software development domain: In software development, prompts can be technical and require understanding of coding languages. A prompt might be, “Debug the following Python code snippet and suggest optimizations for increasing its efficiency.” This prompt is technical, directing the AI to engage with code directly. Customer service domain: For customer service, prompts should be empathetic and solution oriented. A prompt could be, “Draft a response to a customer complaint about a delayed shipment, ensuring to express understanding and offer a compensatory solution.” This prompt guides the AI to handle a delicate situation with care. By understanding the unique requirements and language of each domain, you can craft prompts to effectively guide AI in producing the desired outcomes. It’s not just about giving commands; it’s about framing them in a way that aligns with the goals, terms, and practices of the industry in question. As AI continues to evolve, the ability to engineer precise and effective prompts becomes an increasingly valuable skill across all sectors. 15 tips and tricks for better AI prompting Although GenAI may seem like magic, it takes knowledge and practice to write effective prompts that will generate the content you’re looking for. The following list provides some insider tips and tricks to help you optimize your prompts to get the most out of your interactions with GenAI tools: Know your goal. Decide what you want from the AI — like a simple how-to or a bunch of ideas — before you start asking. Get specific. The clearer you are, the better the AI can help. Ask “How do I bake a beginner's chocolate cake?” instead of just “How do I make a cake?” Keep it simple. Use easy language unless you’re in a special field like law or medicine where using the right terms is necessary. Add context. Give some background if it's a special topic, like tips for small businesses on social media. Play pretend. Tell the AI to act like someone, like a fitness coach, to get answers that fit that role. Try again. If the first answer isn't great, change your question a bit and ask again. Show examples. If you want something creative, show the AI an example to follow, like asking for a poem like one by Robert Frost. Don't overwhelm. Keep your question focused. If it's too packed with info, it gets messy. Mix it up. Try asking in different ways, like with a question or a command, to see what works best. Embrace the multimodal functionality. Multimodal functionality means that the GenAI model you’re working with can accept more than one kind of prompt input. Typically, that means it can accept both text and images in the input. Understand the model’s limitations. GenAI is not infallible and can still produce errors or “hallucinate” responses. Always approach the AI’s output with a critical eye and use it as a starting point rather than the final word on any subject. Leverage the enhanced problem-solving abilities. GenAI’s enhanced problem-solving skills mean that you can tackle more complex prompts. Use this to your advantage when crafting prompts that require a deep dive into a topic. Keep prompts aligned with AI training. For example, remember that GPT-4, like its predecessors, is trained on a vast dataset up to a certain point in time (April 2023 at the time of this writing). It doesn’t know about anything that happened after that date. If you need to reference more recent events or data, provide that context within your prompt. Experiment with different prompt lengths. Short prompts can be useful for quick answers, while longer, more detailed prompts can provide more context and yield more comprehensive responses. Incorporate feedback loops. After receiving a response from your GenAI application, assess its quality and relevance. If it hit — or is close to — the mark, click on the thumbs-up icon. If it’s not quite what you were looking for, provide feedback in your next prompt by clicking on the thumbs-down icon. This iterative process can help refine the AI’s understanding of your requirements and improve the quality of future responses. By keeping these tips in mind and staying informed about the latest developments in the capabilities of various GenAI models and applications, you’ll be able to craft prompts that are not only effective but also responsible and aligned with the AI’s strengths and limitations. How to use prompts to fine-tune the AI model The point of prompt engineering is to carefully compose a prompt that can shape the AI’s learning curve and fine-tune its responses to perfection. In this section, you dive into the art of using prompts to refine the GenAI model, ensuring that it delivers the most accurate and helpful answers possible. In other words, you discover how to use prompts to also teach the model to perform better for you over time. Here are some specific tactics: When you talk to the AI and it gives you answers, tell it if you liked the answer or not. Do this by clicking the thumbs up or thumbs down, or the + or – icons above or below the output. The model will learn how to respond better to you and your prompts over time if you do this consistently. If the AI gives you a weird answer, there's a “do-over” button you can press. It's like asking your friend to explain something again if you didn't get it the first time. Look for “Regenerate Response'’ or some similar wording (term varies among models) near the output. Click on that and you’ll instantly get the AI’s second try! Think of different ways to ask the AI the same or related questions. It's like using magic words to get the best answers. If you're really good at it, you can make a list of prompts that others can use to ask good questions too. Prompt libraries are very helpful to all. It’s smart to look at prompt libraries for ideas when you’re stumped on how or what to prompt. Share your successful prompts. If you find a super good way to ask something, you can share it online (at sites like GitHub) with other prompt engineers and use prompts others have shared there too. Instead of teaching the AI everything from scratch (retraining the model), you can teach it a few more new things through your prompting. Just ask it in different ways to do new things. Over time, it will learn to expand its computations. And with some models, what it learns from your prompts will be stored in its memory. This will improve the outputs it gives you too! Redirect AI biases. If the AI says something that seems mean or unfair, rate it a thumbs down and state why the response was unacceptable in your next prompt. Also, change the way you ask questions going forward to redirect the model away from this tendency. Be transparent and accountable when you work with AI. Tell people why you're asking the AI certain questions and what you hope to get from it. If something goes wrong, try to make it right. It's like being honest about why you borrowed your friend's toy and fixing it if it breaks. Keep learning. The AI world changes a lot, and often. Keep up with new models, features, and tactics, talk to others, and always try to get better at making the AI do increasingly more difficult things. The more you help GenAI learn, the better it gets at helping you! What to do when AI goes wrong When you engage with AI through your prompts, be aware of common pitfalls that can lead to biased or undesirable outcomes. Following are some strategies to avoid these pitfalls, ensuring that your interactions with AI are both effective and ethically sound. Recognize and mitigate biases. Biases in AI can stem from the data it was trained on or the way prompts are structured. For instance, a healthcare algorithm in the United States inadvertently favored white patients over people of color because it used healthcare cost history as a proxy for health needs, which correlated with race. To avoid such biases, carefully consider the variables and language used in your prompts. Ensure they do not inadvertently favor one group over another or perpetuate stereotypes. Question assumptions. Wrong or flawed assumptions can lead to misguided AI behavior. For example, Amazon’s hiring algorithm developed a bias against women because it was trained on resumes predominantly submitted by men. Regularly review the assumptions behind your prompts and be open to challenging and revising them as needed. Avoid overgeneralization. AI can make sweeping generalizations based on limited data. To prevent this, provide diverse and representative examples in your prompts. This helps the AI understand the nuances and variations within the data, leading to more accurate and fair outcomes. Keep your purpose in sight. Losing sight of the purpose of your interaction with AI can result in irrelevant or unhelpful responses. Always align your prompts with the intended goal and avoid being swayed by the AI’s responses into a direction that deviates from your original objective. Diversify information sources. Relying on too narrow a set of information can skew AI responses. Ensure that the data and examples you provide cover a broad spectrum of scenarios and perspectives. This helps the AI develop a well-rounded understanding of the task at hand. For example, if the AI is trained to find causes of helicopter crashes and the only dataset the AI has is of events when helicopters crash, it will deduce that all helicopters crash which in turn will render skewed outputs that could be costly or even dangerous. Add data on flights or events when helicopters did not crash, and you’ll get better outputs because the model has more diverse and more complete information to analyze. Encourage open debate. AI can sometimes truncate debate by providing authoritative-sounding answers. Encourage open-ended prompts that allow for multiple viewpoints and be critical of the AI’s responses. This fosters a more thoughtful and comprehensive exploration of the topic. Be wary of consensus. Defaulting to consensus can be tempting, especially when AI confirms our existing beliefs. However, it’s important to challenge the AI and yourself by considering alternative viewpoints and counterarguments. This helps in uncovering potential blind spots and biases. Check your work. Always review the AI’s responses for accuracy and bias. As with the healthcare algorithm that skewed resources toward white patients, unintended consequences can arise from seemingly neutral variables. Rigorous checks and balances are necessary to ensure the AI’s outputs align with ethical standards.

View Article
AI 10 Mistakes to Avoid When Writing AI Prompts

Video / Updated 11-13-2024

When you’re new to crafting AI prompts, you can easily make mistakes. Using AI tools the right way makes you more productive and efficient. But if you aren’t careful, you may develop bad habits when you’re still learning. We clue you in to 10 mistakes you should avoid from the start in this video and article. Not Spending Enough Time Crafting and Testing Prompts One common mistake when using AI tools is not putting in the effort to carefully craft your prompts. You may be tempted — very tempted — to quickly type out a prompt and get a response back from the AI, but hurried prompts usually produce mediocre results. Taking the time to compose your prompt using clear language will increase your chances of getting the response you want. A poor response spells the need for you to evaluate the prompt to see where you can clarify or improve it. It’s an iterative process, so don’t be surprised if you have to refine your prompt several times. Like any skill, learning to design effective prompts takes practice and patience. The key is to resist the urge to take shortcuts. Make sure to put in the work needed to guide the AI to a great response. Assuming the AI Understands Context or Subtext It’s easy to overestimate the capabilities of AI tools and assume they understand the meaning of language the way humans do. Current AI tools take things literally. They don’t actually understand the context of a conversation. An AI assistant may be trained to identify patterns and connections and is aware of these things as concepts (like norms, emotions, or sarcasm), all of which rely on context, but it struggles to identify them reliably. Humans can read between the lines and understand meaning beyond what’s actually written. An AI interprets instructions and prompts in a very literal sense — it doesn’t understand the meaning behind them. You can’t assume an AI understands concepts it hasn’t been trained for. Asking Overly Broad or Vague Questions When interacting with an AI, avoid overly broad or vague questions. The AI works best when you give it clear, specific prompts. Providing prompts like “Tell me about human history” or “Explain consciousness” is like asking the AI to search the entire internet. The response will probably be unfocused. The AI has no sense of what information is relevant or important so you need to refocus and try again. Good prompts are more direct. You can start with a prompt such as “Summarize this research paper in two paragraphs” or “Write a 500-word article on summer plants that require shade.” The prompt should give the AI boundaries and context to shape its response. Going from broad to increasingly narrow questions also helps. You can start generally asking about a topic and then follow up with focused requests on the specific details. Providing concrete examples guides the AI. The key is to give the AI precise prompts centered directly on the information you want instead of typing a request with a vague, borderless question. Sharp, specific questioning produces the best AI results. Not Checking Outputs for Errors and Biases A common mistake when using AI apps is taking the results at face value without double-checking them. AI systems may reflect bias, or generate text that seems right but has errors. Just because the content came from an AI doesn’t mean it’s necessarily accurate. Reviewing AI responses rather than blindly trusting the technology is critical. Look for instances of bias where specific demographics are negatively characterized or tropes (clichés) are reinforced. Always check facts and figures against other sources. Look for logic that indicates the AI was “confused.” Providing feedback when the AI makes a mistake can further enhance its training. The key is to approach responses skeptically instead of assuming that the AI always generates perfect results. As with any human team member, reviewing their work is essential before using it. Careful oversight of AI tools mitigates risks. Using Offensive, Unethical, or Dangerous Prompts A primary concern when working with AI is that the apps can inadvertently amplify harmful biases if users write offensive, unethical, or dangerous prompts. The AI will generate text for any input, but the response may be that you’re asking for a harmful response and it will not comply. Prompting an AI with inappropriate language or potential discrimination may reinforce biases from the data the model was trained on. If users are cautious when formulating prompts, that can help steer the technology toward more thoughtful responses. AI can be subject to the whims of bad actors. Expecting Too Much Originality or Creativity from the AI One common mistake when using AI apps is expecting too much original thought or creativity. AI tools can generate unique mixes of text, imagery, and other media, but there are limits. As of this writing, AI apps are only capable of remixing existing information and patterns into new combinations. They can’t really create responses that break new ground. An AI has no natural creative flair like human artists or thinkers. Its training data consists only of past and present works. So, although an AI can generate new work, expecting a “masterpiece” is unrealistic. Copying Generated Content Verbatim A big mistake users make when first using AI tools is to take the text and use it verbatim, without any edits or revisions. AI can often produce text that appears to be well written, but the output is more likely to be a bit rough and require a good edit. Mindlessly copying the unedited output can result in unclear and generic work. (Also, plagiarizing or passing the writing off as your own is unethical.) A best practice is to use the suggestions as a starting point that you build upon with your own words and edits to polish the final product. Keep the strong parts and make it into something original. The key is that the AI app should support your work, not replace it. With the right editing and polishing, you can produce something you’ll be proud of. Providing Too Few Examples and Use Cases When you’re training an AI app to handle a new task, a common mistake is to provide too few examples of inputs. Humans can usually extrapolate from a few samples, but AI apps can’t. An AI must be shown examples to grasp the full scope of the case. You need to feed the AI varied use cases to help it generalize effectively. Similarly, limiting prompts to just a couple of instances produces equally poor results because the AI has little indication of the boundaries of the task. Providing diverse examples helps the AI form an understanding about how to respond. Having patience and supplying many examples lets the AI respond appropriately. Not Customizing Prompts for Different Use Cases One common mistake when working with AI tools is attempting to use the same generic prompt to handle all your use cases. Creating a one-size-fits-all prompt is easier, but it will deliver disappointing results. Each use case and application has its own unique goals and information that need to be conveyed, as discussed throughout this book. For example, a prompt for a creative nonfiction story should be designed differently than a prompt for a medical article. An inventory of prompts designed for various use cases allows the AI to adapt quickly to different needs. The key is customization. Building a library of specialized prompts is an investment that pays dividends. Becoming Overly Reliant on AI Tasks Better Suited for Humans Almost everyone is excited about using AI tools to make their job easier. But it’s important to avoid becoming too dependent on them. AI is great for tasks like automation and personalization, but applying ethics and conveying empathy are still human strengths.

Watch Video
Information Technology The Next Data Cycle: Why Your Organization Needs Hyperscale NAS

Article / Updated 11-06-2024

In the ever-accelerating race of data processing and analytics, your organization’s ability to adapt and evolve its data architecture is crucial. As we enter the next data cycle, marked by the rise of artificial intelligence (AI) and deep learning (DL), the demands on data storage and management are unprecedented. This is where hyperscale network-attached storage (NAS) comes into play, offering a transformative solution for organizations looking to capitalize on the next wave of data-driven opportunities. Ushering in the Next Data Cycle with Hyperscale NAS The next data cycle is characterized by a shift from structured business intelligence (BI) data to a world where unstructured and semi-structured data reign supreme. This data is massive in volume and comes from countless sources, which require high-performance access to drive valuable insights. Hyperscale NAS meets this challenge head-on by merging the simplicity of enterprise NAS with the extreme performance of high-performance computing (HPC) parallel file systems. Hyperscale NAS is essential for your organization for the following reasons: Performance at scale: Hyperscale NAS isn’t bottlenecked by traditional NAS controllers, so linear scalability in performance and capacity are enabled across potentially thousands of nodes. Cost efficiency: Being software-defined, hyperscale NAS allows the use of commodity hardware and avoids vendor lock-in, driving down costs significantly. Metadata excellence: With shared metadata kept out of the data path, hyperscale NAS ensures fast access to data across the global environment, which is critical for AI and DL workloads that require rapid data retrieval and processing. Hyperscale NAS: A Pillar for Modern Data Architectures The architecture of hyperscale NAS is fundamentally different from traditional solutions. It overcomes the limitations of scale-out NAS by providing linear scalability and extreme throughput using commodity infrastructure. This means that as your data grows, your system’s performance and capacity can grow with it, without the need for expensive, specialized hardware. Some of the transformative capabilities of hyperscale NAS include Standards-based integration: The hyperscale NAS client software is built into standard Linux distributions, eliminating the need for proprietary clients. Consistent high performance: The separation of metadata from the data path allows for near-full bandwidth utilization, delivering the speed necessary for demanding applications. High availability: Hyperscale NAS includes distributed architecture, load balancing, tiering, and high-availability features, proving itself in some of the world’s largest AI environments. Making Data Available and Actionable In the era of AI, having access to sufficient compute resources, like graphics processing units (GPUs), is a significant challenge. Hyperscale NAS helps you leverage GPUs wherever they’re available, making data a live, globally shared resource that’s no longer localized or trapped within proprietary storage systems or specific cloud data services. Hyperscale NAS makes data more accessible and actionable through Global data sets: Hyperscale NAS orchestrates data to GPUs in the cloud and GPU-as-a-Service providers, unifying multiple data sources into a single global file system. Intelligent data placement: Leveraging metadata-driven data orchestration, Hyperscale NAS ensures data is where it needs to be, when it needs to be there. Non-disruptive data mobility: Data can be moved between storage systems, sites, and clouds without disrupting access or performance. As your organization gears up for the next data cycle, adopting hyperscale NAS isn’t just a strategic move; it’s an imperative one. It’s a future-proof solution that enables you to keep pace with the exponential growth of data and the complex demands of AI and DL. With hyperscale NAS, you can transform your business, unleash the full potential of your data assets, and ensure that your organization isn’t just ready but thriving in the next data cycle. For more information, download this free e-book: Hyperscale NAS For Dummies, Hammerspace Special Edition.

View Article
Generative AI Envision the World as a Graph with Bayes' Theorem

Article / Updated 10-28-2024

Bayes’ theorem can help you deduce how likely something is to happen in a certain context, based on the general probabilities of the fact itself and the evidence you examine, and combined with the probability of the evidence given the fact. Seldom will a single piece of evidence diminish doubts and provide enough certainty in a prediction to ensure that it will happen. As a true detective, to reach certainty, you have to collect more evidence and make the individual pieces work together in your investigation. Noticing that a person has long hair isn’t enough to determine whether person is female or a male. Adding data about height and weight could help increase confidence. The Naïve Bayes algorithm helps you arrange all the evidence you gather and reach a more solid prediction with a higher likelihood of being correct. Gathered evidence considered singularly couldn’t save you from the risk of predicting incorrectly, but all evidence summed together can reach a more definitive resolution. The following example shows how things work in a Naïve Bayes classification. This is an old, renowned problem, but it represents the kind of capability that you can expect from an AI. The dataset is from the paper “Induction of Decision Trees,” by John Ross Quinlan. Quinlan is a computer scientist who contributed to the development of another machine learning algorithm, decision trees, in a fundamental way, but his example works well with any kind of learning algorithm. The problem requires that the AI guess the best conditions to play tennis given the weather conditions. The set of features described by Quinlan is as follows: Outlook: Sunny, overcast, or rainy Temperature: Cool, mild, or hot Humidity: High or normal Windy: True or false The following table contains the database entries used for the example: Outlook Temperature Humidity Windy PlayTennis Sunny Hot High False No Sunny Hot High True No Overcast Hot High False Yes Rainy Mild High False Yes Rainy Cool Normal False Yes Rainy Cool Normal True No Overcast Cool Normal True Yes Sunny Mild High False No Sunny Cool Normal False Yes Rainy Mild Normal False Yes Sunny Mild Normal True Yes Overcast Mild High True Yes Overcast Hot Normal False Yes Rainy Mild High True No The option of playing tennis depends on the four arguments shown here. The result of this AI learning example is a decision as to whether to play tennis, given the weather conditions (the evidence). Using just the outlook (sunny, overcast, or rainy) won’t be enough, because the temperature and humidity could be too high or the wind might be strong. These arguments represent real conditions that have multiple causes, or causes that are interconnected. The Naïve Bayes algorithm is skilled at guessing correctly when multiple causes exist. The algorithm computes a score, based on the probability of making a particular decision and multiplied by the probabilities of the evidence connected to that decision. For instance, to determine whether to play tennis when the outlook is sunny but the wind is strong, the algorithm computes the score for a positive answer by multiplying the general probability of playing (9 played games out of 14 occurrences) by the probability of the day’s being sunny (2 out of 9 played games) and of having windy conditions when playing tennis (3 out of 9 played games). The same rules apply for the negative case (which has different probabilities for not playing given certain conditions): likelihood of playing: 9/14 * 2/9 * 3/9 = 0.05 likelihood of not playing: 5/14 * 3/5 * 3/5 = 0.13 Because the score for the likelihood is higher, the algorithm decides that it’s safer not to play under such conditions. It computes such likelihood by summing the two scores and dividing both scores by their sum: probability of playing : 0.05 / (0.05 + 0.13) = 0.278 probability of not playing : 0.13 / (0.05 + 0.13) = 0.722 You can further extend Naïve Bayes to represent relationships that are more complex than a series of factors that hint at the likelihood of an outcome using a Bayesian network, which consists of graphs showing how events affect each other. Bayesian graphs have nodes that represent the events and arcs showing which events affect others, accompanied by a table of conditional probabilities that show how the relationship works in terms of probability. The figure shows a famous example of a Bayesian network taken from a 1988 academic paper, “Local computations with probabilities on graphical structures and their application to expert systems,” by Lauritzen, Steffen L. and David J. Spiegelhalter, published by the Journal of the Royal Statistical Society. The depicted network is called Asia. It shows possible patient conditions and what causes what. For instance, if a patient has dyspnea, it could be an effect of tuberculosis, lung cancer, or bronchitis. Knowing whether the patient smokes, has been to Asia, or has anomalous x-ray results (thus giving certainty to certain pieces of evidence, a priori in Bayesian language) helps infer the real (posterior) probabilities of having any of the pathologies in the graph. Bayesian networks, though intuitive, have complex math behind them, and they’re more powerful than a simple Naïve Bayes algorithm because they mimic the world as a sequence of causes and effects based on probability. Bayesian networks are so effective that you can use them to represent any situation. They have varied applications, such as medical diagnoses, the fusing of uncertain data arriving from multiple sensors, economic modeling, and the monitoring of complex systems such as a car. For instance, because driving in highway traffic may involve complex situations with many vehicles, the Analysis of MassIve Data STreams (AMIDST) consortium, in collaboration with the automaker Daimler, devised a Bayesian network that can recognize maneuvers by other vehicles and increase driving safety.

View Article
General Networking Configuring Network Connections for Windows 10

Step by Step / Updated 10-28-2024

Windows usually detects the presence of a network adapter automatically; typically, you don’t have to install device drivers manually for the adapter. When Windows detects a network adapter, Windows automatically creates a network connection and configures it to support basic networking protocols. You may need to change the configuration of a network connection manually, however. The following steps show you how to configure your network adapter on a Windows 10 system:

View Step by Step
Generative AI Generative AI For Dummies Cheat Sheet

Cheat Sheet / Updated 10-17-2024

The first public release of ChatGPT ignited the world’s demand for increasingly sophisticated Generative AI (GenAI) models and tools, and the market was quick to deliver. But what’s the use of having so many GenAI tools if you get stuck using them? And make no mistake, everyone gets stuck quite often! This cheat sheet helps you get the very best results by introducing you to advanced (but pretty easy) prompting techniques and giving you useful tips on how to choose models or applications that are right for the task.

View Cheat Sheet
General Data Science Linear Regression vs. Logistic Regression

Article / Updated 09-24-2024

Both linear and logistic regression see a lot of use in data science but are commonly used for different kinds of problems. You need to know and understand both types of regression to perform a full range of data science tasks. Of the two, logistic regression is harder to understand in many respects because it necessarily uses a more complex equation model. The following information gives you a basic overview of how linear and logistic regression differ. The equation model Any discussion of the difference between linear and logistic regression must start with the underlying equation model. The equation for linear regression is straightforward. y = a + bx You may see this equation in other forms and you may see it called ordinary least squares regression, but the essential concept is always the same. Depending on the source you use, some of the equations used to express logistic regression can become downright terrifying unless you’re a math major. However, the start of this discussion can use one of the simplest views of logistic regression: p = f(a + bx) >p, is equal to the logistic function, f, applied to two model parameters, a and b, and one explanatory variable, x. When you look at this particular model, you see that it really isn’t all that different from the linear regression model, except that you now feed the result of the linear regression through the logistic function to obtain the required curve. The output (dependent variable) is a probability ranging from 0 (not going to happen) to 1 (definitely will happen), or a categorization that says something is either part of the category or not part of the category. (You can also perform multiclass categorization, but focus on the binary response for now.) The best way to view the difference between linear regression output and logistic regression output is to say that the following: Linear regression is continuous. A continuous value can take any value within a specified interval (range) of values. For example, no matter how closely the height of two individuals matches, you can always find someone whose height fits between those two individuals. Examples of continuous values include: Height Weight Waist size Logistic regression is discrete. A discrete value has specific values that it can assume. For example, a hospital can admit only a specific number of patients in a given day. You can’t admit half a patient (at least, not alive). Examples of discrete values include: Number of people at the fair Number of jellybeans in the jar Colors of automobiles produced by a vendor The logistic function Of course, now you need to know about the logistic function. You can find a variety of forms of this function as well, but here’s the easiest one to understand: f(x) = e<sup>x</sup> / e<sup>x</sup> + 1 You already know about f, which is the logistic function, and x equals the algorithm you want to use, which is a + bx in this case. That leaves e, which is the natural logarithm and has an irrational value of 2.718, for the sake of discussion (check out a better approximation of the whole value). Another way you see this function expressed is f(x) = 1 / (1 + e<sup>-x</sup>) Both forms are correct, but the first form is easier to use. Consider a simple problem in which a, the y-intercept, is 0, and ">b, the slope, is 1. The example uses x values from –6 to 6. Consequently, the first f(x) value would look like this when calculated (all values are rounded): (1) e<sup>-6</sup> / (1 + e<sup>-6</sup>) (2) 0.00248 / 1 + 0.00248 (3) 0.002474 As you might expect, an xvalue of 0 would result in an f(x) value of 0.5, and an x value of 6 would result in an f(x) value of 0.9975. Obviously, a linear regression would show different results for precisely the same x values. If you calculate and plot all the results from both logistic and linear regression using the following code, you receive a plot like the one below. import matplotlib.pyplot as plt %matplotlib inline from math import exp x_values = range(-6, 7) lin_values = [(0 + 1*x) / 13 for x in range(0, 13)] log_values = [exp(0 + 1*x) / (1 + exp(0 + 1*x)) for x in x_values] plt.plot(x_values, lin_values, 'b-^') plt.plot(x_values, log_values, 'g-*') plt.legend(['Linear', 'Logistic']) plt.show() This example relies on list comprehension to calculate the values because it makes the calculations clearer. The linear regression uses a different numeric range because you must normalize the values to appear in the 0 to 1 range for comparison. This is also why you divide the calculated values by 13. The exp(x) call used for the logistic regression raises e to the power of x, e<sup>x</sup>, as needed for the logistic function. The model discussed here is simplified, and some math majors out there are probably throwing a temper tantrum of the most profound proportions right now. The Python or R package you use will actually take care of the math in the background, so really, what you need to know is how the math works at a basic level so that you can understand how to use the packages. This section provides what you need to use the packages. However, if you insist on carrying out the calculations the old way, chalk to chalkboard, you’ll likely need a lot more information. The problems that logistic regression solves You can separate logistic regression into several categories. The first is simple logistic regression, in which you have one dependent variable and one independent variable, much as you see in simple linear regression. However, because of how you calculate the logistic regression, you can expect only two kinds of output: Classification: Decides between two available outcomes, such as male or female, yes or no, or high or low. The outcome is dependent on which side of the line a particular data point falls. Probability: Determines the probability that something is true or false. The values true and false can have specific meanings. For example, you might want to know the probability that a particular apple will be yellow or red based on the presence of yellow and red apples in a bin. Fit the curve As part of understanding the difference between linear and logistic regression, consider this grade prediction problem, which lends itself well to linear regression. In the following code, you see the effect of trying to use logistic regression with that data: x1 = range(0,9) y1 = (0.25, 0.33, 0.41, 0.53, 0.59, 0.70, 0.78, 0.86, 0.98) plt.scatter(x1, y1, c='r') lin_values = [0.242 + 0.0933*x for x in x1] log_values = [exp(0.242 + .9033*x) / (1 + exp(0.242 + .9033*x)) for x in range(-4, 5)] plt.plot(x1, lin_values, 'b-^') plt.plot(x1, log_values, 'g-*') plt.legend(['Linear', 'Logistic', 'Org Data']) plt.show() The example has undergone a few changes to make it easier to see precisely what is happening. It relies on the same data that was converted from questions answered correctly on the exam to a percentage. If you have 100 questions and you answer 25 of them correctly, you have answered 25 percent (0.25) of them correctly. The values are normalized to produce values between 0 and 1 percent. As you can see from the image above, the linear regression follows the data points closely. The logistic regression doesn’t. However, logistic regression often is the correct choice when the data points naturally follow the logistic curve, which happens far more often than you might think. You must use the technique that fits your data best, which means using linear regression in this case. A pass/fail example An essential point to remember is that logistic regression works best for probability and classification. Consider that points on an exam ultimately predict passing or failing the course. If you get a certain percentage of the answers correct, you pass, but you fail otherwise. The following code considers the same data used for the example above, but converts it to a pass/fail list. When a student gets at least 70 percent of the questions correct, success is assured. y2 = [0 if x < 0.70 else 1 for x in y1] plt.scatter(x1, y2, c='r') lin_values = [0.242 + 0.0933*x for x in x1] log_values = [exp(0.242 + .9033*x) / (1 + exp(0.242 + .9033*x)) for x in range(-4, 5)] plt.plot(x1, lin_values, 'b-^') plt.plot(x1, log_values, 'g-*') plt.legend(['Linear', 'Logistic', 'Org Data']) plt.show() This is an example of how you can use list comprehensions in Python to obtain a required dataset or data transformation. The list comprehension for y2 starts with the continuous data in y1 and turns it into discrete data. Note that the example uses precisely the same equations as before. All that has changed is the manner in which you view the data, as you can see below. Because of the change in the data, linear regression is no longer the option to choose. Instead, you use logistic regression to fit the data. Take into account that this example really hasn’t done any sort of analysis to optimize the results. The logistic regression fits the data even better if you do so.

View Article
page 1
page 2
page 3
page 4
page 5
page 6
page 7
page 8
page 9
page 10
page 11
page 12
page 13
page 14
page 15
page 16
page 17
page 18
page 19
page 20
page 21
page 22
page 23
page 24
page 25
page 26
page 27
page 28
page 29
page 30
page 31
page 32
page 33
page 34
page 35
page 36
page 37
page 38
page 39
page 40
page 41
page 42
page 43
page 44
page 45
page 46
page 47
page 48
page 49
page 50
page 51
page 52
page 53
page 54
page 55
page 56
page 57
page 58
page 59
page 60
page 61
page 62
page 63
page 64
page 65
page 66
page 67
page 68
page 69
page 70
page 71
page 72
page 73
page 74
page 75
page 76
page 77
page 78
page 79
page 80
page 81
page 82

Quick Links

  • About For Dummies
  • Contact Us
  • Activate Online Content

Connect

About Dummies

Dummies has always stood for taking on complex concepts and making them easy to understand. Dummies helps everyone be more knowledgeable and confident in applying what they know. Whether it's to pass that big test, qualify for that big promotion or even master that cooking technique; people who rely on dummies, rely on it to learn the critical skills and relevant information necessary for success.

Copyright @ 2000-2024 by John Wiley & Sons, Inc., or related companies. All rights reserved, including rights for text and data mining and training of artificial technologies or similar technologies.

Terms of Use
Privacy Policy
Cookies Settings
Do Not Sell My Personal Info - CA Only