Please note: The code in these repos is sourced from the DataRobot user community and is not owned or maintained by DataRobot, Inc. You may need to make edits or updates for this code to function properly in your environment.
Repository containing samples accompanying the Developer Learning Path in the DataRobot Learning Center.
Requirements To run you require a DataRobot account and API key.
Set your environment variables in common/env.sh
.
It is prefilled for you with stub values, but you will need to fill in some real values, such as API key and your DataRobot URL.
You can then run source common/env.sh
to load your env variables from either curl
or python
directory.
- Run each script like this:
sh 01_import_data-from_file.sh
- Note the output of some scripts, which might be required in one of the following scripts. For example, step 01 gives you the project ID, which is required for step 02.
- Set up your environment:
python3 -m venv .venv && . .venv/bin/activate && pip install datarobot
- Run each script like this:
python 01_import_data.py
- Note the output of some scripts, which might be required in one of the following scripts. For example, step 01 gives you the project ID, which is required for step 02.
- To run the end to end process of creating the project, and make predictions, run
python end_to_end.py
Scripts in various languages, and accompanying files
curl
- Curl (bash) scriptspython
- Python scriptscommon
- Environment variables and datasets used in examples
If you'd like to report an issue or bug, suggest improvements, or contribute code to this project, please refer to CONTRIBUTING.md.
This project has adopted the Contributor Covenant for its Code of Conduct. See CODE_OF_CONDUCT.md to read it in full.
Licensed under the Apache License 2.0. See LICENSE to read it in full.