Automationscribe.com
  • Home
  • AI Scribe
  • AI Tools
  • Artificial Intelligence
  • Contact Us
No Result
View All Result
Automation Scribe
  • Home
  • AI Scribe
  • AI Tools
  • Artificial Intelligence
  • Contact Us
No Result
View All Result
Automationscribe.com
No Result
View All Result

Construct a no-code ML workflow with Snowflake, Amazon SageMaker Canvas and Amazon Fast – Half 1: Establishing your Snowflake atmosphere

admin by admin
August 24, 2026
in Artificial Intelligence
0
Construct a no-code ML workflow with Snowflake, Amazon SageMaker Canvas and Amazon Fast – Half 1: Establishing your Snowflake atmosphere
399
SHARES
2.3k
VIEWS
Share on FacebookShare on Twitter


Healthcare, retail, and life sciences organizations generate huge portions of operational knowledge in cloud knowledge warehouses like Snowflake. Whereas these techniques retailer and scale data effectively, reworking that knowledge into significant predictions stays a problem. Conventional machine studying (ML) approaches require specialised groups, lengthy growth cycles, and heavy engineering assist, creating delays and limiting experimentation for the enterprise customers who perceive the information greatest.

A no-code ML workflow modifications that dynamic.

With Amazon SageMaker Canvas, you’ll be able to discover datasets, put together options, construct predictive fashions, and generate insights visually with out writing code and with out relying on knowledge science sources. Enterprise analysts, product homeowners, and operational groups can speed up decision-making whereas sustaining enterprise safety and governance.

That is Half 1 of a three-part collection. Half 1 covers establishing your AWS account and Snowflake atmosphere. Half 2 connects Amazon SageMaker Canvas to Snowflake to organize knowledge and construct a fraud detection mannequin. Half 3 sends predictions to Amazon Fast to create interactive dashboards and share insights with stakeholders.

Enterprise problem

This answer was impressed by an actual healthcare group that had collected years of operational knowledge in Snowflake together with gross sales transactions, product motion, affected person interactions, and regional efficiency metrics. Whereas the information basis was sturdy, turning that knowledge into predictive insights remained a problem.

Enterprise groups needed to forecast demand throughout a number of product classes, perceive seasonal and regional consumption patterns, and floor ML-driven insights straight inside enterprise intelligence (BI) dashboards to assist quicker selections. Nevertheless, the group lacked ample knowledge science capability to assist these wants. Each new forecasting or analytics request required engineering or ML specialists, leading to lengthy growth cycles and restricted experimentation.

This created a transparent hole: enterprise customers understood the questions and the information however didn’t have a sensible option to construct and iterate on predictive fashions themselves. Moreover, after predictions had been generated, organizations wanted a option to visualize and share these insights with stakeholders by interactive dashboards. Somewhat than introducing one more advanced ML pipeline, the group wanted an strategy that might carry machine studying nearer to enterprise groups. That strategy needed to work natively with current Snowflake knowledge, visualize predictions by acquainted BI instruments, and scale back dependency on specialised sources with out compromising governance or safety.

These necessities naturally pointed towards a no-code machine studying strategy built-in with visualization capabilities as the following step.

Resolution overview

To bridge the hole between data-rich environments and insight-starved enterprise groups, this submit walks you thru a no-code ML workflow constructed on Amazon SageMaker Canvas. Somewhat than changing your current knowledge infrastructure, this strategy extends the worth of your Snowflake investments by making machine studying accessible to non-technical customers and connecting predictions on to visualization instruments.

Amazon SageMaker Canvas supplies an intuitive, visible interface that connects on to Snowflake, so you’ll be able to put together knowledge, construct machine studying fashions, and generate forecasts. After you practice your mannequin, deploy it to Amazon SageMaker Endpoint straight from the Canvas mannequin particulars web page, with no infrastructure configuration required. When the endpoint standing reveals In service, generate predictions in your Snowflake transaction knowledge. To visualise leads to Amazon Fast, use batch predictions in Canvas to output the scored dataset to Amazon Easy Storage Service (Amazon S3). Amazon Fast visualizes these insights by interactive dashboards, making ML-driven forecasts accessible to stakeholders throughout your group with out customized pipelines or data-science intervention.

