PlatoAiStream

PlatoAiStream

  • About
  • OpenAi
  • DefiX
  • Features
  • Connect
  • Login
  • Register
PlatoAiStream

PlatoAiStream

  • Plato Verticals
  • Plato AiStreams
    • Arabic
    • Chinese
    • Dutch
    • English
    • Finnish
    • French
    • German
    • Greek
    • Hebrew
    • Hindi
    • Indonesian
    • Italian
    • Japanese
    • Korean
    • Norwegian
    • Polish
    • Portuguese
    • Russian
    • Spanish
    • Swedish
    • Thai
    • Turkish
    • Ukrainian
    • Vietnamese
  • Publications
    • Web3Africa
  • DefiX Gateway
    • Bitcoin ATMs
    • Blockchain Events
    • Compliance
    • DAO’s
    • Dapps
    • Developers
    • DEX’s
    • Exchanges
    • Gaming
    • Insurance
    • Launchpads
    • Lending
    • Marketplaces
    • Mining
    • NFTs
    • Payments
    • Resources
    • Social
    • Stablecoins
    • Staking
    • SupplyChain
    • Trading Gateway
    • Venture Capital
      • Yeoman’s Capital
    • Wallets
  • Market Data
    • Nasdaq 100
  • Analytics
  • W3 Metaverse
  • Protocol Registry
    • Algorand
    • Avalanche
    • BNB Chain
      • Bee’n’Bee
    • Cardano
      • CatKinson
    • Cosmos
    • Dfinity
    • Elrond
    • EoS
      • Log out
    • Hedera
    • IoTex
    • Polygon
    • Ripple
    • Solana
    • Stellar
    • Tezos
    • Tron
    • XDC
      • DATACHAIN
  • Zephyrnet
  • Terms of Use
  • Privacy Policy
  • Cookies Policy
  • DMCA Notice
  • GDPR
SambaSafety automates custom R workload, improving driver safety with Amazon SageMaker and AWS Step Functions | Amazon Web Services
AWS Machine Learning

SambaSafety automates custom R workload, improving driver safety with Amazon SageMaker and AWS Step Functions | Amazon Web Services

AITime Stamp: June 16, 2023 11:08 AM
Source Node: 2136674
Republished By Plato

Republished By Plato

Followers: 0

At SambaSafety, their mission is to promote safer communities by reducing risk through data insights. Since 1998, SambaSafety has been the leading North American provider of cloud–based mobility risk management software for organizations with commercial and non–commercial drivers. SambaSafety serves more than 15,000 global employers and insurance carriers with driver risk and compliance monitoring, online training and deep risk analytics, as well as risk pricing solutions. Through the collection, correlation and analysis of driver record, telematics, corporate and other sensor data, SambaSafety not only helps employers better enforce safety policies and reduce claims, but also helps insurers make informed underwriting decisions and background screeners perform accurate, efficient pre–hire checks.

Not all drivers present the same risk profile. The more time spent behind the wheel, the higher your risk profile. SambaSafety’s team of data scientists has developed complex and propriety modeling solutions designed to accurately quantify this risk profile. However, they sought support to deploy this solution for batch and real-time inference in a consistent and reliable manner.

In this post, we discuss how SambaSafety used AWS machine learning (ML) and continuous integration and continuous delivery (CI/CD) tools to deploy their existing data science application for batch inference. SambaSafety worked with AWS Advanced Consulting Partner Firemind to deliver a solution that used AWS CodeStar, AWS Step Functions, and Amazon SageMaker for this workload. With AWS CI/CD and AI/ML products, SambaSafety’s data science team didn’t have to change their existing development workflow to take advantage of continuous model training and inference.

Customer use case

SambaSafety’s data science team had long been using the power of data to inform their business. They had several skilled engineers and scientists building insightful models that improved the quality of risk analysis on their platform. The challenges faced by this team were not related to data science. SambaSafety’s data science team needed help connecting their existing data science workflow to a continuous delivery solution.

SambaSafety’s data science team maintained several script-like artifacts as part of their development workflow. These scripts performed several tasks, including data preprocessing, feature engineering, model creation, model tuning, and model comparison and validation. These scripts were all run manually when new data arrived into their environment for training. Additionally, these scripts didn’t perform any model versioning or hosting for inference. SambaSafety’s data science team had developed manual workarounds to promote new models to production, but this process became time-consuming and labor-intensive.

