DevOps.com

Where the world meets DevOps

  • Latest
    • Articles
    • Features
    • Most Read
    • News
    • News Releases
  • Topics
    • AI
    • Continuous Delivery
    • Continuous Testing
    • Cloud
    • Culture
    • DevSecOps
    • Enterprise DevOps
    • Leadership Suite
    • DevOps Practice
    • ROELBOB
    • DevOps Toolbox
    • IT as Code
  • DevOps Chats
  • Webinars
    • Upcoming
    • On-Demand Webinars
  • Library
  • Events
    • Virtual Summits
    • Conferences
  • Sponsored Communities
    • CloudBees
    • IT as Code
  • Related Sites
    • MediaOps
    • Container Journal
    • Security Boulevard
    • SweetCode.io
    • Digital Anarchist
    • DevOps TV on YouTube
    • DevOps Chat on SoundCloud
    • DevOps Connect
    • DevOps Dozen
  • Media Kit
  • Follow Us
    • Twitter
    • Google News
    • LinkedIn
    • Facebook
    • DevOps TV on YouTube
    • Email
MENUMENU
  • AI
    • AIOps

      DevOps and AIOps: Better Together

      AIOps

      IBM Launches Ambitious AIOps Initiative

      Moogsoft

      Moogsoft Expands Reach of AIOps Platform

      AIOps 2020

      AIOps 2020: IT Talent Is the Game-Changer

      Moogsoft

      6 Common Pitfalls to Avoid While Building Out Your AI Tools

  • Cloud
    • DaaS

      DevOps as a Service: Migrating Your Entire DevOps Stack to the Cloud

      DevSecOps - securing internet-facing portals _ application security

      Securing Internet-Facing Portals

      Ansible

      Red Hat Extends Scope of Ansible Tools

      Data fabric_developers

      Data: The Fabric of Developers’ Lives

      Multi-Cloud Cost Optimization

      Multi-Cloud Cost Optimization For The Enterprise

  • Continuous Delivery
    • New Relic

      Report Finds Much Room for CD Improvement

      SDM’s Holistic Approach

      How SDM’s Holistic Approach Connects Organizations and Streamlines Delivery Processes

      CD Foundation

      CD Foundation Serves Up Tekton Pipelines Beta

      GitLab Features - Core Open Source Platform

      GitLab Shifts 18 Features Into Core Open Source Platform

      CircleCI DevOps

      CircleCI Surfaces More DevOps Insights

  • Continuous Testing
    • Shift-Right Testing - TestOps

      Shift-Right Testing: The Emergence of TestOps

      What Developers Should Take Away from the Iowa Caucus App Debacle

      What Developers Should Take Away from the Iowa Caucus App Debacle

      survey testing

      Survey Sees Little Progress in Drive to Shift Testing Left

      DevOps Software Testing

      DevOps Places Software Testing in the Crosshairs

      testing

      DevOps Chats: Enterprise Continuous Testing With a Shift-Right Mindset

  • DevSecOps
    • survey

      Survey Surfaces Root Causes of DevSecOps Tension

      application development

      Sacrificing Security for Speed: 5 Mistakes Businesses Make in Application Development

      WordPress hacks

      WordPress Hacks: Best Ways to Protect WordPress from Hacking

      Your Applications Are the Weakest Security Link

      Your Applications Are the Weakest Security Link

      DevSecOps - securing internet-facing portals _ application security

      Securing Internet-Facing Portals

  • Leadership Suite
    • Enterprise IT teams

      Need for Increased Training — Strained Budgets Strain Enterprise IT Teams

      COVID Impact

      Coronavirus Impact: Enterprises Must Focus on What Works

      IT budgets

      Despite Downturn, Enterprise IT Budgets Remain Intact

      Employment in the Age of Automation

      Metropolis Now: The Two Worlds of Employment in the Age of Automation

      Digital Resiliency Wins

      The Way Forward: Digital Resiliency Wins

  • Practices
    • GitHub repository

      GitHub Extends Scope and Reach of Repository

      WordPress hacks

      WordPress Hacks: Best Ways to Protect WordPress from Hacking

      TechStrong

      TechStrong Con: 12 Hours Strong, June 4

      Enterprise Kanban Implementation

      Enterprise Kanban Implementation: Where to Start and How to Scale Across an Organization

      DaaS

      DevOps as a Service: Migrating Your Entire DevOps Stack to the Cloud

  • ROELBOB
    • why-nothing-works

      Level-Setting Expectations

      buried-in-code

      Buried in Code

      Necessary Skills

      Necessary Skills

      A Tale of Streams

      The Mystical, Magical World of Distributed Computing

      Dynamics of Consumption

      The Consumption-Driven Economy

  • Toolbox
    • GitHub repository

      GitHub Extends Scope and Reach of Repository

      Enterprise Kanban Implementation

      Enterprise Kanban Implementation: Where to Start and How to Scale Across an Organization

      Pulumi

      Pulumi Tightens DevOps Platform Integration

      GitHub private repositories

      GitHub Makes Private Repositories Free for Unlimited Users

      GitLab GitHub

      GitLab Responds To GitHub Making Teams Free – We All Win

  • IT as Code
  • More Topics
    • Application Performance Management/Monitoring
    • Culture
    • Enterprise DevOps

Home » Blogs » AI » 6 Common Pitfalls to Avoid While Building Out Your AI Tools

Moogsoft

6 Common Pitfalls to Avoid While Building Out Your AI Tools

