Смартсорсинг.ру

Сообщество руководителей ИТ-компаний, ИТ-подразделений и сервисных центров

Статьи в блогах Вопросы и ответы Темы в лентах Пользователи Компании Лента заказов Курс по ITSM

Preparing AI Training Data For Machine Learning

Preparing AI Training Data For Machine Learning

What is Training Data?

Machine learning and AI models are dependent on quality training data. Knowing how to efficiently gather, prepare and then test your data will help you make the most of AI.
 
Machine Learning algorithms are able to learn from the data. They discover relationships, build knowledge, make decisions and determine their level of confidence based on the data they're provided with for training. And the more accurate the training data and the more reliable the model's performance.
 
In actual fact the quality and quantity of the machine learning AI Training Data you collect is as important with the success of your project as the algorithms themselves.
 
It is crucial to share a common understanding of what we mean by dataset. The definition of a data set is that it contains both columns and rows, each column containing an observation. The observation could include an image or audio file, text or video. However, even when you've accumulated a huge amount of structured data in your database however, it's not properly labeled so that it is actually a useful training data set to train your model. For instance autonomous vehicles don't require images of roads, they require labeled images in which every pedestrian, car street sign, pedestrian and many more are noted. Sentiment analysis projects need labels to help algorithms discern whether someone is using language such as sarcasm or slang. Chatbots require entity extraction as well as an accurate syntactic analysis. Not only pure language.
 
That is that, the data you wish to train with will require enrichment or identified. In addition, you might have to gather more data to fuel your algorithm. Most likely, the data you've accumulated isn't enough for training the machine-learning algorithms.

Determining How Much Training Data You Need

There are many variables to consider when determining how much machine-learning training data you require. The first and most important is the importance of accuracy. If you're developing an algorithm for sentiment analysis. The issue is complex however, it's not a matter of life or death matter. A sentiment algorithm that can achieve an accuracy of 85 to 90% is sufficient for the majority of people's needs. an inaccurate negative or positive in one place or another isn't likely significantly alter the things. Now, a cancer detection model or a self-driving car algorithm? This is a different issue. A cancer detection system that may miss crucial indicators is a matter about life or death. However, those with more complex applications generally require more information than simpler ones. A computer vision system that's trying to just identify food items and not recognize objects will generally require lesser training data as an average. The more classes that your model will recognize as well, the more examples it'll require.

Preparing Your Training Data

In reality, the majority of data is inconclusive or messy. For instance, take a picture. For a computer an image is an assortment of pixels. Some may be green while others could have brown hues, however the machine does not know that this is an actual tree until it is given an identification label that states the group of pixels is an actual tree. If a computer can see enough images that are labeled as trees, it will begin to realize that similar clusters of pixels in unlabeled images can also be considered to be trees.
 
How do you create the training data to ensure it contains the attributes and labels your model requires to perform well? The most effective method is to use the human-in-the loop. More precisely human-in-the-loop. Ideally, you'll have an assortment of annotators (in certain cases you might require specialists in the domain) who are able to label your data with precision and effectively. Humans are also able to look at the output of a model-for instance, its prediction of whether the image is actually an animal-and confirm or verify that the output is correct (i.e. "yes, this is a dog" or "no, this is a cat"). This is referred to as monitoring ground truth. It is one of the elements of an iterative human-inthe-loop process.

Testing and Evaluating Your Training Data

Usually, when building models, you break the labeled data into testing and training sets (though occasionally, your testing set might not be labeled). Of course you'll train your algorithm on the first and test its performance on the later. What happens if your validation set fails to give what you're searching for? You'll have to change your weights, change and/or add labeling, test various approaches, and even change your model.

Kinds of Errors We Observe in Training Data

The mistakes listed below in the training data are the three most frequent GTS experiences during the annotation process.

1. Labeling Errors

Labeling errors are among the most frequent issues encountered when making high-quality training information. There are a variety of labeling errors that could be observed. Consider, for instance, that you give you with data analysts with a job to draw lines of bounding around your cows within an image.

2. Unbalanced Training Data

The nature of the training dataset is something you'll need to take into consideration. Unbalanced data can lead to distortion in model performance. Data imbalance can occur in the following situations:
 
Class imbalance: It occurs when you don't have a valid AI Data Collection process If you're developing your model to recognize cows, and you only have images of dairy cows in an idyllic, green, sunny field the model will do admirably in identifying a cow in these conditions, but not under other conditions.
 
Data recency: All models diminish in time as the actual world changes. One perfect example of this is coronavirus. If you were to search "corona" in 2019, you'll likely get outcomes for Corona beer as the top result. In 2021 the results will be filled with articles about coronavirus. The model must be periodically updated with the latest data when changes such as this occur.

3. Bias in Labeling Process

When discussing learning data and training, the issue of bias frequently is brought up. The bias can be introduced during the process of labeling when you're using a homogenous annotator group, however, it is also a possibility when the data requires specific knowledge or context to ensure precise labeling. As an example, suppose you need an annotator to label breakfast foods on pictures. In your database are images of dishes that are popular across the globe: for instance, black pudding in the UK hagelslag (sprinkles on toast) from the Netherlands and vegemite, which is from Australia. If you asked American annotation experts to label the data, they'd likely have a hard time determine the dishes and most likely make a mistake about the authenticity of these breakfast food items.

Solid Guidelines To Simplify Your AI Training Data Collection Process

1.What Data Do You Need?

This is the very first question you must to answer in order to build relevant data sets and create an enjoyable AI model. The type of information you require will depend on the actual problem you're attempting to address.

2.What Is Your Data Source?

ML data source is a complex and difficult. This has a direct impact on the results the models can deliver in the near future. Care is required in this moment to create precise data sources and points of contact.
 
To begin to get started with data sources, find internal data generation points. These sources of data are identified by your company and your own business. They are, therefore, relevant to the purpose you are using them for.

3.How Much? - Volume Of Data Do You Need?

Let's extend the previous pointer just a bit. The AI model will be optimized for precise results only when it has been constantly trained by using larger amounts of context-specific datasets. That means you're likely to need a huge amount of data. In terms of AI learning data are concerned, there's no limit to the amount of data.

4.Data Collection Regulatory Requirements

Common sense and ethics require that data source should be coming from reliable sources. This is even more important when creating an AI model using financial data, healthcare data, or other data that is sensitive. After you've sourced your data make sure you implement the appropriate regulations and standards like GDPR, HIPAA standards, and other standards that are relevant to ensure that your data is safe and free of any legal ramifications.
 
Are you working on your own virtual assistant? The type of data you need is speech data, which includes an array of accents emotional states age and languages, as well as pronunciations, modulations and much more for your customers.
 
If you're creating chatbots for fintech product, you need text-based data that is a good mixture of semantics, contexts and sarcasm, as well as grammatical syntax punctuation marks, and much more.

5.Handling Data Bias

Data bias is a slow process that can destroy your AI model over time. Think of it as a poison that is slow to kill that can only be detected with the passage of time. Bias is a result of unknown and involuntary sources and easily slips under the radar. If you have AI information for training has been influenced, the results will be affected and can be biased. They are usually one-sided. To prevent such situations to avoid such situations, make sure the information you gather are as broad as you can. For example, if you're collecting data on speech, you should include data from diverse genders, ethnicities, age groups, different cultures accents, etc. to meet the various types of people that will be using your services. The more diverse and rich your information, the less biased it's most likely to show.
 
 
 

Комментарии (0)