Skip to content

Sync main and develop branches #117

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

Merged
merged 201 commits into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
129e853
Create build_spec.yaml
spavlusieva Jan 5, 2023
f784c2f
Doc fixes for release (#73)
jdesanto Jan 26, 2023
69093c6
Pipelines docs updates (#75)
jdesanto Jan 30, 2023
9125e13
Merge branch 'main' into release/2.8.x
jdesanto Jan 30, 2023
071979a
Merge branch 'main' into release/2.8.x
jdesanto Feb 1, 2023
f3fe3b1
Release/2.8.x (#76)
jdesanto Feb 2, 2023
70f10b0
Improves DataFlow user guide with the new features.
mrDzurb Feb 11, 2023
b82eeb7
Update jobs index.rst and toc.rst
qiuosier Feb 14, 2023
5a615aa
Add jobs section to train models.
qiuosier Feb 14, 2023
89ac1e2
Update jobs index.rst
qiuosier Feb 14, 2023
a47a918
Add jobs policies docs
qiuosier Feb 14, 2023
3b2d2df
ODSC-36246: replace generic model example with catboost model
z7ye Feb 14, 2023
e9e5474
ODSC-36246: fix the import order
z7ye Feb 14, 2023
57e9197
fix previous example
z7ye Feb 14, 2023
b79f0a1
ODSC-36246: fix based on the comments
z7ye Feb 15, 2023
49fef55
Updated ModelDeployment docs.
lu-ohai Feb 16, 2023
55530ee
ODSC-38627: adding doc
z7ye Feb 16, 2023
a914e07
Update delete.rst
lu-ohai Feb 16, 2023
208e2d4
Merge branch '2.8.2' of https://github.com/oracle/accelerated-data-sc…
lu-ohai Feb 16, 2023
6e9c32e
Merge branch 'main' of https://github.com/lu-ohai/accelerated-data-sc…
lu-ohai Feb 16, 2023
8df69e8
Update data_science_job.rst
qiuosier Feb 16, 2023
e094c74
ODSC-38627: update docs
z7ye Feb 16, 2023
fba684e
ODSC-38627: update docs
z7ye Feb 16, 2023
805111f
ODSC-38627: fix the comments
z7ye Feb 16, 2023
74eaffd
adding release notes
z7ye Feb 16, 2023
57e3c65
format
z7ye Feb 16, 2023
9b2b451
Adds information about the configuration.
mrDzurb Feb 17, 2023
33341b5
Release notes for 2.8.1 (#86)
z7ye Feb 17, 2023
ead4daa
update based on the comments
z7ye Feb 17, 2023
d54b350
update the ads folder
z7ye Feb 17, 2023
77577b6
Release/2.8.1 (#87)
z7ye Feb 17, 2023
5a4ea9b
fixed job run_a_script example
mingkang111 Feb 17, 2023
56ce081
removed -e . in requirements.txt to make pip install -r requirements.…
mingkang111 Feb 17, 2023
f9bc491
fixed job run_a_script example
mingkang111 Feb 17, 2023
16c21e2
hotfix/user guide job example (#88)
mingkang111 Feb 18, 2023
56f2042
Removed ads.* rst files (#89)
jdesanto Feb 19, 2023
20b2baa
Manually added rst files to correct for RTD
jdesanto Feb 20, 2023
ba09fb6
Update README.md
spavlusieva Feb 20, 2023
02ba29b
Update SECURITY.md
spavlusieva Feb 20, 2023
e1358e5
Update index.rst and training_with_oci.rst
qiuosier Feb 20, 2023
66f0b65
Update CLI jobs.rst
qiuosier Feb 20, 2023
fc4be7e
Update overview.rst
qiuosier Feb 20, 2023
79f05aa
Update toc.rst
qiuosier Feb 20, 2023
a968592
Update data_science_job.rst
qiuosier Feb 20, 2023
fc81a55
Update policies.rst
qiuosier Feb 20, 2023
947fa2e
Update README.md and SECURITY.md (#91)
darenr Feb 20, 2023
7667c19
Update data_science_job.rst
qiuosier Feb 21, 2023
65f8773
Add runtime.rst
qiuosier Feb 21, 2023
21eb29b
Update overview.rst
qiuosier Feb 21, 2023
c709d67
Add infrastructure.rst
qiuosier Feb 21, 2023
61c3dac
Rename run_zip.rst to run_python.rst
qiuosier Feb 21, 2023
86fab0d
Update toc.rst
qiuosier Feb 21, 2023
017e271
Merge commit '20b2baaaf303c027c2767cd2a572e90142c914de' from 2.8.x
qiuosier Feb 21, 2023
0fd06ea
Update runtime.rst
qiuosier Feb 21, 2023
da02c4e
Manually built rst files (#92)
jdesanto Feb 21, 2023
937e79d
Update runtime.rst
qiuosier Feb 22, 2023
5c26ba3
Update infrastructure.rst
qiuosier Feb 22, 2023
9d94589
Update data_science_job.rst
qiuosier Feb 22, 2023
d2280e3
ODSC-37150. Add workflow yml to main (#79)
liudmylaru Feb 22, 2023
ffceb0e
Merge branch 'main' into spavlusieva-patch-1
darenr Feb 23, 2023
e6ede2e
Create build_spec.yaml (#53)
darenr Feb 23, 2023
aad957e
Re-organize page components for jobs docs.
qiuosier Feb 23, 2023
093c986
Update data_science_job.rst and run_python.rst
qiuosier Feb 23, 2023
626d1b5
Update run_python.rst
qiuosier Feb 23, 2023
413a3a9
Update run_notebook.rst
qiuosier Feb 23, 2023
72bf413
Update overview.rst, data_science_job.rst, and 11 more files...
qiuosier Feb 23, 2023
cfb7bef
Improves Data Flow user guide with the new features. (#80)
mrDzurb Feb 23, 2023
0ad0482
Update docs based on comments.
qiuosier Feb 24, 2023
8009e63
Add YAML tab for runtime configs.
qiuosier Feb 24, 2023
76de4ee
Update overview.rst
qiuosier Feb 24, 2023
3b153f2
Update overview.rst and infrastructure.rst base on comments.
qiuosier Feb 24, 2023
191cfd9
ODSC-39261: update the automl user guide
z7ye Feb 27, 2023
7935e77
fix the link
z7ye Feb 27, 2023
65e676e
fix the doc format
z7ye Feb 27, 2023
64aa68e
fix more format
z7ye Feb 27, 2023
e7cae2e
fix more format
z7ye Feb 27, 2023
34230b0
fix more format
z7ye Feb 27, 2023
3ec5815
remove automl
z7ye Feb 27, 2023
ed5585f
update the example
z7ye Feb 27, 2023
193311c
update the example
z7ye Feb 27, 2023
46da9a4
Add quick_start_job.rst
qiuosier Feb 27, 2023
3b92fa2
Update run_notebook.rst
qiuosier Feb 27, 2023
0705361
Update policies.rst and run_container.rst
qiuosier Feb 27, 2023
b0dd257
Merge infrastructure and runtime page
qiuosier Feb 27, 2023
6ddb3ca
Update data_science_job.rst and run_python.rst
qiuosier Feb 27, 2023
611e946
Update code examples.
qiuosier Feb 27, 2023
d33be59
Update runtime_types.rst and toc_local.rst
qiuosier Feb 27, 2023
b2de39f
Update overview.rst, runtime_non_byoc.rst, and 12 more files...
qiuosier Feb 27, 2023
ec9af19
Update example code.
qiuosier Feb 27, 2023
1f97dc3
Remove ads.tests.rst
qiuosier Feb 27, 2023
073a661
Update jobs.rst, data_science_job.rst, and 2 more files...
qiuosier Feb 27, 2023
61e04eb
Update run_git.rst, run_python.rst, and 4 more files...
qiuosier Feb 27, 2023
7e4e774
Update examples.
qiuosier Feb 27, 2023
d142609
Update run_notebook.rst
qiuosier Feb 27, 2023
cca3c72
ODSC-39261: adding quick start for AutoML model
z7ye Feb 28, 2023
3fcd051
ODSC-39261: fix the link
z7ye Feb 28, 2023
70ea2dd
ODSC-39261: fix the link
z7ye Feb 28, 2023
cefbeb5
remove class docs
z7ye Feb 28, 2023
13f62df
add links
z7ye Feb 28, 2023
5801daf
fix the link
z7ye Feb 28, 2023
82b5038
ODSC-38627: adding class doc and resolve comments
z7ye Feb 28, 2023
32f80a1
resolve comments
z7ye Feb 28, 2023
a91bb43
Updated doc.
lu-ohai Mar 1, 2023
654542e
Update infrastructure config example code.
qiuosier Mar 1, 2023
3e24cd2
ODSC-36246: adding more example
z7ye Mar 1, 2023
65cbcd1
ODSC-36246
z7ye Mar 1, 2023
666baf1
adding examples
z7ye Mar 1, 2023
976fd11
ODSC-36246: fix the wording
z7ye Mar 1, 2023
b458553
ODSC-38627: fixed based on comments
z7ye Mar 1, 2023
41dc901
adding release notes
z7ye Mar 1, 2023
888ad02
Merge branch 'main' of github.com:oracle/accelerated-data-science int…
z7ye Mar 2, 2023
92bfdf5
Merge branch '2.8.2' of github.com:oracle/accelerated-data-science in…
z7ye Mar 2, 2023
141e912
Merge branch '2.8.2' of github.com:oracle/accelerated-data-science in…
z7ye Mar 2, 2023
94e0e74
remove modelcatalog
z7ye Mar 2, 2023
b6fee53
Update ads.jobs.rst, data_science_job.rst, and 2 more files...
qiuosier Mar 2, 2023
b0597ed
Merge commit '888ad02cb1cf5021813d68ce52590359b224b1e3'
qiuosier Mar 2, 2023
555516c
switch to sklearn
z7ye Mar 2, 2023
207be67
Update data_science_job.rst
qiuosier Mar 2, 2023
ffc2336
Odsc 36246/catboost to generic model (#82)
z7ye Mar 2, 2023
b050ac1
Merge branch '2.8.2' of github.com:oracle/accelerated-data-science in…
z7ye Mar 2, 2023
692b45d
huggingface userguide (#84)
z7ye Mar 2, 2023
4975b2a
Merge branch '2.8.2' of github.com:oracle/accelerated-data-science in…
z7ye Mar 2, 2023
017ce42
Merge branch '2.8.2' of github.com:oracle/accelerated-data-science in…
z7ye Mar 2, 2023
8b5d45a
resolve comments
z7ye Mar 2, 2023
5b83d9a
ODSC-39261: resolving the comments
z7ye Mar 2, 2023
fe926f5
resolve comments
z7ye Mar 2, 2023
cfbdbc2
resolve comments
z7ye Mar 2, 2023
87c86d6
Fix broken link in policies.rst
qiuosier Mar 2, 2023
a26f2bb
Update ads.jobs.rst
qiuosier Mar 2, 2023
05506e0
fix the doc
z7ye Mar 2, 2023
3b9910d
fix the code
z7ye Mar 2, 2023
c1161e2
Update user guide for Data Science Jobs (#94)
qiuosier Mar 2, 2023
da4821b
update the notes
z7ye Mar 2, 2023
cbf43e3
update
z7ye Mar 3, 2023
c2ad776
ODSC-39261: update the automl user guide (#95)
z7ye Mar 3, 2023
b46a8b7
Merge branch 'release/2.8.x' of github.com:oracle/accelerated-data-sc…
z7ye Mar 3, 2023
27822c1
Merge branch '2.8.2' of github.com:oracle/accelerated-data-science in…
z7ye Mar 3, 2023
e2c6351
Tc 23836/release note (#96)
z7ye Mar 3, 2023
2e4e21f
2.8.2 (#97)
z7ye Mar 3, 2023
baa96cd
adding conda
z7ye Mar 3, 2023
496349d
adding conda
z7ye Mar 3, 2023
5ba8800
Odsc 38627/huggingface conda pack (#99)
z7ye Mar 3, 2023
4a540e7
update the ads folder and setup.py
z7ye Mar 3, 2023
28b62a7
Release/2.8.2 (#98)
z7ye Mar 3, 2023
cf908c7
Update conf.py to insert correct ads path when building api docs.
qiuosier Mar 3, 2023
33324ee
Update toc tree level in ads.jobs.rst.
qiuosier Mar 3, 2023
c98bc1b
Update sphinx config (#100)
z7ye Mar 3, 2023
a6348e3
quick docs
z7ye Mar 4, 2023
65802f9
quick docs (#101)
z7ye Mar 4, 2023
08ab6a7
Release/2.8.x (#102)
z7ye Mar 4, 2023
9a3c752
fix prereq
z7ye Mar 4, 2023
f1503e6
fix prereq (#103)
z7ye Mar 4, 2023
dd0efd9
Release/2.8.x (#104)
z7ye Mar 6, 2023
67336aa
Update delete.rst
jdesanto Mar 7, 2023
075b84b
Update logs.rst
jdesanto Mar 7, 2023
aaa35f5
Updated pr.
lu-ohai Mar 7, 2023
2b07d04
Merge branch 'main' of https://github.com/lu-ohai/accelerated-data-sc…
lu-ohai Mar 7, 2023
491973f
remove real ocid
z7ye Mar 13, 2023
05b34ce
remove real ocid (#107)
z7ye Mar 13, 2023
b09fa04
fix typo in the documentation
mayoor Mar 16, 2023
9662d0c
Merge branch 'main' into fix/secrets-doc
mayoor Mar 16, 2023
665a775
fix typo in the documentation (#108)
mayoor Mar 16, 2023
c1256db
merging with main to generate docs (#109)
mayoor Mar 17, 2023
244692f
link fix and remove redundant files
mayoor Mar 17, 2023
be7f0a3
Merge branch 'fix/secrets-doc' of github.com:oracle/accelerated-data-…
mayoor Mar 17, 2023
939a605
Fix/secrets doc (#110)
mayoor Mar 17, 2023
84e633e
Merge branch 'main' into release/2.8.x
mayoor Mar 18, 2023
8a0cc51
Release/2.8.x (#111)
mayoor Mar 18, 2023
04fc633
Updated pr.
lu-ohai Mar 20, 2023
f1871a2
ODSC-40388: add class doc for serde and also add ml pipeline in the r…
z7ye Mar 20, 2023
ffadd6c
remove automl
z7ye Mar 20, 2023
eddeae7
Updated service doc link
lu-ohai Mar 20, 2023
2bf51e1
Updated pr.
lu-ohai Mar 20, 2023
6ee00ec
ODSC-40388: fix the dataflow doc
z7ye Mar 20, 2023
e08753c
ODSC-40388: fix the format
z7ye Mar 20, 2023
bffce53
ODSC-40388: fix the formatting
z7ye Mar 20, 2023
624fb71
adding release notes
z7ye Mar 20, 2023
66667c9
adding release notes
z7ye Mar 20, 2023
01f3d54
Merge branch 'release/2.8.x' of github.com:oracle/accelerated-data-sc…
z7ye Mar 21, 2023
b37fbcc
Update model_artifact.rst to add region identifier to policy example.
qiuosier Mar 8, 2023
f84fd6a
Update user guide for large model artifact to add region identifier t…
qiuosier Mar 21, 2023
801477b
change temp dir to current dir
z7ye Mar 21, 2023
7cb0459
ODSC-40388: fix the folder
z7ye Mar 21, 2023
598caca
fix the indent
z7ye Mar 21, 2023
1892598
fix indent
z7ye Mar 21, 2023
74535f5
fix comments
z7ye Mar 21, 2023
dcc9d9b
Update release_notes.rst
qiuosier Mar 21, 2023
dc471ea
Change tab to space in quickstart.rst.
qiuosier Mar 21, 2023
ab83f2e
Change tab to space in quickstart.rst.
qiuosier Mar 21, 2023
4a01882
Merge branch 'main' into release-notes/2.8.3
z7ye Mar 21, 2023
7778226
release notes: 2.8.3 (#113)
z7ye Mar 21, 2023
30473a1
Merge branch 'main' into ODSC-40388/genericmodel_doc
z7ye Mar 21, 2023
fe4ef2a
ODSC-40388: improve class doc (#112)
z7ye Mar 21, 2023
08e4652
Merge branch 'release/2.8.x' of https://github.com/oracle/accelerated…
lu-ohai Mar 21, 2023
f3e1249
Updated ModelDeployment Doc (#85)
lu-ohai Mar 21, 2023
07f18bd
Merge branch 'main' of github.com:oracle/accelerated-data-science int…
z7ye Mar 21, 2023
b936d73
Release/2.8.x (#114)
z7ye Mar 21, 2023
687dfc8
update the ads folder and setup.py
z7ye Mar 22, 2023
a82f6a2
modify the release date
z7ye Mar 22, 2023
edb7bb7
Release/2.8.x (#115)
z7ye Mar 22, 2023
14fc632
Add workflow yml files to main branch (#116)
liudmylaru Mar 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
65 changes: 65 additions & 0 deletions .github/workflows/run-unittests-default_setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Unit Tests unitary/default_setup/*

on:
workflow_dispatch:

# Cancel in progress workflows on pull_requests.
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

jobs:
test:
name: python ${{ matrix.python-version }}, tests/unitary/default_setup
runs-on: ubuntu-latest
timeout-minutes: 20

strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3

# Caching python libraries installed with pip
# https://github.com/actions/cache/blob/main/examples.md#python---pip
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/test-requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

# - name: "Test config setup"
# shell: bash
# env:
# ADS_OCI_CONFIG_REALLIKE: ${{ secrets.ADS_OCI_CONFIG_REALLIKE }}
# ADS_OCI_PRIVATE_KEY_REALLIKE: ${{ secrets.ADS_OCI_PRIVATE_KEY_REALLIKE }}
# run: |
# set -x # print commands that are executed
# mkdir -p /home/runner/.oci
# ls -lha
# echo "$ADS_OCI_CONFIG_REALLIKE" > "/home/runner/.oci/config"
# echo "$ADS_OCI_PRIVATE_KEY_REALLIKE" > "/home/runner/.oci/oci_ads_user.pem"
# echo "key_file=/home/runner/.oci/oci_ads_user.pem" >> "/home/runner/.oci/config"

# - name: "Run default_setup tests folder ONLY with minimum ADS dependencies"
# timeout-minutes: 15
# shell: bash
# env:
# NB_SESSION_COMPARTMENT_OCID: ocid1.compartment.oc1.<unique_ocid>
# NoDependency: True
# run: |
# set -x # print commands that are executed
# $CONDA/bin/conda init
# source /home/runner/.bashrc
# pip install -r test-requirements.txt
# python -m pytest -v -p no:warnings --durations=5 tests/unitary/default_setup
94 changes: 94 additions & 0 deletions .github/workflows/run-unittests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Unit Tests unitary

on:
workflow_dispatch:

# Cancel in progress workflows on pull_requests.
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions:
contents: read


# hack for https://github.com/actions/cache/issues/810#issuecomment-1222550359
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5

jobs:
test:
name: python ${{ matrix.python-version }}, ${{ matrix.test-path }}, ignore ${{ matrix.ignore-path }}
runs-on: ubuntu-latest
timeout-minutes: 90

strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
test-path: ["tests/unitary", "tests/unitary/with_extras/model"]
include:
- test-path: "tests/unitary"
ignore-path: "tests/unitary/with_extras/model"

steps:
- uses: actions/checkout@v3

# Caching python libraries installed with pip
# https://github.com/actions/cache/blob/main/examples.md#python---pip
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/dev-requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-

- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

# - name: "Test config setup"
# shell: bash
# env:
# ADS_OCI_CONFIG_REALLIKE: ${{ secrets.ADS_OCI_CONFIG_REALLIKE }}
# ADS_OCI_PRIVATE_KEY_REALLIKE: ${{ secrets.ADS_OCI_PRIVATE_KEY_REALLIKE }}
# run: |
# set -x # print commands that are executed
# mkdir -p /home/runner/.oci
# ls -lha
# echo "$ADS_OCI_CONFIG_REALLIKE" > "/home/runner/.oci/config"
# echo "$ADS_OCI_PRIVATE_KEY_REALLIKE" > "/home/runner/.oci/oci_ads_user.pem"
# echo "key_file=/home/runner/.oci/oci_ads_user.pem" >> "/home/runner/.oci/config"

# - name: "Test env setup"
# timeout-minutes: 20
# shell: bash
# run: |
# set -x # print commands that are executed
# sudo apt-get install libkrb5-dev graphviz
# $CONDA/bin/conda init
# source /home/runner/.bashrc
# pip install setuptools
# pip install -r dev-requirements.txt

# - name: "Run unitary tests folder with maximum ADS dependencies"
# timeout-minutes: 60
# shell: bash
# env:
# NB_SESSION_COMPARTMENT_OCID: ocid1.compartment.oc1.<unique_ocid>
# CONDA_PREFIX: /usr/share/miniconda
# run: |
# python -m pytest -v -p no:warnings --durations=5 \
# ${{ matrix.test-path }} \
# --ignore "${{ matrix.ignore-path }}" \
# --cov --cov-append --cov-report=html

# Uploading test artifacts
# https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts#uploading-build-and-test-artifacts
# - name: "Save html coverage report"
# uses: actions/upload-artifact@v3
# with:
# name: code-coverage-report
# path: htmlcov/
# retention-days: 10
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![PyPI](https://img.shields.io/pypi/v/oracle-ads.svg)](https://pypi.org/project/oracle-ads/) [![Python](https://img.shields.io/pypi/pyversions/oracle-ads.svg?style=plastic)](https://pypi.org/project/oracle-ads/)

The [Oracle Accelerated Data Science (ADS) SDK](https://accelerated-data-science.readthedocs.io/en/latest/index.html) is maintained by the Oracle Cloud Infrastructure (OCI) [Data Science service](https://docs.oracle.com/en-us/iaas/data-science/using/data-science.htm) team. It speeds up common data science activities by providing tools that automate and simplify common data science tasks. Additionally, provides data scientists a friendly pythonic interface to OCI services. Some of the more notable services are OCI Data Science, Model Catalog, Model Deployment, Jobs, Data Flow, Object Storage, Vault, Big Data Service, Data Catalog, and the Autonomous Database. ADS gives you an interface to manage the life cycle of machine learning models, from data acquisition to model evaluation, interpretation, and model deployment.
The [Oracle Accelerated Data Science (ADS) SDK](https://accelerated-data-science.readthedocs.io/en/latest/index.html) is maintained by the Oracle Cloud Infrastructure (OCI) [Data Science service](https://docs.oracle.com/en-us/iaas/data-science/using/data-science.htm) team. It speeds up common data science activities by providing tools that automate and simplify common data science tasks. Additionally, provides data scientists a friendly pythonic interface to OCI services. Some of the more notable services are OCI Data Science, Model Catalog, Model Deployment, Jobs, ML Pipelines, Data Flow, Object Storage, Vault, Big Data Service, Data Catalog, and the Autonomous Database. ADS gives you an interface to manage the life cycle of machine learning models, from data acquisition to model evaluation, interpretation, and model deployment.

With ADS you can:

Expand All @@ -14,6 +14,7 @@ With ADS you can:
- Deploy models as HTTP endpoints with [Model Deployment](https://docs.oracle.com/en-us/iaas/data-science/using/model-dep-about.htm).
- Launch distributed ETL, data processing, and model training jobs in Spark with [OCI Data Flow](https://docs.oracle.com/en-us/iaas/data-flow/using/home.htm).
- Train machine learning models in OCI Data Science [Jobs](https://docs.oracle.com/en-us/iaas/data-science/using/jobs-about.htm).
- Define and run an end-to-end machine learning orchestration covering all the steps of machine learning lifecycle in a repeatable, continuous [ML Pipelines](https://accelerated-data-science.readthedocs.io/en/latest/user_guide/pipeline/overview.html#).
- Manage the life cycle of conda environments through the `ads conda` command line interface (CLI).

## Installation
Expand Down Expand Up @@ -166,7 +167,7 @@ This example uses SQL injection safe binding variables.

## Contributing

This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide [CONTRIBUTING.md](https://github.com/oracle/accelerated-data-science/blob/main/CONTRIBUTING.md).
This project welcomes contributions from the community. Before submitting a pull request, please [review our contribution guide](./CONTRIBUTING.md)

Find Getting Started instructions for developers in [README-development.md](https://github.com/oracle/accelerated-data-science/blob/main/README-development.md)

Expand Down
20 changes: 11 additions & 9 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ and privacy of all our users.

Please do NOT raise a GitHub Issue to report a security vulnerability. If you
believe you have found a security vulnerability, please submit a report to
[secalert_us@oracle.com](mailto:secalert_us@oracle.com) preferably with a proof of concept.
Please review some additional information on
[how to report security vulnerabilities to Oracle](https://www.oracle.com/corporate/security-practices/assurance/vulnerability/reporting.html).
[secalert_us@oracle.com][1] preferably with a proof of concept. Please review
some additional information on [how to report security vulnerabilities to Oracle][2].
We encourage people who contact Oracle Security to use email encryption using
[our encryption key](https://www.oracle.com/security-alerts/encryptionkey.html).
[our encryption key][3].

We ask that you do not use other channels or contact the project maintainers
directly.
Expand All @@ -22,15 +21,18 @@ security features are welcome on GitHub Issues.

Security updates will be released on a regular cadence. Many of our projects
will typically release security fixes in conjunction with the
[Oracle Critical Patch Update](https://www.oracle.com/security-alerts/encryptionkey.html) program.
Security updates are released on the Tuesday closest to the 17th day of January, April, July and October.
A pre-release announcement will be published on the Thursday preceding each release. Additional
information, including past advisories, is available on our
[security alerts](https://www.oracle.com/security-alerts/) page.
[Oracle Critical Patch Update][3] program. Additional
information, including past advisories, is available on our [security alerts][4]
page.

## Security-related information

We will provide security related information such as a threat model, considerations
for secure use, or any known security issues in our documentation. Please note
that labs and sample code are intended to demonstrate a concept and may not be
sufficiently hardened for production use.

[1]: mailto:secalert_us@oracle.com
[2]: https://www.oracle.com/corporate/security-practices/assurance/vulnerability/reporting.html
[3]: https://www.oracle.com/security-alerts/encryptionkey.html
[4]: https://www.oracle.com/security-alerts/
3 changes: 2 additions & 1 deletion ads/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*--

# Copyright (c) 2020, 2022 Oracle and/or its affiliates.
# Copyright (c) 2020, 2023 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/

from __future__ import print_function, division, absolute_import
Expand All @@ -26,6 +26,7 @@
from ads.feature_engineering.accessor.dataframe_accessor import ADSDataFrameAccessor
from ads.common import auth
from ads.common.auth import set_auth
from ads.common.config import Config

os.environ["GIT_PYTHON_REFRESH"] = "quiet"

Expand Down
2 changes: 1 addition & 1 deletion ads/ads_version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "2.8.0"
"version": "2.8.3"
}
17 changes: 14 additions & 3 deletions ads/automl/driver.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*--

# Copyright (c) 2020, 2022 Oracle and/or its affiliates.
# Copyright (c) 2020, 2023 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/

from __future__ import absolute_import, division, print_function

import copy

import numpy as np
import pandas as pd
import scipy
import copy

from ads.common import logger, utils
from ads.common.decorator.deprecate import deprecated
from ads.common.model import ADSModel
from ads.dataset import helper
from ads.dataset.classification_dataset import (
Expand All @@ -37,6 +40,10 @@
}


@deprecated(
details="Working with AutoML has moved from within ADS to working directly with the AutoMLx library. AutoMLx are preinstalled in conda pack automlx_p38_cpu_v2 and later, and can now be updated independently of ADS. AutoMLx documentation may be found at https://docs.oracle.com/en-us/iaas/tools/automlx/latest/html/multiversion/v23.1.1/index.html. Notebook examples are in Oracle's samples repository: https://github.com/oracle-samples/oci-data-science-ai-samples/tree/master/notebook_examples and a migration tutorial can be found at https://accelerated-data-science.readthedocs.io/en/latest/user_guide/model_training/automl/quick_start.html .",
raise_error=True,
)
def get_ml_task_type(X, y, classes):
"""
Gets the ML task type and returns it.
Expand Down Expand Up @@ -79,6 +86,10 @@ def get_ml_task_type(X, y, classes):


class AutoML:
@deprecated(
details="Working with AutoML has moved from within ADS to working directly with the AutoMLx library. AutoMLx are preinstalled in conda pack automlx_p38_cpu_v2 and later, and can now be updated independently of ADS. AutoMLx documentation may be found at https://docs.oracle.com/en-us/iaas/tools/automlx/latest/html/multiversion/v23.1.1/index.html. Notebook examples are in Oracle's samples repository: https://github.com/oracle-samples/oci-data-science-ai-samples/tree/master/notebook_examples and a migration tutorial can be found at https://accelerated-data-science.readthedocs.io/en/latest/user_guide/model_training/automl/quick_start.html .",
raise_error=True,
)
def __init__(
self,
training_data,
Expand All @@ -87,7 +98,7 @@ def __init__(
baseline="dummy",
client=None,
):
r"""
"""
Creates an Automatic machine learning object.

Parameters
Expand Down
23 changes: 22 additions & 1 deletion ads/automl/provider.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8; -*-

# Copyright (c) 2020, 2022 Oracle and/or its affiliates.
# Copyright (c) 2020, 2023 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/

import logging
Expand Down Expand Up @@ -41,6 +41,10 @@ class AutoMLProvider(ABC):
implement train() and get_transformer_pipeline().
"""

@deprecated(
details="Working with AutoML has moved from within ADS to working directly with the AutoMLx library. AutoMLx are preinstalled in conda pack automlx_p38_cpu_v2 and later, and can now be updated independently of ADS. AutoMLx documentation may be found at https://docs.oracle.com/en-us/iaas/tools/automlx/latest/html/multiversion/v23.1.1/index.html. Notebook examples are in Oracle's samples repository: https://github.com/oracle-samples/oci-data-science-ai-samples/tree/master/notebook_examples and a migration tutorial can be found at https://accelerated-data-science.readthedocs.io/en/latest/user_guide/model_training/automl/quick_start.html .",
raise_error=True,
)
def __init__(self):
self.X_train = None
self.y_train = None
Expand Down Expand Up @@ -143,6 +147,10 @@ class BaselineModel(object):
interface. Labels (y) are encoded using DataFrameLabelEncoder.
"""

@deprecated(
details="Working with AutoML has moved from within ADS to working directly with the AutoMLx library. AutoMLx are preinstalled in conda pack automlx_p38_cpu_v2 and later, and can now be updated independently of ADS. AutoMLx documentation may be found at https://docs.oracle.com/en-us/iaas/tools/automlx/latest/html/multiversion/v23.1.1/index.html. Notebook examples are in Oracle's samples repository: https://github.com/oracle-samples/oci-data-science-ai-samples/tree/master/notebook_examples and a migration tutorial can be found at https://accelerated-data-science.readthedocs.io/en/latest/user_guide/model_training/automl/quick_start.html .",
raise_error=True,
)
def __init__(self, est):
self.est = est
self.df_label_encoder = DataFrameLabelEncoder()
Expand Down Expand Up @@ -250,6 +258,10 @@ def get_transformer_pipeline(self):
msg = "Baseline"
return [("automl_preprocessing", AutoMLPreprocessingTransformer(msg))]

@deprecated(
details="Working with AutoML has moved from within ADS to working directly with the AutoMLx library. AutoMLx are preinstalled in conda pack automlx_p38_cpu_v2 and later, and can now be updated independently of ADS. AutoMLx documentation may be found at https://docs.oracle.com/en-us/iaas/tools/automlx/latest/html/multiversion/v23.1.1/index.html. Notebook examples are in Oracle's samples repository: https://github.com/oracle-samples/oci-data-science-ai-samples/tree/master/notebook_examples and a migration tutorial can be found at https://accelerated-data-science.readthedocs.io/en/latest/user_guide/model_training/automl/quick_start.html .",
raise_error=True,
)
def __init__(self, est):
"""
Generates a baseline model using the Zero Rule algorithm by default. For a classification
Expand Down Expand Up @@ -309,6 +321,7 @@ class OracleAutoMLProvider(AutoMLProvider, ABC):
@deprecated(
"2.6.7",
details="Oracle AutoML is recommended to be directly instantiated by importing automlx package",
raise_error=True,
)
def __init__(
self, n_jobs=-1, loglevel=None, logger_override=None, model_n_jobs: int = 1
Expand Down Expand Up @@ -870,6 +883,10 @@ def visualize_tuning_trials(self, ylabel=None):


class AutoMLPreprocessingTransformer(object): # pragma: no cover
@deprecated(
details="Working with AutoML has moved from within ADS to working directly with the AutoMLx library. AutoMLx are preinstalled in conda pack automlx_p38_cpu_v2 and later, and can now be updated independently of ADS. AutoMLx documentation may be found at https://docs.oracle.com/en-us/iaas/tools/automlx/latest/html/multiversion/v23.1.1/index.html. Notebook examples are in Oracle's samples repository: https://github.com/oracle-samples/oci-data-science-ai-samples/tree/master/notebook_examples and a migration tutorial can be found at https://accelerated-data-science.readthedocs.io/en/latest/user_guide/model_training/automl/quick_start.html .",
raise_error=True,
)
def __init__(self, msg):
self.msg = msg

Expand Down Expand Up @@ -915,6 +932,10 @@ def __repr__(self):


class AutoMLFeatureSelection(object): # pragma: no cover
@deprecated(
details="Working with AutoML has moved from within ADS to working directly with the AutoMLx library. AutoMLx are preinstalled in conda pack automlx_p38_cpu_v2 and later, and can now be updated independently of ADS. AutoMLx documentation may be found at https://docs.oracle.com/en-us/iaas/tools/automlx/latest/html/multiversion/v23.1.1/index.html. Notebook examples are in Oracle's samples repository: https://github.com/oracle-samples/oci-data-science-ai-samples/tree/master/notebook_examples and a migration tutorial can be found at https://accelerated-data-science.readthedocs.io/en/latest/user_guide/model_training/automl/quick_start.html .",
raise_error=True,
)
def __init__(self, msg):
self.msg = msg

Expand Down
Loading