Ramprakash RamamoorthyBy Ramprakash Ramamoorthy on April 24, 2020 1 Comment

Enterprise-level companies, with thousands of employees across the globe, can have their AI framework replicated by B2B companies of nearly any size. In fact, even without access to a ton of proprietary data and immense computational power, you can build out effective AI tools.

Related Posts
  • How to Implement a Data Self-Service Program
  • Building Your Data Science Team from Within
  • The Barriers to Robotic Process Automation, Part 2
    Related Categories
  • AI
  • Blogs
  • DevOps Practice
    Related Topics
  • ai
  • AI tools
  • artificial intelligence
  • data leakage
  • personal data
Show more
Show less

To begin with, you can introduce publicly available datasets from movie review websites, e-commerce review sites and elsewhere to train your system. When doing so, be sure to double check the license details of such publicly available corpuses, as some will not allow commercial usage. Then, during the preprocessing stage—after removing swear words, jargon and other irrelevant elements from your corpus—you can add noise and slightly alter your existing data to create even more relevant data points in your corpus. 

After this, you can build a semi-supervised learning algorithm through techniques such as tri-training. In tri-training, we essentially train three different neural networks over binary classification data. Once two models agree with one another, the data is introduced to the third network and then re-trained until all three models are in agreement. However, before your AI tools are up and running, it’s important to be mindful of the following common pitfalls.  

Overfitting AI Models

It may seem counterintuitive, but you really do not want your AI model to be too accurate. If your cross validation score is anything above 100, then you might need to reconsider deploying the model, since it might be prone to overfitting. If your training data is overfit, one small change can render the entire model useless. Your model should be accurate. However, it cannot be too accurate, as it needs to be adaptive. 

Class Imbalance

When training your AI tools, it sometimes makes sense to include a disproportionate amount of your target variable. For example, perhaps you’re training your computer vision AI tool to recognize planks of wood in a warehouse. Even if planks of wood only account for 1% of your total inventory, you’ll want to oversample the minority class. In this case, you’ll likely want 60% of your sample to be planks of woods. You really want to amplify this number to ensure you have the right class balance. 

Data Leakage

Another common misstep is the failure to capture data leakage, which can occur in any number of ways. A common instance occurs when an element used to test the model slips into the training data. This generally causes your model to appear to be performing well. However, its predictions might not be as good when deployed in production. To rectify this, it is vital that you keep track of any changes to your AI tools. In addition to your organization’s code reviews and configuration change reviews, you should have data set reviews to ensure your AI engineering is being done properly. Any parameter change within your AI tools needs to be fastidiously documented. 

Concept Drift

All AI tools are dependent upon the shape of the data that comes into your system. For example, perhaps your AI model was trained for response times being between 1-100 seconds, and all of a sudden the response times are between 1-1,000 seconds. In this case, your model will likely fail to capture the new data points. It’s important to be aware of such an occurrence, so that you can retrain your model accordingly. 

There are many techniques that can be used to identify instances of concept drift. Rather than waiting for feedback from your customers, you can set up anomaly detection in a way that it identifies concept drift on incoming data and automatically updates your AI model.

Using Personal Data

With the CCPA and GDPR in place and a federally mandated U.S. data privacy law on the horizon, organizations are wary of using their customers’ data to train their AI tools. It’s prudent to train your AI system with anonymized data; this way, you won’t set yourself up for problems down the road. 

Failing to Ensure All Your AI Decisions Are Explainable

Most AI-enabled decisions are enacted upon by teams rather than individuals. Hence, it’s vital that your AI model’s recommended courses of action come with explanations. Additionally, these explanations should have confidence intervals, making it easier to interpret results. 

During root cause analysis and remediation, it’s often unclear which team is ultimately responsible for the issue at hand. If the AI’s suggested course of action comes with an explanation, this helps immensely during the remediation process. For example, if the starter event is a network build-up, the issue likely lies with the engineering team. Alternatively, if the starter event is a network configuration change, the network team is the likely culprit. By closely monitoring your AI tools’ performance and ensuring that all AI decisions are explainable, you can quickly solve issues and course correct.

Filed Under: AI, Blogs, DevOps Practice Tagged With: ai, AI tools, artificial intelligence, data leakage, personal data

  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • More
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)

Like this:

Like Loading...
Sponsored Content
Featured eBook
The Automated Enterprise

The Automated Enterprise

“The Automated Enterprise” e-book shows the important role IT automation plays in business today. Optimize resources and speed development with Red Hat® management solutions, powered by Red Hat Ansible® Automation. IT automation helps your business better serve your customers, so you can be successful as you: Optimize resources by automating ... Read More
« 3 Ways DevOps Can Increase the Value of Organizational Data
IBM Boosts Security and Productivity with Red Hat OpenShift 4.3 on IBM Cloud »

Upcoming Webinars

Developers Driving DevOps at Scale: 5 Keys to Success
Friday, May 8, 2020 - 1:00 pm EDT
How to Enable Remote Work in Enterprise Software Delivery
Tuesday, May 12, 2020 - 1:00 pm EDT
Innovating in Uncertain Times – Keeping DevOps Agile and Secure
Wednesday, May 13, 2020 - 1:00 pm EDT

TechStrong TV – Live Streaming

TechStrong TV - All Episodes

Top Stories of the Week

  • View DevOps.com Privacy Policy

Upcoming Webinars

Fri 08

Developers Driving DevOps at Scale: 5 Keys to Success

Fri, May 8, 1:00 pm - 2:00 pm EDT
Tue