Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small update for clarity. #1809

Merged
merged 48 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
690ba23
Adding Scanned Document Quickstart
jamescha-earley Nov 19, 2024
7eeb079
Removed unneeded File
jamescha-earley Nov 19, 2024
eb5269f
Make it hidden for now
jamescha-earley Nov 19, 2024
9e79477
Updated name of quickstart and added more instructions
jamescha-earley Nov 19, 2024
398d841
Update on instructions
jamescha-earley Nov 19, 2024
18ec0c1
Updated schema
jamescha-earley Nov 19, 2024
3f307d2
Updated text and descriptions. Moved some items around.
jamescha-earley Nov 21, 2024
dceac5f
Addressed Formatting Issue
jamescha-earley Nov 21, 2024
6663d29
Merge branch 'Snowflake-Labs:master' into master
jamescha-earley Nov 22, 2024
04e7221
Updated to indicate that all steps are in the notebook.
jamescha-earley Nov 22, 2024
9f0219a
Format Change
jamescha-earley Nov 22, 2024
1246d74
Updated Links
jamescha-earley Nov 22, 2024
3ceebb5
Fixed Url
jamescha-earley Nov 22, 2024
587e58e
Merge branch 'master' into master
jamescha-earley Nov 22, 2024
7860c77
Update Mistral-Large to Mistral-Large2
jamescha-earley Dec 4, 2024
4b181a5
Merge branch 'Snowflake-Labs:master' into master
jamescha-earley Dec 4, 2024
9e9fb3d
Changed mixtral-8x7b to mistral-large2
jamescha-earley Dec 4, 2024
b6435a9
Merge branch 'Snowflake-Labs:master' into master
jamescha-earley Dec 4, 2024
b213fee
QS for building_real_time_anomaly_detection
jamescha-earley Dec 10, 2024
9f91b3f
QS for gain insights from unstructured data
jamescha-earley Dec 10, 2024
aa7b088
Updates on the name and url of notebook
jamescha-earley Dec 10, 2024
d8bee33
Merge branch 'master' into master
jamescha-earley Dec 10, 2024
175d425
QS for Anomaly Detection
jamescha-earley Dec 11, 2024
c8958de
Removed unneeded files and rename of file
jamescha-earley Dec 11, 2024
2bd2161
Merge pull request #1 from jamescha-earley/real_time_anomaly_detection
jamescha-earley Dec 11, 2024
3dc2cb5
Changed "Conclusion" to "Conclusion and Resources"
jamescha-earley Dec 11, 2024
e1d9a57
Hiding Inprogress Quickstart
jamescha-earley Dec 11, 2024
cdb1d54
Merge branch 'master' into master
jamescha-earley Dec 11, 2024
5bf5e81
Addressed Typos and added more details.
jamescha-earley Dec 12, 2024
25fa590
Update QS WIth more details and changed format.
jamescha-earley Dec 12, 2024
d59d70f
Merge branch 'Snowflake-Labs:master' into master
jamescha-earley Dec 13, 2024
7cfc0a5
Added SQL Examples
jamescha-earley Dec 13, 2024
699f243
Merge branch 'Snowflake-Labs:master' into master
jamescha-earley Dec 13, 2024
7d4a6ac
Publish custom model
jamescha-earley Dec 16, 2024
241b3b4
Removed Note
jamescha-earley Dec 18, 2024
48e25f3
Language Change
jamescha-earley Dec 18, 2024
e877349
Incorporate feedback
jamescha-earley Dec 18, 2024
aa671c7
Organized Imports
jamescha-earley Dec 18, 2024
13eecdc
Swapped out Extract Answer with Complete
jamescha-earley Dec 18, 2024
6bbe0c9
Typo Fix and Missing Text
jamescha-earley Dec 18, 2024
ec348af
Merge branch 'master' into master
jamescha-earley Dec 18, 2024
87dc98a
Merge branch 'Snowflake-Labs:master' into master
jamescha-earley Dec 18, 2024
68840d2
Fixed dead link, Changed Wording and Added more Resources
jamescha-earley Dec 18, 2024
73e8f40
Simplify rest of QS by doing more setup work.
jamescha-earley Dec 18, 2024
51d770f
Change to text_description
jamescha-earley Dec 18, 2024
40c6861
Merge branch 'Snowflake-Labs:master' into master
jamescha-earley Dec 19, 2024
4557b07
Update URLs
jamescha-earley Jan 6, 2025
1426c8b
Merge branch 'Snowflake-Labs:master' into master
jamescha-earley Jan 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tags: Getting Started, Data Science, Data Engineering
## Overview

