Skip to content

Service suggestion for data analysis with outlier and pattern detection

0

I am looking for a service suggestion within AWS.

Requirement overview

To start with lets keep things simple. Say I have some records, of when employees take sick leave. Count wise lets go with ~100k users to ~500k sickness records. The records are simply date leave was taken, hours taken on the day, and the employee ID. I can augment later with other data, such as how many hours the employee worked the day before the sick leave.

My aim is to identify patterns in this data, outliers, both employee specific and global.

For example some of the data points I may want to receive information on

  • User A has taken disporoprionalty more sick days on Fridays
  • User B consistently takes sick leave after working a shift of 10 hours or more
  • User C takes more sick leave during winter months
  • Department X sick leave is trending upwards over the last X period

Even better if I can do predictive analysis, too:

  • User D is 95% likely to take tomorrow off sick.

Research thus far

With the help of google, and Amazon Q, and some other suggestions I have investigated:

Quicksight AI Insights: I'm unable to get the data out of Quicksight without embedding reports, and embedded reports trigger sessions. At pricing per session this is extremely expensive when there are 100k+ users potentially seeing the embedded content.

Amazon Lookout for Metrics: Sounds good, but is discontinued.

Amazon Forecast: Again, sounds good in marketing but is discontinued.

Sagemaker: Very sparse information on what is actually required to get what I need out of this.

I'm then being led to python scripts with numpy/pandas to parse the data and perform analysis. This may work, but I may aswell perform SQL queries directly on my dataset. I am trying to avoid needing to specify all the potential patterns and outliers, I want a service that I can push this data to and it come back with patterns.


Not sure if something like this is possible, but with so many services in AWS I'm a bit lost as to which direction to go

Thanks!

2 Answers
0

Hello, Since your request involves multiple AWS services and use cases, I recommend working directly with your AWS account team for comprehensive guidance

Thankyou!

AWS

answered a year ago

-1

Based on your requirements for analyzing employee sick leave data, identifying patterns, and detecting outliers, I would recommend considering Amazon QuickSight with its ML-powered anomaly detection capabilities. While you mentioned concerns about QuickSight's pricing for embedded reports, it's worth noting that you can use QuickSight's ML insights without necessarily embedding reports.

QuickSight's ML-powered anomaly detection can help you identify outliers and patterns in your data without requiring you to specify all potential patterns upfront. It can automatically detect anomalies across millions of data points and provide insights into contributing factors. This aligns well with your need to identify patterns such as disproportionate sick days on Fridays, correlations with long shifts, seasonal trends, and departmental patterns.

For your dataset of 100k-500k records, QuickSight can process this volume of data and provide valuable insights. You can set up ML insights to detect outliers and key drivers in your dataset. The service uses machine learning algorithms to identify anomalies based on historical data, which could help with your requirements like identifying users who take more sick leave on specific days or during certain seasons.

While QuickSight may not directly provide predictive analysis like forecasting who is likely to take sick leave tomorrow, it can show trends and patterns that could inform such predictions.

If you need more advanced predictive capabilities or want to avoid potential session-based pricing issues with QuickSight, you might consider using Amazon SageMaker. SageMaker provides a broad set of machine learning tools that could be used to build custom models for both pattern detection and predictive analysis. However, as you noted, this would require more expertise and development effort compared to a more out-of-the-box solution like QuickSight.

Another option to consider is Amazon OpenSearch (formerly Elasticsearch). It offers real-time anomaly detection capabilities for both streaming and historical data. You could index your sick leave data in OpenSearch and use its anomaly detection features to identify unusual patterns.

Lastly, if you're comfortable with SQL and want to keep things simple, you could use Amazon Redshift ML. This allows you to create, train, and apply machine learning models using SQL commands directly in your Redshift data warehouse. This could be a good middle ground if you want more control than QuickSight offers but don't want to delve into the complexities of SageMaker.

Each of these options has its trade-offs in terms of ease of use, flexibility, and required expertise. QuickSight might be the best starting point given your requirements, but the others are worth considering depending on your specific needs and resources.
Sources
Setting up ML-powered anomaly detection for outlier analysis - Amazon QuickSight
Amazon Lookout for Metrics features - anomaly detection service - Amazon Web Services
Transitioning off Amazon Lookout for Metrics  | AWS Machine Learning Blog

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.