Determine 1: Finish-to-end structure exhibiting knowledge move from Snowflake by Amazon SageMaker Canvas to Amazon Fast Sight dashboards

This structure delivers key advantages:

  • Democratized entry to ML by self-service mannequin constructing with out coding experience.
  • Simplified knowledge preparation with over 300 visible transformations powered by Information Wrangler whereas sustaining enterprise governance.
  • Accelerated time-to-insight by lowering mannequin growth from months to hours.
  • Coaching on the managed infrastructure of Amazon SageMaker.
  • Interactive visualization of predictions by Amazon Fast Sight dashboards.
  • Assist for a number of ML drawback varieties together with regression, classification, and time-series forecasting to deal with various enterprise questions from a single answer.

Technical implementation

This part walks by the hands-on steps to configure your Snowflake atmosphere with pattern fraud detection knowledge.

Stipulations

Just be sure you have the next conditions.

  1. An AWS account.
  2. Snowflake account. For steps to create a Snowflake account, seek advice from Create a Snowflake Free Trial Account.

Snowflake database setup

  1. To create a Snowflake database, within the left-side panel of the Snowflake console, select the plus signal (+), after which select SQL worksheet.
  2. A clean SQL file opens. Copy and paste the next SQL instructions into the worksheet and select Run.
-- Create database and warehouse
USE ROLE accountadmin;
CREATE OR REPLACE WAREHOUSE HOL_WH WITH WAREHOUSE_SIZE='X-SMALL';
CREATE OR REPLACE DATABASE FRAUD;

-- Use the database
USE DATABASE FRAUD;

-- Create the ultimate fraud desk with correct knowledge varieties
CREATE OR REPLACE TABLE FRAUD.PUBLIC.FRAUD_TABLE (
    id NUMBER,
    trans_date_trans_time TIMESTAMP_NTZ(9),
    cc_num NUMBER,
    service provider VARCHAR,
    class VARCHAR,
    amt NUMBER(38,2),
    first VARCHAR,
    final VARCHAR,
    gender VARCHAR,
    road VARCHAR,
    metropolis VARCHAR,
    state VARCHAR,
    zip NUMBER,
    lat NUMBER(38,15),
    lengthy NUMBER(38,14),
    city_pop NUMBER(38,0),
    job VARCHAR,
    dob DATE,
    trans_num VARCHAR,
    unix_time NUMBER,
    merch_lat NUMBER(38,15),
    merch_long NUMBER(38,14),
    is_fraud NUMBER
);

