48 Commits

Author SHA1 Message Date
Zhaoqi 4f6b1f6b52 Revert "New folder structure (#4694)" (#4701)
This reverts commit 970d88ee18 due to broken blog links
2024-07-09 12:54:45 -04:00
Zhaoqi 970d88ee18 New folder structure (#4694)
* Deleted 17 duplicate notebooks (#4685)

* Updated README, removed broken links and fixed markdown (#4687)

* New Folder Structure Implementation - Archived remaining geospatial example notebooks (#4691)

* Archived remaining geospatial example notebooks

* Removed geospatial from README.md

* Archived remaining workshop notebooks (#4692)

* Archived outdated example notebooks between 1-90 views (#4693)

---------

Co-authored-by: jsmul <jsmul@amazon.com>
2024-07-09 11:48:53 -04:00
atqy 12085f3bea change badging domain url (#4459) 2023-10-23 08:30:00 -07:00
atqy 4f4e811a4a remediate xgboost_customer_churn.ipynb (#4058) 2023-05-23 11:36:10 -07:00
atqy 3d28f1d8de Fix badges (#3977)
* edit CONTRIBUTING to include badges fix

* fix badges for read the docs
2023-05-03 17:27:57 -07:00
atqy 22b8203af3 Add badges (#3957)
* prep notebooks for badging propagation

* prep

* add badges to notebooks
2023-04-26 11:41:27 -07:00
Nikhil Raverkar e16f29886d adding XGB 1.7 version (#3829)
Co-authored-by: Nikhil Raverkar <nraverka@amazon.com>
2023-03-22 07:55:15 -07:00
Haixin Wang 93163a8a75 update xgboost version to 1.5-1 in notebooks (#3439)
* update xgboost to 1.5-1

* add time stamp to endpoint configuration

* fix typo

* code formatting change
2022-06-16 10:01:30 -05:00
Julia Kroll f48067da50 Add notebook outputs and website links (#3342)
* Add notebook outputs, link to them from homepage

* Remove extraneous notebook file

* Tweak RST homepage headings, remove broken/misaligned outputs

* Move intro text below non-notebook Intro section
2022-04-22 17:23:50 -05:00
Julia Kroll dece6b6992 Revise markdown for XGBoost NB (#3266)
* Clean up TOC, add runtime for XGBoost NB

* Fix broken JSON typo

Co-authored-by: Jeniya Tabassum <jeniya.tabassum@gmail.com>
2022-04-01 13:01:12 -05:00
Julia Kroll 899be4b809 Polish XGBoost customer churn notebook (#3256)
Co-authored-by: Shreya Pandit <shreya.pandit25@gmail.com>
2022-03-29 13:26:48 -07:00
atqy ab810aa843 Use Sagemaker SDK instead of boto3 to get region_name (#3231) 2022-03-21 12:33:51 -06:00
atqy 1072934944 Make notebooks use boto3 to import datasets (#3206) 2022-03-08 11:08:12 -07:00
Eitan Sela 642cd8e23c Update xgboost_customer_churn.ipynb - Fix BUG #3069 (#3070)
* Update xgboost_customer_churn.ipynb

* Update xgboost_customer_churn.ipynb

* Update xgboost_customer_churn.ipynb
2021-12-21 12:56:43 -06:00
Hongshan Li 388ed24164 fix xgboost_customer_churn.ipynb (#2682) 2021-06-10 14:30:17 -05:00
Ajay Karpur af6667bd0b infra: format all .ipynb files with black-nb (#2224) 2021-05-11 15:43:29 -07:00
Sean Morgan 82d357658d Update to customer_churn use synthetic and redistributable dataset (#1995)
* Update to use synthetic and redistributable dataset

* Fix comment
2021-02-17 12:09:50 -08:00
Eitan Sela 5feab2c95a Updated xgboost_customer_churn.ipynb for SageMaker SDK v2 (#1803)
* Updated xgboost_customer_churn.ipynb for SageMaker SDK v2

Notebook needed updates to be compatible with the v2 of the SageMaker SDK, which is the new Default SDK version in SageMaker.

* Fixed xgboost_customer_churn.ipynb after code review

1. Remove the old import of SDK V1.
2. Added imports for TrainingInput and CSVSerializer to keep code cleaner.
3. The check_neo_region was removed since it is not supported in SDK v2, and from Sep 26, 2019, Amazon SageMaker Neo is Available in 12 additional Regions.
5. get_image_uri in Neo compilation was removed since it is not needed at all.
5. Moved the print of cutoffs, and costs to a diffferent cell since it used to throw an error on the first run.
2020-11-27 08:08:36 -08:00
IvyBazan 8954225798 Fixed bucket input (#1377)
Removed bucket user input and added SageMaker import.
2020-08-12 18:41:29 -07:00
Bikash Sapkota 73b774c40f replacing as_matrix by to_numpy (#1347) 2020-07-28 17:14:57 -07:00
Tulio Casagrande b001fdd5f2 Replace _neo_image_account with public method (#895) 2020-06-25 13:48:25 -07:00
Philip Hyunsu Cho 475b86b8a5 Enable batch prediction for XGBoost Neo examples (#830) 2019-09-03 14:17:49 -07:00
Xingyu Zhou eb6c6eedee Adding new Neo folder and Region check (#816)
* Add Neo folder and move Neo notebook under it

* Update README

* Update mxnet_mnist_neo.ipynb with Evidence

* add compile section in mnist notebook for mxnet and tensorflow

* clean serializer function in neo tensorflow mnist

* Add Neo Region Check for tensorflow_mnist and mxnet_mnist
2019-07-22 13:55:25 -07:00
David Yang b2f969b73b Revert "Adding new Neo folder and Region check (#810)" (#814)
This reverts commit ef7a41a312.

The previous Neo CR still has an issue in some several Sagemaker servive
regions.
2019-07-18 10:12:52 -07:00
Xingyu Zhou ef7a41a312 Adding new Neo folder and Region check (#810)
* Add Neo folder and move Neo notebook under it

* Update README

* Update mxnet_mnist_neo.ipynb with Evidence

* add compile section in mnist notebook for mxnet and tensorflow

* clean serializer function in neo tensorflow mnist

* Add Neo Region Check for tensorflow_mnist and mxnet_mnist
2019-07-16 14:06:43 -07:00
AnkitMethwani 80333fd463 Add parameters tag to cells require value from user (#800)
* Add parameters tag to cells require value from user

* Update Image-classification-lst-format-highlevel.ipynb
2019-07-15 11:22:26 -07:00
David Leen 1e720cc8ee Revert "Adding new Neo folder (#788)" (#808)
This functionality is not available in all regions and should do a
region check to only be run in supported regions.

This reverts commit 1dea98b5b5.
2019-07-12 12:02:04 -07:00
Xingyu Zhou 1dea98b5b5 Adding new Neo folder (#788)
* Add Neo folder and move Neo notebook under it

* Update README

* Update mxnet_mnist_neo.ipynb with Evidence

* add compile section in mnist notebook for mxnet and tensorflow

* clean serializer function in neo tensorflow mnist
2019-07-11 15:26:41 -07:00
Xingyu Zhou d3f2e1f0fd add compile section in xgboost_customer_churn notebook (#740)
* add compile section in xgboost_customer_churn notebook

* add region check, if the region where neo is not supported, proceed with normal model
2019-05-16 16:06:30 -07:00
Wei Chen 168979bf66 add xgboost neo example 2018-11-28 07:43:15 -08:00
Yijie Zhuang a4e39b089b update notebooks with python sdk get_image_url method (#3) 2018-07-09 14:47:17 -07:00
djarpin 0a3ff73d15 Updated: Added ICN container links to notebooks 2018-06-27 14:07:57 -07:00
djarpin 484c7d53c9 Updated: container image paths to include ap-northeast-1 (Tokyo) region 2018-05-31 15:43:23 -07:00
djarpin 786098cdb9 Fixed: XGBoost Customer Churn dataset link 2018-02-16 22:50:06 -08:00
djarpin 26142bc17d Updated: Many notebooks to create resources with a prefix of 'DEMO' for easier cleanup 2018-01-12 14:47:55 -08:00
djarpin 384b948fb5 Fixed: unnecessary num_class hyperparameter in XGBoost Customer Churn notebook 2017-12-14 10:02:10 -08:00
JonathanTaws a482a01ac6 Changed wording following change request 2017-12-13 17:45:10 +01:00
JonathanTaws 6982fcd93e Added explicit feature pairs in explanation for feature correlation
Explicit text about columns we are dropping due to high feature correlation. This makes it easier for the reader to follow why we are dropping the features 'Day Charge', 'Eve Charge', 'Night Charge', 'Intl Charge', which was confusing if you didn't notice the feature pairs.
2017-12-13 11:20:32 +01:00
djarpin 23bc1bd349 Updated: Moved most notebooks to host on ml.m4.xlarge to be eligible for free tier 2017-12-11 16:39:21 -08:00
djarpin de3590cc91 Fixed: Another type in xgboost_customer_churn 2017-12-07 10:06:55 -08:00
djarpin 4840b20382 Updated: Markdown to reflect uncommented delete endpoints 2017-12-04 10:23:29 -08:00
djarpin 69b5375100 Updated: Uncommented all delete endpoint operations. 2017-12-04 10:11:24 -08:00
Márcio Dos Santos 59da58a574 Fixed the roles from all the notebooks 2017-11-29 10:12:25 -08:00
JunLyu da0c41a293 Update xgboost_customer_churn.ipynb (#86) 2017-11-27 15:35:25 -08:00
Zach Wolfe 0498c93619 Replace s3_input with s3_data parameter in xgboost_customer_churn
Related: https://github.com/awslabs/amazon-sagemaker-examples/pull/74

I have not run this notebook, but I ran the related notebook above.

Help on class s3_input in module sagemaker.session:

class s3_input(builtins.object)
 |  Amazon SageMaker channel configurations for S3 data sources.
 |  
 |  Attributes:
 |      config (dict[str, dict]): A SageMaker ``DataSource`` referencing a SageMaker ``S3DataSource``.
 |  
 |  Methods defined here:
 |  
 |  __init__(self, s3_data, distribution='FullyReplicated', compression=None, content_type=None, record_wrapping=None, s3_data_type='S3Prefix')
 |      Create a definition for input data used by an SageMaker training job.
 |      
 |      See AWS documentation on the ``CreateTrainingJob`` API for more details on the parameters.
 |      
 |      Args:
 |          s3_data (str): Defines the location of s3 data to train on.
 |          distribution (str): Valid values: 'FullyReplicated', 'ShardedByS3Key'
 |              (default: 'FullyReplicated').
 |          compression (str): Valid values: 'Gzip', 'Bzip2', 'Lzop' (default: None).
 |          content_type (str): MIME type of the input data (default: None).
 |          record_wrapping (str): Valid values: 'RecordIO' (default: None).
 |          s3_data_type (str): Value values: 'S3Prefix', 'ManifestFile'. If 'S3Prefix', ``s3_data`` defines
 |              a prefix of s3 objects to train on. All objects with s3 keys beginning with ``s3_data`` will
 |              be used to train. If 'ManifestFile', then ``s3_data`` defines a single s3 manifest file, listing
 |              each s3 object to train on. The Manifest file format is described in the SageMaker API documentation:
 |              https://aws.amazon.com/sagemaker/latest/dg/API_S3DataSource.html
 |
2017-11-27 11:21:16 -08:00
djarpin 22b2e292a8 Updated: SageMaker XGBoost Direct Marketing and Removed: Notebook XGBoost Direct Marketing 2017-11-24 22:31:40 -08:00
djarpin 4cb8654255 Updated: XGBoost Customer Churn to use Python SDK 2017-11-24 13:28:06 -08:00
djarpin 3a56138cec Moved: Directory structure to be more hierarchical 2017-11-23 22:13:45 -08:00