Skip to content

al20139471/Bodo-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bodo Examples

Welcome to Bodo examples!

Install required packages

First make sure you have Bodo installed.

Other packages that are required to run the data generation scripts, pandas_datareader and scikit-learn:

conda install -c conda-forge pandas-datareader
conda install -c conda-forge scikit-learn

Examples and corresponding data generation

Many of the data generation scripts and example scripts can take in optional arguments. python path/script.py --help shows the usage.

For more information on data generation and examples, please see the docstring at the top of each python script.

Try the examples

An example performing Monte Carlo Pi Calculation:

# run the example on a single core
python examples/pi.py
# run the example on 4 cores
mpiexec -n 4 python examples/pi.py

An example performing linear regression:

# generate data
python data/linear_regression_datagen.py
# run example on 4 cores
mpiexec -n 4 python examples/linear_regression.py

An example performing TPCH query #1:

# generate data
data/tpch-datagen/generateData.sh 1
# run example on 4 cores
mpiexec -n 4 python examples/tpch/q01.py

More documentation can be found at http://docs.bodo.ai.

Bodo tutorial can be found here

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published