Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the fusion-builder domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/dh_f24a7n/chistats.tillitclicks.tech/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the Avada domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/dh_f24a7n/chistats.tillitclicks.tech/wp-includes/functions.php on line 6260
Blog – Chistats https://chistats.tillitclicks.tech Chistats Wed, 17 Apr 2024 05:34:36 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.5 Intelligent Document Processing https://chistats.tillitclicks.tech/blog/data-engineering/intelligent-document-processing/ https://chistats.tillitclicks.tech/blog/data-engineering/intelligent-document-processing/#respond Wed, 27 Mar 2024 09:50:33 +0000 https://chistats.tillitclicks.tech/?p=1701

Despite extensive digital transformation, most companies have not adopted fully paperless processes. Heavily reliant on manual data entry and data processing, they experience operational inefficiencies and workflow bottlenecks, and limit their access to insights from advanced analytics. Organizations seek to process paper documents more efficiently and to smoothly merge data from paper and digital sources. They need an Al-powered solution to turn paper documents into structured data that goes beyond simple optical character recognition (OCR), to drive omnichannel and analytics transformations.

Chistats Advantage

Versatile Precision

Up to 95% accurate data capture from any invoice layout, with no template and rule setup.

Fast Deployment

Deploy into your invoice data capture process and business operations in a few days.

Continuous Improvement

Automatically learns from each document processed, getting smarter with use.

Enterprise Grade

Cloud-based or On-Premise, ensuring high scalability and best-in-class security and data management.

Future Ready Business Modelling

Create on-top business models based on data learning like Sales Forecasting, Anomaly Detection and Trend Analysis & Identification.

]]>
https://chistats.tillitclicks.tech/blog/data-engineering/intelligent-document-processing/feed/ 0
Predictive Maintenance https://chistats.tillitclicks.tech/blog/predictive-maintenance/predictive-maintenance/ https://chistats.tillitclicks.tech/blog/predictive-maintenance/predictive-maintenance/#respond Wed, 27 Mar 2024 09:19:34 +0000 https://chistats.tillitclicks.tech/?p=1692

Make unplanned downtime due to equipment breakdown a thing of the past. Business owners with high-value assets can be notified about potential breakdowns to better prioritize maintenance works and allocate resources more efficiently. This translates to huge cost and time savings in the long run. Early and accurate predictions enable actionable insights leading to becoming necessary parts of any business. Actionable insights yield superior customer service, disrupt business models, and create newer value propositions. Our data scientists collaborate with cross-functional teams to deliver solutions rapidly.

Benefits

Move into the era of an Early Warning System (EWS) for all your critical assets, allowing you;

Reduction in unplanned downtime

Real time integration and update on your machine capabilities

Extend lifespan of your machinery

Helps in improving overall productivity

Increase in long terms savings, by reducing maintenance & downtime

Avoid operational stress from sudden breakdowns

Our Proficiency Areas

Move into the era of an Early Warning System (EWS) for all your critical assets, allowing you;

1

Predictive
Maintenance

2

Network Anomaly Detection

3

Churn
Prevention

4

Demand
Forecasting

5

Fraud
Detection

6

Price
Optimization

7

Up and Cross
Selling

8

Lead
Qualification

]]>
https://chistats.tillitclicks.tech/blog/predictive-maintenance/predictive-maintenance/feed/ 0
Early warning system for progressive cavity pump https://chistats.tillitclicks.tech/blog/predictive-maintenance/early-warning-system-for-progressive-cavity-pump/ https://chistats.tillitclicks.tech/blog/predictive-maintenance/early-warning-system-for-progressive-cavity-pump/#respond Wed, 27 Mar 2024 09:09:22 +0000 https://chistats.tillitclicks.tech/?p=1679

The main aim of the system is a reduction in production outages, prevent unexpected equipment failure and reduce the monetary costs. This work describes the analytical platform for generating early warning systems (EWS) which predicts impending failures, condition-based monitoring, root cause analysis of failures and characteristics patterns, equipment management, monitoring, and visualization in an easy manner. The system predicts frequent failures ahead of the time to reduce downtime and increase the productivity of the progressive cavity pump.

Challenges – Handling big data, dealing with garbage data, handling asynchronous data, addressing missing values, false positive rate.

Our solution comprises the set of modules to address above mentioned challenges using advanced data processing and machine learning techniques. Accurate prediction of failure events well advanced in time requires more powerful and robust ML algorithms. This system is an end-to-end predictive platform that analyzes sensors using advanced AI/ML algorithms and delivers the probability of failure of specific PC pump for next 7 days. Based on the probability of failure, the operator can act on it. The system also provides valuable insights, e.g. which pumps are pumps under control and out of control for a long time.

This system predicts 7 days early failure detection . 55% reduction in frequency of pump breakdowns. 35% less downtime of pumps as compared to formal system . 65% reduction in maintenance costs due to less failure occurrences.

A product for asset management, operations & maintenance in water treatment

Challenges – Data Lake building from scratch, Handle multiple variations, customizations in product, quality & validation of data.

In the water treatment industry operation and maintenance plays a very critical role, currently all data collection, events and reporting done manually without any digital application.

– This product is used to do all types of activities related to water treatment operations & maintenance like data logging and validations which includes real time sensor data collection, manual data entries, all types of events, inventory stock updates, KPI data and so on.
– A product encompasses all the data that comes into system to generate the insightful information out of it using advanced analytical methods and produces high-quality visualizations.
– These insights and information are very useful to maintain and operate plants in optimal and efficient way.
– This data is then utilized to perform AI/ML activities for asset management in the plant, to increase its productivity, to extend health of assets, provide early warning of maintenance activities, conditional monitoring and so on.
– The product also generates reports to show the system performance based on the KPI’s, calculates the money saving, chemical saving, energy savings, reduced carbon footprints and so on.

Product features and business values

Centralized Data Storage

  • Ensures data accuracy and reliability.
  • Facilitates organized and secure storage of critical data.
  • Provides a solid foundation for future Data Science projects.
  • Enhances insights and decision-making for improved plant performance.

Asset Health Monitoring System

  • Operated in optimal and efficient way.
  • Reduces chemical and energy consumption.
  • Increases cost-effectiveness of water treatment processes.

Alarms and Early Warning

  • Reduces unplanned plant downtime.
  • Enables proactive compliance management.
  • Minimizes the risk of costly fines and disruptions.

Plant Optimization

  • Maximizes resource recovery.
  • Improves efficiency and reduces operational costs.
  • Promotes a sustainable approach to water treatment.

Inventory Management

  • Ensures availability of chemicals when needed.
  • Reduces plant downtime due to shortages.
  • Optimizes inventory levels and forecasting for cost savings.

Supply Chain Demand Forecasting

The client, a prominent player in any industry, was interested in finding methods to create dependable market predictions and improve customer service levels. Consequently, they aimed to achieve precise and reliable forecasts for the product’s demand and ensure the appropriate supply to meet that demand. Additionally, they sought to optimize production timing and streamline delivery processes to minimize inventory expenses and address supply chain irregularities. The rapid shifts in customer demand resulting from the global pandemic pose significant challenges for demand forecasting.

Challenges that come with demand forecasting

Machine learning algorithms require a large volume of high-quality data to produce accurate forecasts. However, data may be incomplete, noisy, or biased, which can affect the accuracy of the forecast, or it can lead to inaccurate predictions. In the case of intermittent, erratic, and lumpy data patterns, reaching an accurate forecast is difficult compared to a smooth pattern. Forecasting requires expertise in data analysis, statistical modelling, and domain-specific knowledge related to the forecast industry or sector. A lack of expertise in these areas can lead to inaccurate predictions.

Our solution involves multiple AI/ML models to perform the data processing, feature extraction, and model building on the data. This system generates precise forecasts related to demand, inventory requirements, and sales for next 18 weeks by applying through the analysis of extensive data sets and the detection of patterns and correlations,

Business values –

Improved financial planning, better inventory management, improved supply chain planning, enhanced labor planning, reduced waste.

Predictive lead generation

Client is one of the leading FinTech company in India selling a variety of own- and third-party financial products through phone based, digital and feet on street channels. Having huge number of leads per week while some of leads will buy and most of them will not buy. And depending on the customers type, every resource must deal with a lot of customers. To have call with all lead not resource efficient.

This system is a data driven approach to insure only leads who are likely to buy are engaged with resources. Predictive lead scoring is a system that involves the use of ML algorithms to score leads instead of arbitrarily decided frameworks. Algorithm considers the already existed data and use it to determine which of your leads are sales qualified.

Business Benefits to Client-

Higher lead conversion ratio, Higher sales with lower marketing spend, Higher sales team and channel efficiency, More accurate sales prediction -Identify shortfalls early and take proactive action, Ease of sale increases – Time saving for salesperson and customer

]]>
https://chistats.tillitclicks.tech/blog/predictive-maintenance/early-warning-system-for-progressive-cavity-pump/feed/ 0
IIoT based Predictive Maintenance 4.0 (Part 3) https://chistats.tillitclicks.tech/blog/ai-ml/iiot-based-predictive-maintenance-4-0-part-3/ https://chistats.tillitclicks.tech/blog/ai-ml/iiot-based-predictive-maintenance-4-0-part-3/#respond Wed, 27 Mar 2024 06:58:24 +0000 https://chistats.tillitclicks.tech/?p=1661

How did we develop a comprehensive platform for PdM?

The amount of data collected by the digital assets farm is humongous. To acquire, store, analyze and visualize such data using traditional software may not be efficient and scalable. Accurate prediction of failure events well advanced in time requires more powerful and robust ML algorithms. There are various stages in building an end-to-end solution for PdM. This system is an end-to-end PdM platform that analyzes IIoT sensors using advanced AI/ML algorithms and big data technologies to improve asset availability, extend assets’ lifetime and reduce cost.

System Overview

IIoT sensor data is gathered into the scalable and efficient centralized data lake. Further from the data lake analysis pipeline carries out various data manipulation stages, namely data integration, data clean-up, data processing, data annotation etcetera. Then analytical experiments are performed on over-processed data. Hence, experimental reports and failure alerts are visualized in a user-friendly, interactive dashboard.

What are the financial benefits of IIoT PdM?

The goal of IIoT PdM is to provide alerts of asset degradation and evolving failure early enough to prevent unscheduled downtime. If operators are alerted to prevent failures, they can reduce the burden of inventories of equipment. Reactive Maintenance is not only expensive but also time-consuming. An overall goal could be lowering operations and maintenance (O&M) costs and higher yield rates.

A specialized oil and gas pump may fail 4-5 times in its typical life cycle of 3 years. The downtime for each such instance is 6-7 days which means, a single pump is out of production for approximately thirty days in its life span. Thus, it costs OGIs huge production outage, labor costs, repair or replacement pump cost and other overhead costs.

Let’s look at a pump example, these pumps are specialized and if any damage occurs consequently the pump may have to be replaced. The replacement cost of one pump is up to 8K $ plus gas production loss 6K $ (200$ per day * 30 days), hence gross O&M cost is at least 17K $.

Assuming a 30% reduction in the O&M costs, this would translate into an annual cost saving of 3700$ for a pump.

]]>
https://chistats.tillitclicks.tech/blog/ai-ml/iiot-based-predictive-maintenance-4-0-part-3/feed/ 0
Underwater Photography Noise Removal Denoising Images https://chistats.tillitclicks.tech/blog/computer-vision/underwater-photography-noise-removal-denoising-images/ https://chistats.tillitclicks.tech/blog/computer-vision/underwater-photography-noise-removal-denoising-images/#comments Wed, 27 Mar 2024 06:50:14 +0000 https://chistats.tillitclicks.tech/?p=1651

Image Fusion

Image fusion is the process of putting together images from different sources with different input qualities so that you can learn something better. It is possible to improve the quality of previously poor images using the image fusion process, particularly in no-reference image quality enhancement techniques. The image that had been damaged was the only thing used to make the inputs and weight measures for the fusion-based strategy. Four-weight maps can make it easier to see things far away when the medium makes it hard to see them because it scatters and absorbs light. Two inputs show how the colours and contrast of the original underwater image or frame have been changed. These are used to get around the things that can’t be done underwater. To use a single image, you don’t need any special tools, to be underwater, or to know how the scene is put together. The Fusion framework helps keep frames in sync with each other in terms of time by keeping edges and reducing noise levels. Real-time applications can now use better images and videos with less noise, better ways to show dark areas, higher global contrast, and better edges and fine details. These changes can also help applications that work in real-time. 

Why Image Fusion

The field of multi-sensor data fusion has evolved to the point where it requires more general and formal solutions for various application scenarios. When it comes to image processing, there are times when you need an image that contains a great deal of spatial information as well as a great deal of spectral information. Knowing this is essential for work involving remote sensing. However, the instruments cannot provide this information because of how they were constructed or utilised. Data fusion is one approach that can be taken to address this issue. 

Benefits of Image Fusion

Image fusion has several advantages in image processing applications, some of which are listed below. 

  • High accuracy  
  • High Reliability 
  • Fast acquisition of information 
  • Cost-effective. 

There is a significant difference between the atmosphere above and outside the water and the atmosphere above and below the water. The colours blue and green predominate in the majority of the photographs that are produced by underwater photography. It isn’t easy to see things underwater due to the physical characteristics of the environment, for example. Because light is attenuated when it passes through water, images captured while underwater is not as crisp. As the distance and depth increase, the light becomes dimmer and dimmer due to absorption and scattering processes. When light is scattered, its path is altered, but it loses a significant amount of the energy that makes it visible when absorbed. There is less contrast in the scene due to a small amount of light being scattered back from the medium along the line of sight. The underwater medium creates scenes with low contrast, giving the impression that things in the distance are shrouded in mist. In the water of a typical sea, it is difficult to differentiate between things that are longer than 10 metres; as the water gets deeper, the colours become less vibrant. Additionally, it is difficult to tell the difference between things that are longer than 10 metres.

The three main parts of an enhancing strategy are the definition of weight measures, the multi-scale fusion of the inputs, weight measures, and the assignment of inputs (which involves deriving the inputs from the original underwater image).<

Inputs

For fusion algorithms to work well, they need well-fitted inputs and weights. The fusion method differs from most others because it only uses one damaged image (but none designed for underwater scenes). Image fusion combines two or more images while keeping their most important parts.

Weight measures

The weight measurements must consider how the output will look after it has been fixed. We argue that image restoration is closely related to how colours look. This makes it hard to use simple per-pixel blending to combine measurable values like salient features, local and global contrast, and exposedness without making artefacts. Images with more pixels that are heavier. The laplacian weight, the local contrast weight, and the saliency weight are considered.

Fusion

The improved version of the image is obtained by fusing the defined inputs with the weight measures at each pixel location. This results in an enhanced version of the image.

The methodology is applied to numerous underwater images in the experiment, and the performance is tested. The images for the experiments are collected from the Underwater Image Enhancement benchmark dataset (UIEB). The UIEB comprises two subsets: the first contains 890 raw underwater images and high-quality reference images, and the second contains 60 challenging underwater images.  Figure 1 presents a selection of underwater images and the results obtained by applying the methodology discussed previously to conduct a qualitative evaluation. The images on the left side of Figure 1 are blurry, and most things under the water can’t be seen clearly. So, the object detection programmes couldn’t find the smaller things in the image, making recognising things harder. The fusion process took the haze out of the picture, and now you can see even the smallest objects and other particles that were hidden in the picture’s background. Because the images made by this pre-processing method are so good, they can be used in real-time applications. 

The fusion technique that is used to improve underwater images can be applied in a variety of contexts. Most applications implement this fusion procedure as a pre-processing strategy to enhance the quality of underwater images. Two of the applications are mentioned here, and how they are used in real-world.

Fish detection and tracking

There is a lot of software for Android and iOS devices that can help you identify fish. This software can be your tour guide through the world of fish. Many different kinds of people, from anglers to scuba divers, can use these apps for different tasks. These apps have a lot of pictures and specific information about each fish, like how deep you should dive and where you should go to catch the most fish. You’ll be glad to know that there are apps for both iOS and Android that can help you identify a fish right away. A few of these mobile applications are picture fish, FishVerify, Fishidy, FishBrain etc. 

Coral-reef monitoring

Coral reefs keep beaches safe from storms and erosion, create jobs for locals, and give people a place to play. They can also be used to make new foods and medicines. Reefs provide food, income, and shelter for more than 500 million people. Local businesses make hundreds of millions of dollars from people who fish, dive, and snorkel on and near reefs. It is thought that the net economic value of the world’s coral reefs is close to tens of billions of dollars. Underwater Coral Reef is a beautiful, easy-to-use mobile application that lets you customise your device. Underwater Coral Reef is compatible with almost all devices, doesn’t need to be connected to the Internet all the time, uses little battery, and has simple settings for the user interface.

In addition to these applications, the image enhancement strategy’s fusion procedure is used in sea cucumber identification, pipeline monitoring, and other underwater object detection and identification applications. 

]]>
https://chistats.tillitclicks.tech/blog/computer-vision/underwater-photography-noise-removal-denoising-images/feed/ 1
Sentiment Analysis with Topic Modelling https://chistats.tillitclicks.tech/blog/ai-ml/sentiment-analysis-with-topic-modelling/ https://chistats.tillitclicks.tech/blog/ai-ml/sentiment-analysis-with-topic-modelling/#respond Wed, 27 Mar 2024 06:44:11 +0000 https://chistats.tillitclicks.tech/?p=1646

What is it

Sentiments, feelings and emotions are an integral part of human nature. Over 2.5 quintillion bytes of data are created every single day. Twitter itself generates 500 million tweets every day. Sentiment Analysis deals with examining the study of textual data like posts, blogs, reviews, etc., expressed by users regarding their views and opinions about a specific product, service, event, idea, news or person.

The most common use of Sentiment Analysis is classifying the text into class(es). It can be binary like positive/negative, yes/no, etc., or multi-class like positive-negative-neutral, yes-no-maybe, etc. Sentiment Analysis aids organisations to track the following:

· Brand popularity and acceptance

· New product anticipation and perception

· Company reputation

· Understand the customer experience

What we did

During our analysis of social media comments for one of the biggest cosmetic giants of the US and France, we followed the protocol of Natural Language Processing (NLP). We first analyze raw data, which contains text and tons of emoticons. Besides analysing long reviews and posts that mention multiple products, our challenges were complicated sentences, sarcasm, slang. For example, in beauty parlance, “It just sucks everything from my pores” would mean a positive sentiment OR “I am dying to use ABC product” would mean a positive sentiment.

Our solution design not only concentrated around the classification of data as positive/negative/neutral, but also topic modeling. Topic modeling is a process to automatically detect topics in the text and derive hidden patterns in the corpus, thus assisting in better decision-making. Topics can also be defined as a repeated pattern of most occurring terms in a corpus of text.

As shown above, in a snapshot, the terms that were relevant for the highlighted topic in red give an indication of what is important to the user for that term. For e.g. When the topic “glow” is used, terms like “abhcosmetics”, “mabelline”, “purpleheart”, etc. are most frequently used. This provides a detailed insight to the business owners for marketing the right products in the right category or to provide the right offers on brands when the customer is looking for “glow”.

Where is the future

Topic Models are advantageous in domains like HR Recruitment, where the right candidates can be mapped to the right job profile. It can also aid the News industry where the correct articles are recommended to the right set of users. Or to gauge public opinion on policy announcements and campaign messages ahead of presidential elections. Thus, sentiment analysis, along with topic modelling, can not only help you know what people are thinking about you but also about your competitors.

For a customized solution to your business problem, please contact us.

]]>
https://chistats.tillitclicks.tech/blog/ai-ml/sentiment-analysis-with-topic-modelling/feed/ 0
IIoT based Predictive Maintenance 4.0 (Part 1) https://chistats.tillitclicks.tech/blog/iot/iiot-based-predictive-maintenance-4-0-part-1/ https://chistats.tillitclicks.tech/blog/iot/iiot-based-predictive-maintenance-4-0-part-1/#respond Wed, 27 Mar 2024 06:41:24 +0000 https://chistats.tillitclicks.tech/?p=1643

Predictive Maintenance for Domain-Specific Pumps through Intelligent Asset Farms Management and Monitoring

Introduction
Predictive maintenance (PdM) with the industrial internet of things (IIoT) for digital assets has generated significant interest in the oil and gas industry (OGI) like many others. The OGIs are interested in predicting the field-specific specialized equipment pump (asset) failures well advance in time to enhance the operations and reduce the pump’s downtime. One of the ways to tackle such a problem is to continuously monitor the pump’s health and conditions using electrical and mechanical metrics through the IIoT sensors. These IIoT sensors transmit data to a centralized server where a predictive analytics platform resides. Such types of telemetry data in conjunction with advanced machine learning (ML) algorithms attempt to avoid failure by scheduling the predictive/preventive maintenance in a data-driven manner. The main aim of the system is a reduction in production outage, prevent unexpected equipment failure and reduce the monetary costs. This work describes the analytical platform for generating early warning systems (EWS) which predicts impending failures, condition-based monitoring, root cause analysis of failures and characteristics patterns, equipment management, monitoring and visualization in an easy manner.

]]>
https://chistats.tillitclicks.tech/blog/iot/iiot-based-predictive-maintenance-4-0-part-1/feed/ 0
How to Use AI and ML to Improve Your Supply Chain Demand Forecasting https://chistats.tillitclicks.tech/blog/ai-ml/how-to-use-ai-and-ml-to-improve-your-supply-chain-demand-forecasting/ https://chistats.tillitclicks.tech/blog/ai-ml/how-to-use-ai-and-ml-to-improve-your-supply-chain-demand-forecasting/#respond Wed, 27 Mar 2024 06:36:40 +0000 https://chistats.tillitclicks.tech/?p=1633

In the era of modern technology, the competitive paradigm among organizations is changing at an unprecedented rate. Many organizations today have been caught off guard by supply chain disruptions and unexpected increases in demand. Meeting immediate market demand is essential for maintaining a competitive edge in the era of immediate satisfaction. Furthermore, due to the growing economic uncertainty caused by the pandemic, businesses have been compelled to devise novel approaches for accurately forecasting demand for their goods, inventory, and products. A company risks losing customers and revenue if it fails to satisfy the immediate need. New success metrics are applied to the organization’s supply chain performance to outperform the competition. However, this lead can only be obtained and sustained if the organization has an effective and efficient supply chain and an appropriate forecasting technique.

Traditional demand forecasting techniques forecast demand using past shipment and sales data. The major drawback of this method is that it does not factor in real-time changes in market conditions and other events that can likely influence demand. As a result, there is too much dependency on historical data. The traditional techniques have limitations, so they urgently need to be strategically updated to meet the most recent consumer demand trends and handle the ever-growing supply chain challenges. A series of consumer expectations, international complications, an abundance of routes to the market, and other unexpected conditions mainly cause these issues in the supply chain network. As a result, supply chain managers must develop clever business strategies to eliminate these challenges and keep everything running efficiently. Given the ongoing challenge, the most beneficial approach for organizations across any sector is to use tech-enabled supply chain forecasting and demand sensing platforms. Businesses want to choose the best action plan for their future production and demand. In contrast to traditional methods, which rely on individual preferences and bias, AI-powered supply chain forecasting tools automate the process by collecting massive amounts of data from different sources to determine future demand or events based on market statistics. Machine learning algorithms can analyze large amounts of data and identify patterns and relationships that traditional statistical methods may miss.

Forecasting is essential in many sectors, including business, economics, finance, meteorology, and supply chain management. In this article, we will explore how machine learning is used for demand forecasting in different industries. It involves predicting future events, trends, and outcomes based on past data and statistical models. The effective AI-powered demand forecast tool enables organizations to be successful in the global market. Any organization can plan their production, manage its inventory, and streamline its supply chain with accurate forecasting. This process requires planning and coordination between business stakeholders, including data engineers and scientists.

The Business Challenge:

The client, a prominent player in any industry, was interested in finding methods to create dependable market predictions and improve customer service levels. Consequently, they aimed to achieve precise and reliable forecasts for the product’s demand and ensure the appropriate supply to meet that demand. Additionally, they sought to optimize production timing and streamline delivery processes to minimize inventory expenses and address supply chain irregularities. The rapid shifts in customer demand resulting from the global pandemic pose significant challenges for demand forecasting.

Overall, the solution architecture for forecasting using machine learning involves an iterative process of data collection, feature engineering, model selection, training, evaluation, and deployment, as shown in the image. 1.

The Image shows the main stages of the solution architecture, including:

  • Data Collection and Preparation: This involves collecting relevant data from various sources, cleaning and pre-processing the data, and transforming it into a format suitable for machine learning. Information such as the names of distributors, product names, sales quantities, calendar dates, product prices, promotion data, and the number of festivals, etc., can also be helpful. Before sending data to further steps, it needs to do sanity checks on the data.
  • Feature Engineering: Feature engineering is using domain knowledge of the data to create features that help ML algorithms learn better. This involves selecting and transforming the relevant features from the data to create a feature matrix that can be used for training the ML model. In order to enhance the accuracy of the model,  derived features like lag, the occurrence of the last positive sales, and the number of holidays can also be used.
  • Model Selection and Training: This involves selecting an appropriate ML algorithm, training the model on the prepared data, and optimizing the model parameters to minimize the prediction error. State-of-the-art models- XGBoost LSTM can also be applied.
  • Model Evaluation: This involves evaluating the performance of the trained model using appropriate metrics and techniques and making necessary adjustments to improve the model’s accuracy. Forecast accuracy is measured using the Mean Absolute Percentage Error (MAPE).
  • Deployment: This involves deploying the trained model into a production environment, where it can generate real-time forecasts.
  • Forecast results: In this step, a dashboard displays the forecasted results, which shows historical and forecast quantities. Also, flexibility is given to end users to verify the impact of different offered discounts on products.

To efficiently execute the aforementioned steps, a popular cloud platform, Microsoft Azure, can be used.  

As an example, assume that one needs to forecast the sales quantity of Product 1 for the next three months, specifically for Distributor A. So, to make a forecast, the following historical input data is available spanning the past four years, as shown in Image 2.

Upon completing the aforementioned steps outlined in the provided architecture, a set of methods have been tried to get the following results forecasted for Distributor A and Product 1, as shown in Image 3.

There are several challenges that come with demand forecasting. These challenges include:

Machine learning algorithms require a large volume of high-quality data to produce accurate forecasts. However, data may be incomplete, noisy, or biased, which can affect the accuracy of the forecast or it can lead to inaccurate predictions. In the case of intermittent, erratic, and lumpy data patterns, reaching an accurate forecast is difficult compared to a smooth pattern. Forecasting requires expertise in data analysis, statistical modelling, and domain-specific knowledge related to the forecasted industry or sector. A lack of expertise in these areas can lead to inaccurate predictions. With appropriate CI/CD tools, the model needs to retrain and redeploy for new data continuously.

Accurate demand forecasting can greatly affect a business in numerous ways:

  1. Improved financial planning: Forecasting can help businesses plan their finances more effectively by predicting future cash flows, revenues, and expenses. This can help businesses manage their working capital, secure funding, and plan for growth.
  2. Better inventory management: Forecasting can help businesses optimize their inventory levels and reduce stockouts or overstocking. This can lead to lower warehousing costs, increased efficiency, and improved customer service levels.
  3. Improved supply chain planning: Forecasting can help businesses plan their supply chain more effectively by predicting future demand and adjusting their procurement and distribution strategies accordingly. This can help organizations reduce lead times, improve delivery times, and avoid stockouts.
  4. Enhanced labour planning: Forecasting can help businesses plan their labour needs more accurately, including staffing levels and scheduling. This can help organizations avoid overstaffing or understaffing, which can be costly.
  5. Reduced waste: Forecasting can help businesses reduce waste by predicting future demand and adjusting production and procurement accordingly. This can help organizations avoid excess inventory or stockouts, reducing waste and improving sustainability.

In conclusion:

Machine learning proves to be a formidable asset for accurate forecasting. Through the analysis of extensive data sets and the detection of patterns and correlations, ML algorithms can generate precise forecasts related to demand, inventory requirements, and sales. Leveraging these forecasts, organizations can enhance their production processes, streamline supply chains, optimize inventory management, and bolster marketing strategies. Ultimately, this empowers organizations to make informed decisions, boost revenue, mitigate risks, and secure a competitive edge.

]]>
https://chistats.tillitclicks.tech/blog/ai-ml/how-to-use-ai-and-ml-to-improve-your-supply-chain-demand-forecasting/feed/ 0
How can we solve High-Speed Printing Defect Detection? https://chistats.tillitclicks.tech/blog/computer-vision/how-can-we-solve-high-speed-printing-defect-detection/ https://chistats.tillitclicks.tech/blog/computer-vision/how-can-we-solve-high-speed-printing-defect-detection/#respond Thu, 21 Mar 2024 06:55:32 +0000 https://chistats.tillitclicks.tech/?p=1153

Product packaging covers are printed with branding and marketing information (refer to Figure 1). A specialised large-scale printing system prints on the packaging material rolls at high speed, which run several meters in length. Any improper setup, a minor misalignment, or the printing process noise itself can introduce defects while printing. These defects have no defined shape or form and can be anything from lines to small color splashes to CMY colour channel misalignments, etc. A defect can be defined as any difference between the intended printing and the actual printing, excluding the process noise (process noise is a slight deviation introduced in printing as the sheet stretches and flaps because of high-speed sheet rollers). Refer to Figure 2 for some examples of printing defects.

These defects can greatly affect the product brand value if it goes undetected and lands at the end consumer’s hand. Hence, early detection of defects is crucial. As the printing happens at high speed, manual inspection gets challenging in spotting defects. Thus the need of an auto-inspection system becomes very important for such use cases.

Problem Statement

The printing speed is somewhere between 2-5 meters per second, which results in a frame rate of 10-20 frames per second. This rate is very high for a human to spot small defects which spread over a few pixels, that too from an image frame of 3000 x 5000 pixels resolution. Hence auto detection is the only way which can bring value to quality assurance. Thus the above requirements can be mapped into following problem statement:

“Using the reference frame (or image), detect any deviations present in the test frame (or image), excluding minor deviations introduced by printing process noise. Processing time should be atleast 100 miliseconds per test frame”

Challenges

  • Small Defect Footprint: The defect footprint is tiny compared to the image frame. For example, the defect line width can be as small as 2 pixels whereas image frame is of high resolution i.e. 3000 x 5000 pixels.
  • Processing time vs High Resolution Input Frame: The processing time requirement is sub-100 milliseconds to process a frame of 3000 x 5000 resolution. Down-scaling the frame resolution in order to reduce the processing time can make smaller defects to go unnoticed.
  • Process Noise: Although process noise is acceptable, it introduces visual variations w.r.t reference frame which makes pixel-to-pixel comparison futile (even with image registration techniques, see Image Registration Approach).

Approach

During the project course following approaches were tried out. We began with Image Registration techniques, followed by deep learning models. The below sections describe this journey and our observations.

Deep Learning using CNN

CNNs have proven to identify patterns in images by auto learning the necessary feature extraction filters (spread over several hidden layers). Also the CNN computations are optimized for GPUs, a low processing time can be expected. Convolution operations are performed on small image patches, whose size is defined by the convolution kernel width. Since these operations are independent, huge speedup is obtained using GPUs. We used Tensorflow, a deep learning framework which makes use of optimized GPU operations under the hood.

Since GPU RAM determines the input size (and output size) that can be processed in one forward pass (the flow of an image through the different layers of a CNN), it was required that we split the high resolution test frame (and hence the reference frame) into small tiles of 256×256 resolution each.

Siamese Network

  • Siamese CNN models are a preferred choice when it comes to image comparison. In our case, we need to compare the test frame with the reference frame and identify any defects. Therefore, the Siamese network was our first choice when it comes to CNN.

Image-Siamese Network for defect identification

  • We trained a Siamese network following a Tensorflow-Keras tutorial here. To train a siamese network, a dataset must be prepared in triplet form consisting of an Anchor, a Positive example, and a Negative example.
    • Where Anchor is the reference image.
    • Positive sample is a test sample which contains the print defect and process noise.
    • Negative sample is a test sample which has no defect, but just the process noise.
  • The dataset creation process is shown below:
    • Random images from the internet were collected.
    • For the Anchor sample, crops or tiles of shape 256×256 were randomly sampled from the collected images.
    • For the negative sample, artificial noise was introduced to the anchor sample. Random rotation (-/+ 1 degree) and random translation (-/+ 6 pixels) were added to the anchor images to obtain the negative sample.
    • For the positive sample, random colored lines and splashes were added to represent defect lines in the negative sample.
  • It was observed during the training process that the model could not converge beyond a specific loss. This observation holds true even for different CNN backbones and varying hyperparameters.
    • We hypothesize two reasons that might be playing against model learning:
      • Small Defect Signature: Although the Siamese network has been proven effective in obtaining similarity between two images, in our case, the Anchor and Positive images are already visually very similar, apart from a minor defect signature.
      • Process Noise Overshadowing Defect: As the test images undergo non-rigid deformation due to process noise, and as we instruct the model to accept the process noise through Anchor and Negative samples, the visual variations of process noise must be overshadowing the visual variations of defects.
    • We further hypothesize that because of the above two reasons, the image encoding/features outputted by the Siamese network fails to capture the defect signature effectively, especially for small lines and colour splashes which are a few pixels wide.

    Binary Classifier With 6-Channel Input Image

    • As the Siamese network failed to learn the defect encodings effectively, we felt a need to extract effective features at the very beginning of the network from the overlap of reference and test image (just like a person would do to spot the difference)
    • Overlapping can be achieved by concatenating the test and reference images along the channel axis, forming a 6-channel image that will be an input to the CNN.
    • A binary classifier CNN (with sigmoid as the last activation layer) will produce “True” for the input Anchor-Positive pair and “False” for the input Anchor-Negative pair. A pair is now a 6-channel image obtained as stated above.
    • We used EfficientNetB0 from Tensorflow as the base network and used the following parameters while instantiating the model:
      • input_shape = (None, 256, 256, 6)
      • classes = 1
      • classifier_activation = “sigmoid”
    • This new scheme helped achieve model convergence and 98% accuracy on the validation dataset.