-- Generate pattern fraud detection knowledge for 2020
INSERT INTO FRAUD.PUBLIC.FRAUD_TABLE
WITH raw_data AS (
SELECT
ROW_NUMBER() OVER (ORDER BY SEQ4()) as id,
DATEADD(minute, UNIFORM(0, 525600, RANDOM()), '2020-01-01 00:00:00'::TIMESTAMP_NTZ) as trans_date_trans_time,
UNIFORM(1, 1000, RANDOM()) as cc_num,
CONCAT('merchant_', UNIFORM(1, 500, RANDOM())) as service provider,
CASE UNIFORM(1, 14, RANDOM())
WHEN 1 THEN 'grocery_pos'
WHEN 2 THEN 'gas_transport'
WHEN 3 THEN 'shopping_net'
WHEN 4 THEN 'shopping_pos'
WHEN 5 THEN 'food_dining'
WHEN 6 THEN 'leisure'
WHEN 7 THEN 'personal_care'
WHEN 8 THEN 'health_fitness'
WHEN 9 THEN 'journey'
WHEN 10 THEN 'kids_pets'
WHEN 11 THEN 'house'
WHEN 12 THEN 'misc_net'
WHEN 13 THEN 'misc_pos'
ELSE 'different'
END as class,
ROUND(UNIFORM(1, 1000, RANDOM()) + UNIFORM(0, 99, RANDOM())/100, 2) as amt,
CONCAT('FirstName', UNIFORM(1, 1000, RANDOM())) as first,
CONCAT('LastName', UNIFORM(1, 1000, RANDOM())) as final,
CASE UNIFORM(0, 1, RANDOM()) WHEN 0 THEN 'M' ELSE 'F' END as gender,
CONCAT(UNIFORM(1, 9999, RANDOM()), ' Primary St') as road,
CASE UNIFORM(1, 10, RANDOM())
WHEN 1 THEN 'New York' WHEN 2 THEN 'Los Angeles' WHEN 3 THEN 'Chicago'
WHEN 4 THEN 'Houston' WHEN 5 THEN 'Phoenix' WHEN 6 THEN 'Philadelphia'
WHEN 7 THEN 'San Antonio' WHEN 8 THEN 'San Diego' WHEN 9 THEN 'Dallas'
ELSE 'San Jose'
END as metropolis,
CASE UNIFORM(1, 10, RANDOM())
WHEN 1 THEN 'NY' WHEN 2 THEN 'CA' WHEN 3 THEN 'IL' WHEN 4 THEN 'TX'
WHEN 5 THEN 'AZ' WHEN 6 THEN 'PA' WHEN 7 THEN 'TX' WHEN 8 THEN 'CA'
WHEN 9 THEN 'TX' ELSE 'CA'
END as state,
UNIFORM(10000, 99999, RANDOM()) as zip,
ROUND(UNIFORM(25.0, 49.0, RANDOM()) + UNIFORM(0, 999999, RANDOM())/1000000, 15) as lat,
ROUND(UNIFORM(-125.0, -65.0, RANDOM()) + UNIFORM(0, 99999999999999, RANDOM())/100000000000000, 14) as "LONG",
UNIFORM(10000, 5000000, RANDOM()) as city_pop,
CONCAT('Job_Title_', UNIFORM(1, 100, RANDOM())) as job,
DATEADD(yr, -UNIFORM(18, 80, RANDOM()), '2020-12-01'::DATE) as dob,
CONCAT('trans_', LPAD(ROW_NUMBER() OVER (ORDER BY SEQ4()), 10, '0')) as trans_num,
DATEDIFF(second, '1970-01-01', DATEADD(minute, UNIFORM(0, 44640, RANDOM()), '2020-12-01 00:00:00'::TIMESTAMP_NTZ)) as unix_time,
ROUND(UNIFORM(25.0, 49.0, RANDOM()) + UNIFORM(0, 999999, RANDOM())/1000000, 15) as merch_lat,
ROUND(UNIFORM(-125.0, -65.0, RANDOM()) + UNIFORM(0, 99999999999999, RANDOM())/100000000000000, 14) as merch_long
FROM TABLE(GENERATOR(ROWCOUNT => 139538))
)
SELECT
id, trans_date_trans_time, cc_num, service provider, class, amt,
first, final, gender, road, metropolis, state, zip, lat, "LONG",
city_pop, job, dob, trans_num, unix_time, merch_lat, merch_long,
CASE
WHEN class IN ('shopping_net', 'misc_net') AND amt > 700
AND UNIFORM(0, 100, RANDOM()) < 85 THEN 1
WHEN class = 'journey' AND amt > 800
AND UNIFORM(0, 100, RANDOM()) < 80 THEN 1
WHEN amt > 900 AND EXTRACT(HOUR FROM trans_date_trans_time) BETWEEN 0 AND 4
AND UNIFORM(0, 100, RANDOM()) < 75 THEN 1
WHEN class IN ('shopping_net', 'misc_net', 'journey') AND amt > 400 AND amt <= 700
AND UNIFORM(0, 100, RANDOM()) < 12 THEN 1
WHEN EXTRACT(HOUR FROM trans_date_trans_time) BETWEEN 0 AND 3
AND UNIFORM(0, 100, RANDOM()) < 3 THEN 1
ELSE 0
END as is_fraud
FROM raw_data;

  1. Then choose every subsection individually and run them one after the other by selecting Run.
  2. After the queries run efficiently, affirm the setup by working the next verification queries.