To free up SambaSafety’s highly skilled data science team to innovate on new ML workloads, SambaSafety needed to automate the manual tasks associated with maintaining existing models. Furthermore, the solution needed to replicate the manual workflow used by SambaSafety’s data science team, and make decisions about proceeding based on the outcomes of these scripts. Finally, the solution had to integrate with their existing code base. The SambaSafety data science team used a code repository solution external to AWS; the final pipeline had to be intelligent enough to trigger based on updates to their code base, which was written primarily in R.

Solution overview

The following diagram illustrates the solution architecture, which was informed by one of the many open-source architectures maintained by SambaSafety’s delivery partner Firemind.

Architecture Diagram

The solution delivered by Firemind for SambaSafety’s data science team was built around two ML pipelines. The first ML pipeline trains a model using SambaSafety’s custom data preprocessing, training, and testing scripts. The resulting model artifact is deployed for batch and real-time inference to model endpoints managed by SageMaker. The second ML pipeline facilitates the inference request to the hosted model. In this way, the pipeline for training is decoupled from the pipeline for inference.

One of the complexities in this project is replicating the manual steps taken by the SambaSafety data scientists. The team at Firemind used Step Functions and SageMaker Processing to complete this task. Step Functions allows you to run discrete tasks in AWS using AWS Lambda functions, Amazon Elastic Kubernetes Service (Amazon EKS) workers, or in this case SageMaker. SageMaker Processing allows you to define jobs that run on managed ML instances within the SageMaker ecosystem. Each run of a Step Function job maintains its own logs, run history, and details on the success or failure of the job.

The team used Step Functions and SageMaker, together with Lambda, to handle the automation of training, tuning, deployment, and inference workloads. The only remaining piece was the continuous integration of code changes to this deployment pipeline. Firemind implemented a CodeStar project that maintained a connection to SambaSafety’s existing code repository. When the industrious data science team at SambaSafety posts an update to a specific branch of their code base, CodeStar picks up the changes and triggers the automation.

Conclusion

SambaSafety’s new serverless MLOps pipeline had a significant impact on their capability to deliver. The integration of data science and software development enables their teams to work together seamlessly. Their automated model deployment solution reduced time to delivery by up to 70%.

SambaSafety also had the following to say:

“By automating our data science models and integrating them into their software development lifecycle, we have been able to achieve a new level of efficiency and accuracy in our services. This has enabled us to stay ahead of the competition and deliver innovative solutions to clients. Our clients will greatly benefit from this with the faster turnaround times and improved accuracy of our solutions.”

SambaSafety connected with AWS account teams with their problem. AWS account and solutions architecture teams worked to identify this solution by sourcing from our robust partner network. Connect with your AWS account team to identify similar transformative opportunities for your business.


About the Authors

frgudDan Ferguson is an AI/ML Specialist Solutions Architect (SA) on the Private Equity Solutions Architecture at Amazon Web Services. Dan helps Private Equity backed portfolio companies leverage AI/ML technologies to achieve their business objectives.

KhalilAdibKhalil Adib is a Data Scientist at Firemind, driving the innovation Firemind can provide to their customers around the magical worlds of AI and ML. Khalil tinkers with the latest and greatest tech and models, ensuring that Firemind are always at the bleeding edge.

JasonMathewJason Mathew is a Cloud Engineer at Firemind, leading the delivery of projects for customers end-to-end from writing pipelines with IaC, building out data engineering with Python, and pushing the boundaries of ML. Jason is also the key contributor to Firemind’s open source projects.

  • SEO Powered Content & PR Distribution. Get Amplified Today.
  • EVM Finance. Unified Interface for Decentralized Finance. Access Here.
  • Quantum Media Group. IR/PR Amplified. Access Here.
  • PlatoAiStream. Web3 Data Intelligence. Knowledge Amplified. Access Here.
  • Source: https://aws.amazon.com/blogs/machine-learning/samba-safety-automates-custom-r-workload-improving-driver-safety-with-amazon-sagemaker-and-aws-step-functions/

