parent
							
								
									453c991c19
								
							
						
					
					
						commit
						4c5a0b9729
					
				
					 1 changed files with 11 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -2,15 +2,15 @@
 | 
			
		|||
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
You can use Analytics Zoo without any installation by using  [Google Colab](https://colab.research.google.com/).
 | 
			
		||||
You can use BigDL without any installation by using  [Google Colab](https://colab.research.google.com/).
 | 
			
		||||
 | 
			
		||||
### **1. Open a Colab Notebook**
 | 
			
		||||
 | 
			
		||||
Analytics Zoo includes a collection of [notebooks](./notebooks.md) that can be directly opened and run in Colab. You can click 'Run in Google Colab' that opens the notebook on Colab directly. Click the "run" triangle on the left of each cell to run the notebook cell. When you run the first cell, you may face a pop-up saying 'Warning: This notebook was not authored by Google'; you should click on 'Run Anyway' to get rid of the warning. 
 | 
			
		||||
BigDL includes a collection of [notebooks](./notebooks.md) that can be directly opened and run in Colab. You can click 'Run in Google Colab' that opens the notebook on Colab directly. Click the "run" triangle on the left of each cell to run the notebook cell. When you run the first cell, you may face a pop-up saying 'Warning: This notebook was not authored by Google'; you should click on 'Run Anyway' to get rid of the warning. 
 | 
			
		||||
 | 
			
		||||
### **2. Notebook Setup**
 | 
			
		||||
 | 
			
		||||
The first few cells of the notebook contains the code necessary to set up Analytics Zoo and other libraries.
 | 
			
		||||
The first few cells of the notebook contains the code necessary to set up BigDL and other libraries.
 | 
			
		||||
 | 
			
		||||
**Install Java 8**
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -36,26 +36,26 @@ Run the code bellow to install [conda](https://docs.conda.io/en/latest/) on Cola
 | 
			
		|||
!./Miniconda3-4.5.4-Linux-x86_64.sh -b -f -p /usr/local
 | 
			
		||||
 | 
			
		||||
# Update Conda
 | 
			
		||||
!conda install --channel defaults conda python=3.6 --yes
 | 
			
		||||
!conda install --channel defaults conda python=3.7 --yes
 | 
			
		||||
!conda update --channel defaults --all --yes
 | 
			
		||||
 | 
			
		||||
# Append to the sys.path
 | 
			
		||||
import sys
 | 
			
		||||
_ = (sys.path
 | 
			
		||||
        .append("/usr/local/lib/python3.6/site-packages"))
 | 
			
		||||
        .append("/usr/local/lib/python3.7/site-packages"))
 | 
			
		||||
 | 
			
		||||
os.environ['PYTHONHOME']="/usr/local"
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
**Install Analytics Zoo**
 | 
			
		||||
**Install BigDL**
 | 
			
		||||
 | 
			
		||||
Install the latest pre-release version using `pip install --pre --upgrade analytics-zoo`. 
 | 
			
		||||
Install the latest pre-release version. 
 | 
			
		||||
```bash
 | 
			
		||||
# Install latest pre-release version of Analytics Zoo 
 | 
			
		||||
# Installing Analytics Zoo from pip will automatically install pyspark, bigdl, and their dependencies.
 | 
			
		||||
!pip install --pre --upgrade analytics-zoo
 | 
			
		||||
# Install latest pre-release version of BigDL
 | 
			
		||||
# Installing BigDL from pip will automatically install all BigDL modules and their dependencies.
 | 
			
		||||
!pip install --pre --upgrade bigdl
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
**Install Python Dependencies**
 | 
			
		||||
 | 
			
		||||
As Colab python environment provides some built-in Python libraries, you should check if the library versions are compatible with your application. You may refer [compatibility](./python.md) to specify the python library version that Analytics Zoo supports.
 | 
			
		||||
As Colab python environment provides some built-in Python libraries, you should check if the library versions are compatible with your application. You may refer [compatibility](./python.md) to specify the python library version that BigDL supports.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue