Executive Summary
Our client’s organization was founded by members of the Berkeley AI Research Lab with families of patients affected with Dementia. The objective was to reduce the frequency and impact of falls which has been the leading cause of hospitalization in Alzheimer’s care. Their existing platform was unable to scale and monitor at a facility level. It also lacked the ability to tag the recordings of fall videos to allow the facilities team to prevent future incidents.
Problem Statement
Our client was seeking to enhance their existing platform and reduce the complexity of the features present in it. They wanted to scale their application through deployment at multiple facilities and integrate it with complementary platforms in the space. Their existing platform lacked a triggering mechanism which could serve as a warning before the patient could get entangled in any untoward incident. It was also of great necessity that the application possessed the capability to work along with the AI module by capturing and analyzing the video when an incident occurs and triggering an alarm to alert the concerned authority.
HashedIn’s Proposal
HashedIn suggested to perform an assessment on their code base and develop a roadmap comprising of technological initiatives which can be executed. Based on the assessment results, HashedIn proposed to re-architect and refactor their cloud services by moving it from Django and Angular 1.x. HashedIn intended to separate UI from backend with APIs and use industry best practices along with proprietary frameworks to restructure code in a short period.
Business Requirements
Our client needed their existing AI based patient monitoring application to be refactored to make it deployable across multiple centres and have a central monitoring system that allows any potential fall to be quickly tagged and alert the facilities to quickly address the patients who are in need of immediate attention. The videos of potential fall needs to be tagged for study and preventive measure would be taken by the facilities team to ensure patient safety
Impact and involvement of stakeholders
Facility Manager – Will be able to take prompt actions based on the tagged videos
Alarm Taggers – They will be involved in tagging the video captured by the AI modules, which are located in Old age homes
Facilities for patients suffering from mental disorders
Solution Approach
Our Solution Structure
We introduced queuing mechanism using RabbitMQ to improve the alarm tag activity, store the alarms, and distribute the same among alarm taggers based on their availability.
RabbitMQ module helps the alarm taggers to get a summary of available videos waiting to be tagged, this helps prioritize their futuristic actions.
The database was optimized and indexing was also introduced to improve the performance of the existing APIs in fetching data from database.
We also proposed and implemented a record keeping of various activities that can be used in MIS reporting.
We migrated the UI code from Angular 1 to Angular 7 to introduce new features.
Earlier UI code of the client was based on Angular 1 and DJango which used server side rendering which made the application slow. We helped migrate the application from Angular 1 to Angular 7 and used the REST APIs to make the application faster & efficient.
We built a web interface through which the alarm tagger can toggle between different alarms.
Our Web interface enabled alarm taggers to monitor list of pending alarms of different types from the same screen and prioritize their tagging activity accordingly.
We introduced a functionality which triggered a notification when an alarm tagger’s session expires, a notification is also triggered if they are inactive and requeue the alarm with a higher priority.
Technology Stack
Back end: Django(Python), RabbitMQ
Front end: AngularJS, Angular 7
Business Outcomes
  • This solution helped the concerned facilities facing shortage of staff, manage it effectively.
  • The solution helped reduce the number of falls by 40% and avoid injuries caused to patients suffering from mental disabilities.
  • Our solution helped reduce the time taken in video tagging activity and reduced the frequency of emergency room visits by 70%.
  • Our solution helped improve the efficiency of the video tagging activity by reducing the number of clicks involved between different events (reduced from 3 clicks task to a single click task to ease the process).
  • We also provided the manager to track the efficiency and productivity of the alarm taggers.