Time Stamp: June 16, 2023

  • :has
  • :is
  • :not
  • $UP
  • 000
  • 100
  • 15%
  • 1998
  • 9
  • a
  • Able
  • About
  • Account
  • accuracy
  • accurate
  • accurately
  • Achieve
  • Additionally
  • advanced
  • ADvantage
  • ahead
  • AI
  • AI/ML
  • All
  • allows
  • also
  • always
  • Amazon
  • Amazon SageMaker
  • Amazon Web Services
  • American
  • an
  • analysis
  • analytics
  • and
  • any
  • Application
  • architecture
  • ARE
  • around
  • AS
  • associated
  • At
  • automate
  • Automated
  • automates
  • automating
  • Automation
  • AWS
  • AWS Machine Learning
  • AWS Step Functions
  • backed
  • background
  • base
  • based
  • BE
  • became
  • been
  • behind
  • benefit
  • Better
  • Bleeding
  • Bleeding Edge
  • boundaries
  • Branch
  • Building
  • built
  • business
  • but
  • by
  • CAN
  • carriers
  • case
  • challenges
  • change
  • Changes
  • Checks
  • claims
  • clients
  • Cloud
  • code
  • code base
  • collection
  • commercial
  • Communities
  • Companies
  • comparison
  • competition
  • complete
  • complex
  • complexities
  • compliance
  • Connect
  • connected
  • Connecting
  • connection
  • consistent
  • consulting
  • continuous
  • contributor
  • Corporate
  • Correlation
  • creation
  • custom
  • Customers
  • dan
  • data
  • data science
  • data scientist
  • decisions
  • decoupled
  • deep
  • deliver
  • delivered
  • delivery
  • deploy
  • deployed
  • deployment
  • designed
  • details
  • developed
  • Development
  • discuss
  • driver
  • drivers
  • driving
  • each
  • ecosystem
  • Edge
  • efficiency
  • efficient
  • employers
  • enabled
  • enables
  • end-to-end
  • endpoints
  • enforce
  • engineer
  • Engineering
  • Engineers
  • enough
  • ensuring
  • Environment
  • equity
  • Ether (ETH)
  • existing
  • external
  • faced
  • facilitates
  • Failure
  • faster
  • Feature
  • final
  • Finally
  • First
  • following
  • For
  • Free
  • from
  • function
  • functions
  • Furthermore
  • Global
  • greatest
  • greatly
  • had
  • handle
  • Have
  • help
  • helps
  • higher
  • highly
  • history
  • hosted
  • hosting
  • How
  • However
  • HTML
  • http
  • HTTPS
  • IAC
  • identify
  • illustrates
  • Impact
  • implemented
  • improved
  • improving
  • in
  • Including
  • inform
  • informed
  • innovate
  • Innovation
  • innovative
  • insights
  • insurance
  • insurers
  • integrate
  • Integrating
  • integration
  • Intelligent
  • into
  • ITS
  • Job
  • Jobs
  • jpg
  • Key
  • khalil
  • Kubernetes
  • latest
  • leading
  • learning
  • Level
  • Leverage
  • lifecycle
  • Long
  • machine
  • machine learning
  • maintaining
  • maintains
  • make
  • managed
  • management
  • manner
  • manual
  • manually
  • many
  • Mission
  • ML
  • MLOps
  • mobility
  • model
  • modeling
  • models
  • monitoring
  • more
  • needed
  • network
  • New
  • North
  • objectives
  • of
  • on
  • ONE
  • online
  • only
  • open
  • open source
  • open source projects
  • opportunities
  • or
  • organizations
  • Other
  • our
  • out
  • outcomes
  • own
  • part
  • partner
  • partner network
  • perform
  • performed
  • Picks
  • piece
  • pipeline
  • platform
  • plato
  • Plato Data Intelligence
  • PlatoData
  • policies
  • portfolio
  • Post
  • Posts
  • power
  • present
  • pricing
  • primarily
  • private
  • Private Equity
  • Problem
  • process
  • processing
  • Production
  • Products
  • Profile
  • project
  • projects
  • promote
  • provide
  • provider
  • Pushing
  • Python
  • quality
  • real-time
  • record
  • reduce
  • Reduced
  • reducing
  • related
  • reliable
  • remaining
  • repository
  • request
  • resulting
  • Risk
  • risk management
  • robust
  • Run
  • SA
  • safer
  • Safety
  • sagemaker
  • same
  • say
  • Science
  • Scientist
  • scientists
  • scripts
  • seamlessly
  • Second
  • Serverless
  • serves
  • Services
  • several
  • significant
  • similar
  • since
  • skilled
  • Software
  • software development
  • solution
  • Solutions
  • Source
  • Sourcing
  • specialist
  • specific
  • spent
  • stay
  • Step
  • Steps
  • success
  • support
  • Take
  • taken
  • Task
  • tasks
  • team
  • teams
  • tech
  • Technologies
  • telematics
  • Testing
  • than
  • that
  • The
  • their
  • Them
  • These
  • they
  • this
  • Through
  • time
  • time-consuming
  • times
  • to
  • together
  • tools
  • Training
  • trains
  • transformative
  • trigger
  • two
  • underwriting
  • Update
  • Updates
  • us
  • use
  • used
  • using
  • validation
  • was
  • Way..
  • we
  • web
  • web services
  • WELL
  • were
  • Wheel
  • when
  • which
  • will
  • with
  • within
  • Work
  • work together
  • worked
  • workers
  • workflow
  • world’s
  • writing
  • written
  • you
  • Your
  • zephyrnet