This guide follows the **detect_anomalies_on_production_floor.ipynb** notebook to simulate production data, analyze it, and detect anomalies using Snowflake and machine learning. By the end, you will have a registered anomaly detection model in Snowflake's Model Registry.
Download the Notebook [detect_anomalies_on_production_floor.ipynb](https://github.com/Snowflake-Labs/sfguide-build-custom-model-to-detect-anomalies-on-production-floor/blob/main/detect_anomolies_on_production_floor.ipynb)
Download the Notebook [detect_anomalies_on_production_floor.ipynb](https://github.com/Snowflake-Labs/sfguide-build-custom-model-to-detect-anomalies-on-production-floor/blob/main/notebooks/detect_anomolies_on_production_floor.ipynb)

### Prerequisites

Expand All @@ -33,7 +33,7 @@ To complete this quickstart, you’ll need:
- A Snowflake account in a region that supports Snowflake's Machine Learning and Model Registry capabilities.
- Access to a warehouse with GPU capabilities for training the LSTM model.
- Python libraries: `pandas`, `numpy`, `scikit-learn`, `tensorflow`, and `keras`.
- A copy of the [detect_anomalies_on_production_floor.ipynb](https://github.com/Snowflake-Labs/sfguide-build-custom-model-to-detect-anomalies-on-production-floor/blob/main/detect_anomolies_on_production_floor.ipynb) notebook.
- A copy of the [detect_anomalies_on_production_floor.ipynb](https://github.com/Snowflake-Labs/sfguide-build-custom-model-to-detect-anomalies-on-production-floor/blob/main/notebooks/detect_anomolies_on_production_floor.ipynb) notebook.
-

---
Expand Down Expand Up @@ -78,7 +78,7 @@ CREATE database Productionfloor_db;

### Open Snowflake Notebooks

1. Click on [Getting Started Notebook](https://github.com/Snowflake-Labs/sfguide-build-custom-model-to-detect-anomalies-on-production-floor/blob/main/detect_anomolies_on_production_floor.ipynb) to download the Notebook from GitHub. (NOTE: Do NOT right-click to download.)
1. Click on [Getting Started Notebook](https://github.com/Snowflake-Labs/sfguide-build-custom-model-to-detect-anomalies-on-production-floor/blob/main/notebooks/detect_anomolies_on_production_floor.ipynb) to download the Notebook from GitHub. (NOTE: Do NOT right-click to download.)
2. In your Snowflake account:
* On the left hand navigation menu, click on Projects » Notebooks
* On the top right, click on Notebook down arrow and select **Import .ipynb** file from the dropdown menu
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,7 @@ In this section, you will make use of **Snowflake Cortex LLM - ClassifyText** to
```python
# To understand whether a customer would recommend food truck based on their review
text_description = """
Tell me based on the following food truck customer review, will they recommend the food truck to \
their friends and family? Answer should be only one of the following words - \
"Likely" or "Unlikely" or "Unsure".
Tell me based on the following food truck customer review, will they recommend the food truck to their friends and family?
"""

reviews_df = reviews_df.withColumn('RECOMMEND', cortex.ClassifyText(F.col('REVIEW'),["Likely","Unlikely","Unsure"], test_description))\
Expand Down