Executive Summary
The customer is a recently founded fintech company based out of the USA which is both an investment manager and a SaaS provider. They intend to build a product to assist financial analysts at investment firms to assist in trading stocks. The goal of this product is to provide customers a managed portfolio of stocks which are predicted to give the best returns for the foreseeable future. The returns for each company would be predicted by using a Machine Learning algorithm.
Problem Statement
The client needed a product/solution to advice financial analysts for investing in stocks in the US market, the predicted best-performing stocks from the Russell 1000 index, in order to maximize their customer’s profits by building portfolios for investing in stocks from the index. businesses.
Business Requirements
End Objective
To provide an application that can predict stock returns for each stock against the performance of the Russell 1000 index and creating a portfolio of the predicted best-performing stocks in the index to provide insight to financial analysts to buy/sell stocks based on predicted performance.
Key Requirements
Historical Data for the stocks in the index
Understanding of securities and options.
A user interface for visual representation of calculated portfolios and the metrics associated with the generated portfolios
Impact and involvement of stakeholders
Large investment management firms
AI-based forecasting of alpha also helps smaller or non-specialized institutions, individual investors.
Solution Approach
Our Solution Structure
All Data imported from various Data sourcing companies are stored in a framework using resources in a cloud infrastructure. In this case, we extensively use Amazon Web Services (AWS)
A custom-built Machine Learning model using Long Short Term Memory (LSTM) Neural networks, which predicts the returns of a given stock within a stipulated time frame.
A service to regularly train the existing Models based on daily updated data
A custom-built selection Algorithm for building a portfolio by judging the predicted returns from the models based on several parameters.
A user interface for viewing the results
We used TensorFlow and Keras libraries to develop an LSTM Neural network factoring in the following inputs:
Historical Prices of the stocks, their history of splits, spinoffs, etc…
External variables (For example. Oil Prices, Gold Prices, etc…)
CBOE options data (Stock Volatilities)
Custom created Variables that track the actual performance of a company without relying solely on the prices data.
Among others…
Solution Dynamics and Interactions
Financial prediction problems are a difficult type of predictive models. The complexity comes from the dependency between the factors vary over time. To tackle this problem we need a recurrent neural network, which can learn the pattern in which the stock market moves and predict based on that.
We have more than 50 input factors which are fed into our model. LSTM model will be trained in high GPU accelerated machines. We predict a top excess return over Russell 1000. Based on the excess return prediction portfolio will be generated. The portfolio has top N (adjustable by users as per preference) companies which can overperform with respect to the index.
User Interface
We built a web interface which creates and displays a portfolio for different time periods which are limited to the backtesting period.
The user can change the financial index (benchmark) with which they want to compare varied stock’s performance.
The user also has the option to generate graphical results which assist in visually inspecting Portfolio performance.
Technology Stack
Tensorflow / Keras (Python)
Django Framework (Back-end)
ReactJs (Front-end)
Business Outcomes
We helped our client to capitalize on the state of the art AI techniques to predict the alpha in the market.
  • Our solution is helping the customer grow as a massive institutional traders.
  • Safeguard retail and small institutional traders.
  • In a market crash situation, it avoids a big loss.
  • The graphical representation will help traders to understand how a particular stock may move in the future before they invest in it.
Executive Summary
Our client provides customizable supply chain solutions for grocers. These include several features such as distributor onboarding, pickup locations, syncing products and customers, maps search, and order placements for both B2B and B2C customers. They wanted to optimize their supply chain from farm to fork.
About Client
Our client brings diverse food value chain knowledge combined with experience from outside the food industry implementing customer-centric internet solutions for F500 companies. They provide easy solutions for the supply chain of grocery with several features such as distributor onboarding, pickup locations, syncing products, customers, maps search, order placement for both B2B and B2C businesses.
Problem Statement
Our client wanted to optimize the food supply chain by helping restaurants source agricultural products directly from the farmers. They wanted a seamless experience for their customers, by ensuring freshness and reducing costs. However, they were facing issues with multiple aspects of their operations, listed below:
Syncing orders, customers, products, and various other data from the distributors’ server
Onboarding solution for distributors
Error reporting and resolutions
Promotional material
User activity and tracking of promotion downloads
Elasticsearch upgrade and periodic backup of Elasticsearch
Faster image loading on the website using CDN
SMPS for storing API keys, database credentials, and several sensitive data
Location searching capabilities
Elasticsearch autocomplete feature
Implementing MFA for AWS local testing
Upgraded frontend AngularJS code to latest Angular version
Promo Code Module
HashedIn’s Solution
We developed a web application, with features like tracking the origin of the product, automatic sync of available items, and automated demand forecasting. Restaurants can use it to view and order agricultural products from their nearest source and are also able to track the product to its origin. With automated sync, available items were updated at each source. Moreover, with a smart population of base products of food items, restaurants were able to automate demand planning and forecasting. HashedIn showcased its technical expertise by solving the challenges the client was facing, through various methods mentioned below.
Scheduled jobs to sync various orders, products, locations, etc., to and from the distributor with built-in fault tolerance and issue reporting through email and SMS while leveraging multi-threading for optimal utilization of computing resources.
Upgraded the web application to Angular 8 for better browser compatibility, performance, and maintainability.
Templated the promotional materials like flyers and stickers using Thymeleaf for easy customization
Increased reliability and performance of Elasticsearch used for the product suggestion in the application by regularly scheduled backups and adequate preprocessing.
Introduced AWS CloudFront & Lambda@Edge for image delivery thereby reducing the loading time of the website.
Increased the security aspect of the application by moving all the sensitive data like system parameters, keys, and URLs to AWS SMPS (System Manage Parameter Store) which were earlier being stored in a properties file as plain text.
To increase security towards unauthorized access, multi-factor authorization was introduced.
Technology Stack
Backend – Java, Spring boot, Hibernate
Frontend – Angular
Database – MYSQL
Cloud Service Provider – AWS
Cloud Services – EC2, RDS, EBS, SNS, SMPS, Secrets Manager, CDN
Business Outcomes
  • We right-sized AWS instances based on the usage and reduced the bill by $130/month.
  • The load time of the website was reduced by 85% (from 12.6s to 1.9s0), leading to enhanced customer experience.
  • To understand user behavior better, promotions and user tracking were enabled. The promotion codes led to a higher number of customer attractions and acquisitions.
  • Moreover, the analysis of various parameters like user login count and promotional card download count was done through the promotion card downloads.
  • Product data was periodically backed-up, to minimize data loss.
  • Improved fault tolerance for the batch processes resulting in lesser maintenance.
About the Company
This conglomerate is the third-largest in the Indian private sector. It has interests in viscose staple fibre, metals, cement (largest in India), viscose filament yarn, branded apparel, carbon black, chemicals, fertilisers, insulators, financial services, and telecom. This multinational has a dedicated cell, which is the data science center of the conglomerate, which is managed from their Mumbai headquarters.
Problem Statement
One division of the organization is building a platform that deploys custom-built AI/ML models for analyzing videos and providing customized solutions for solving business problems. The platform is scalable and built for quick deployment to process multiple camera streams in parallel and apply advanced video analytics in near real-time.
They required solutions to automate the safety guidelines that had to be followed within their cement and aluminum plants, using pre-installed cameras and computer vision processing. Compliance with guidelines has become even more significant to avoid spreading any infectious diseases, such as COVID-19.
HashedIn’s Solution
HashedIn built the data pipelines and a dashboard for the plant supervisor to view and/or receive an alert (voice, SMS, email, etc.) for any employees that are breaking the stipulated safety guidelines, in near real-time. We built a dashboard for the business stakeholders to visualize the violations happening on the plant to make business decisions, accordingly. A technical dashboard was developed for system and application health anomalies and data transfer checks from one subsystem to another.
This platform can be used to build solutions across sectors and functions, with features such as:
Helmet detection
Vest detection
Fire detection
Intrusion detection
Social distancing detection
Arrow direction detection
Unattended object detection
Face-mask detection
Vehicle detection
The administrator can configure the email id’s of area managers and plant-heads in the system so that they can receive detailed daily/monthly/annual reports daily. To expose this data, events, alerts to external systems for integration, which would be similar to the existing voice alert system. External systems such as turnstiles (automatic doors – for the unauthorized personnel, the doors won’t open), the plant siren (can be used for fire alert to inform all the workers to evacuate the area), etc. For the safety of the employees who were back to work amid the COVID-19 circumstances, face-mask and social distancing features were deployed, before the plants were opened.
Let us look at the use case for Helmet and Vest Identification:
A helmet and vest should be worn by everyone present on the plant, as there is heavy equipment operating in the area. Employees will be exposed to risks if their helmet/vest is removed while working on the site. To check compliance (whenever anyone is observed without their helmet/vest), the client wanted a system that plays a voice alert and a supervisor dashboard, that gives real-time data to the supervisor/plant-head.
Technology Stack
Django
Celery
RabbitMQ
FFMPEG
React (Typescript)
Python Scripting
Grafana
PostgreSQL
Nginx
Docker
Business Outcomes
  • A web interface to the end-user (plant supervisors, plant safety managers, compliance officers, etc.) to view any safety violations/intrusions/compliance exceptions/etc. happening at the plant in a near real-time environment.
  • Enabled real-time alerts on specific exception events through multiple channels (on-premise speakers, dashboards, SMS, emails, etc.)
  • A web interface for the business stakeholders to view the summary of any violations happening at the plant on a daily level.
  • The data is exported to the cloud on a daily basis.
  • In the near future, a cloud-based dashboard will be created on cloud for the business users to analyze the violation trends of multiple plants, giving them reports at an hourly level.