More from AWS Machine Learning

Build Streamlit apps in Amazon SageMaker Studio

Build Streamlit apps in Amazon SageMaker Studio

Source Cluster:
AWS Machine Learning
Source Node: 2054740
Time Stamp: Apr 11, 2023

Apply profanity masking in Amazon Translate

Source Cluster:
AWS Machine Learning
Source Node: 1190188
Time Stamp: Feb 11, 2022
Automatically generate impressions from findings in radiology reports using generative AI on AWS | Amazon Web Services

Automatically generate impressions from findings in radiology reports using generative AI on AWS | Amazon Web Services

Source Cluster:
AWS Machine Learning
Source Node: 2244754
Time Stamp: Aug 30, 2023
Build a loyalty points anomaly detector using Amazon Lookout for Metrics

Build a loyalty points anomaly detector using Amazon Lookout for Metrics

Source Cluster:
AWS Machine Learning
Source Node: 1918655
Time Stamp: Jan 25, 2023

Identify mangrove forests using satellite image features using Amazon SageMaker Studio and Amazon SageMaker Autopilot – Part 2

Source Cluster:
AWS Machine Learning
Source Node: 1497327
Time Stamp: Jun 21, 2022

Amazon SageMaker JumpStart models and algorithms now available via API

Source Cluster:
AWS Machine Learning
Source Node: 1218529
Time Stamp: Mar 16, 2022
Automate document validation and fraud detection in the mortgage underwriting process using AWS AI services: Part 1 | Amazon Web Services

Automate document validation and fraud detection in the mortgage underwriting process using AWS AI services: Part 1 | Amazon Web Services

Source Cluster:
AWS Machine Learning
Source Node: 2106660
Time Stamp: May 24, 2023
Tune ML models for additional objectives like fairness with SageMaker Automatic Model Tuning

Tune ML models for additional objectives like fairness with SageMaker Automatic Model Tuning

Source Cluster:
AWS Machine Learning
Source Node: 1983705
Time Stamp: Feb 27, 2023
Use the Amazon SageMaker and Salesforce Data Cloud integration to power your Salesforce apps with AI/ML | Amazon Web Services

Use the Amazon SageMaker and Salesforce Data Cloud integration to power your Salesforce apps with AI/ML | Amazon Web Services

Source Cluster:
AWS Machine Learning
Source Node: 2197819
Time Stamp: Aug 4, 2023
Orchestrate Ray-based machine learning workflows using Amazon SageMaker | Amazon Web Services

Orchestrate Ray-based machine learning workflows using Amazon SageMaker | Amazon Web Services

Source Cluster:
AWS Machine Learning
Source Node: 2278563
Time Stamp: Sep 18, 2023
Schedule your notebooks from any JupyterLab environment using the Amazon SageMaker JupyterLab extension | Amazon Web Services

Schedule your notebooks from any JupyterLab environment using the Amazon SageMaker JupyterLab extension | Amazon Web Services

Source Cluster:
AWS Machine Learning
Source Node: 2093842
Time Stamp: May 10, 2023
Simplify access to internal information using Retrieval Augmented Generation and LangChain Agents | Amazon Web Services

Simplify access to internal information using Retrieval Augmented Generation and LangChain Agents | Amazon Web Services

Source Cluster:
AWS Machine Learning
Source Node: 2272274
Time Stamp: Sep 14, 2023

About Us

  • Open Intelligence
  • Culture
  • Data Ecosystem
  • W3 Disruption
  • Team

Vertical Search & Ai

  • The Evolution of Search
  • What is Vertical Search
  • What is Vertical Intelligence
  • Ai Data Defragmentation
  • Data As A Service (DaaS)

Platform

  • Platform Features
  • Plato Analytics Reporting
  • PlatoAi NLP Engine
  • Sectors / Verticals
  • How Plato Works

Stay Connected

  • Governance
  • Register
  • Live Chat
  • Connect
  • Social

Account

  • Register
  • Packages
  • Enterprise
  • Listing
  • Partnerships
null
null

Copyright @ 2022 Plato Technologies Inc