SELECT COUNT(*) as total_records FROM FRAUD_TABLE;
SELECT TOP 10 * FROM FRAUD_TABLE;
SELECT is_fraud, COUNT(*) as depend FROM FRAUD_TABLE GROUP BY is_fraud;

  1. Collect the data wanted to attach from Snowflake to Amazon SageMaker Canvas. The connection requires the Snowflake group account title, which mixes the Snowflake group title and account title with a hyphen. Run the SQL question within the worksheet to find out the group account title.
SELECT CURRENT_ORGANIZATION_NAME()||'-'||CURRENT_ACCOUNT_NAME() AS organizaton_account_name;

Conclusion

On this first a part of the three-part collection, you explored the enterprise problem going through organizations with data-rich Snowflake environments and launched a no-code ML workflow. You created a Snowflake database, loaded pattern fraud detection knowledge, and retrieved the connection particulars wanted for the following steps.

In Half 2, you join Amazon SageMaker Canvas to Snowflake knowledge, put together and rework the dataset utilizing visible instruments, and construct a fraud detection mannequin.

References


Concerning the authors

Anu Kaggadasapura Nagaraja

Anu Kaggadasapura Nagaraja

Anu is a Healthcare and Life Sciences (HCLS) Options Architect II at AWS with greater than six years of expertise specializing in AI, generative AI, and machine studying. She helps organizations throughout a number of industries construct scalable, cloud-driven options. Anu focuses on AI innovation by trendy knowledge platforms, agentic AI architectures, and rising cloud applied sciences. Exterior of labor, Anu enjoys enjoying badminton and mountaineering.

Aysha Siddiqui

Aysha Siddiqui

Aysha is a Options Architect at Amazon Net Providers, the place she companions with enterprise clients to design scalable, resilient cloud architectures. She is enthusiastic about AI/ML and generative AI, and focuses on serving to organizations transfer these workloads from experimentation to manufacturing. Exterior of labor, she enjoys touring and perfecting her matcha-making abilities.

Shruti Tambe

Shruti Tambe

Shruti is a Options Architect at AWS, the place she helps SMB clients to construct and scale their merchandise on cloud. She works with organizations on cloud structure design, modernization, and AI adoption to drive significant enterprise outcomes. In her free time, Shruti enjoys mountaineering and working.

Tags: AmazonBuildCanvasenvironmentnocodePartQuickSageMakerSettingSnowflakeworkflow
Previous Post

Survival Evaluation and the Cox Proportional Hazards Mannequin: A Newbie-Pleasant Information

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular News

  • Greatest practices for Amazon SageMaker HyperPod activity governance

    Greatest practices for Amazon SageMaker HyperPod activity governance

    405 shares
    Share 162 Tweet 101
  • How Cursor Really Indexes Your Codebase

    405 shares
    Share 162 Tweet 101
  • Construct a serverless audio summarization resolution with Amazon Bedrock and Whisper

    404 shares
    Share 162 Tweet 101
  • Context Engineering — A Complete Fingers-On Tutorial with DSPy

    404 shares
    Share 162 Tweet 101
  • Speed up edge AI improvement with SiMa.ai Edgematic with a seamless AWS integration

    403 shares
    Share 161 Tweet 101

About Us

Automation Scribe is your go-to site for easy-to-understand Artificial Intelligence (AI) articles. Discover insights on AI tools, AI Scribe, and more. Stay updated with the latest advancements in AI technology. Dive into the world of automation with simplified explanations and informative content. Visit us today!

Category

  • AI Scribe
  • AI Tools
  • Artificial Intelligence

Recent Posts

  • Construct a no-code ML workflow with Snowflake, Amazon SageMaker Canvas and Amazon Fast – Half 1: Establishing your Snowflake atmosphere
  • Survival Evaluation and the Cox Proportional Hazards Mannequin: A Newbie-Pleasant Information
  • Accelerating plane IFEC diagnostics with agentic AI on AWS
  • Home
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions

© 2024 automationscribe.com. All rights reserved.

No Result
View All Result
  • Home
  • AI Scribe
  • AI Tools
  • Artificial Intelligence
  • Contact Us

© 2024 automationscribe.com. All rights reserved.