New scheme to compare tiles for defect detection, where filters in early layers learn to ignore differences due to process noise and focuses on actual defects

    • Optimization for Speed

      The printing defect detection required a processing rate of 10-20 frames a second, where each frame is a “high resolution” image of 3000×5000 pixels resolution at minimum. Here “high resolution” signifies that input image dimension is high w.r.t conventional CNN applications where input image resolution is usually below 1024 x 1024 pixels. To obtain the desired processing rate of at least 10-20 fps, the following optimization options were possible:

      GPU-based Post-Processing Operations

      The post-processing operation involved the following operations:

      • Tile Formation and Extraction: tile formation and extraction must be performed for reference and test frames, where each tile is 256×256 crop.
      • Tile Concatenation: Tile from reference and test frames will be concatenated based on their respective positions along the channel axis.
      • Batch Formation of Concatenated Tiles: Batch processing of 6-Channel image (obtained by respective tile concatenation) is faster than processing of single 6-Channel image.

      Above operations were initially implemented in OpenCV and were executed on CPU, a GPU equivalent will significantly speed up the operation. This transfer of execution to GPU can be achieved by either writing a customized CUDA kernel OR using Tensorflow Graph as explained below.

      Use Of TensorFlow Graph Execution Instead Of Eager Execution

      Tensorflow by default makes use of eager flow, where Python Interpreter orchestrates the execution and hence some latency is introduced along the way. Graph execution is a way by which a computation graph is created describing the user’s operation, which can be executed faster without involving python interpreter. More details can be found in the introduction on TF Graph blog. Below is the implementation of tensorflow:

      Summary

      Using the optimization techniques mentioned above and GPUs such as GTX1660ti and RTX A4000, we achieved a performance of less than one second (approximately 0.9 seconds) per frame. This is a significant improvement from the starting point of over 20 seconds of execution time per frame. For further improvement below are planned methods for speed optimizations.

      Other Planned Methods for Speed Optimization

      Our objective is to take execution speed down to 100 milliseconds per frame, and towards that goal below are techniques we want to make use of:

      • Use of CUDA Pinned Memory Transfer: for test images, Pinned memory will be used to transfer subsequent test frames to GPU. Pinned memory is a type of memory that remains in a fixed location in the system’s physical memory and is not subject to virtual memory paging. This arrangement has several advantages over regular pageable memory, like faster transfer of memory, improved concurrency, and reduced CPU overhead.
      • Use TensorFlowRT: TensorFlow RT is optimized for fast inference performance and is designed to take full advantage of the hardware acceleration available on GPU. The optimization primarily involves lowering the precision from default FP32 to FP16 or even INT8, which results in faster computation and a lower model footprint.
      • Use Of Multi-GPU configuration: Although having a multi-GPU system is costlier, it improves speed. The high-resolution master and test frames can be split into parts, and the corresponding defect detection can be spread over multiple GPUs to further speed up time.
]]>
https://chistats.tillitclicks.tech/blog/computer-vision/how-can-we-solve-high-speed-printing-defect-detection/feed/ 0
IIoT based Predictive Maintenance 4.0 (Part 2) https://chistats.tillitclicks.tech/blog/iot/iiot-based-predictive-maintenance-4-0-part2/ https://chistats.tillitclicks.tech/blog/iot/iiot-based-predictive-maintenance-4-0-part2/#respond Wed, 13 Mar 2024 07:56:30 +0000 https://chistats.tillitclicks.tech/?p=1148

What are the limitations of traditional maintenance techniques? 

Traditional predictive maintenance is more of a reactive/condition-based monitoring system. Conditions are manually defined by alarms/warnings generated by some standard assumptions. If those alarms are triggered, operators are alerted and actions are taken accordingly. However, it sounds simple but there are significant limitations to such a traditional alarms-based system primarily for two reasons: (1) it is very challenging and human laborious tasks to devise such thresholds, (2) often multi-sensor data is not interpreted simultaneously using advanced ML techniques.

In many instances, the root causes of machine failure are from unknown sources. With traditional PdM, if the root cause is not due to one of the selected sensors, then it’s very difficult to detect it. Another limitation could be the way, system monitors data. Besides traditional PdM is reactive in nature i.e maintenance is carried out only after the failure episode takes place. Indeed grateful to the platform that is based on advanced AI/ML and big data computing technologies, we can leverage past data to make predictions about future failures.

]]>
https://chistats.tillitclicks.tech/blog/iot/iiot-based-predictive-maintenance-4-0-part2/feed/ 0