Installation¶
Select the installation mode that best suits your needs¶
Usage Scenario | Installation Mode |
---|---|
Run FeatureByte tutorials | Tutorials |
Deploy features | Hosted Service |
Collaborate with other users | Hosted Service |
Scalable production | High Availability |
Installation modes¶
Get started quickly with the FeatureByte tutorials.
Installation Steps¶
Step 1: Obtain an API Token
- Visit the FeatureByte Hosted Tutorials page
- Follow the instructions to sign up for an API token.
This token will grant you access to the hosted tutorials server running on a Snowflake data warehouse, where the tutorial data is already populated.
Step 2: Set up a virtual environment.
Using a virtual environment helps avoid potential conflicts with other packages. Here's how you can set one up:
# Create a new virtual environment
python -m venv featurebyte-env
# Activate the virtual environment
## On Windows, run:
featurebyte-env\Scripts\activate.bat
## On Unix or MacOS, run:
source featurebyte-env/bin/activate
# Create a new virtual environment
conda create --name featurebyte-env python=3.9 -y
# Activate the virtual environment
conda activate featurebyte-env
Step 3: Download the tutorial notebooks.
Download the end-to-end notebooks archive to a location on your computer.
Step 4: Load the tutorials in your preferred notebook environment.
Install your preferred notebook environment, like JupyterLab and start with the 00_Setup_Environment.ipynb
notebook.
Step 5: Run 00_Setup_Environment.ipynb
-
Replace
<api_token>
with the API token you received after registering -
Run the notebook.
You are now all set to immerse yourself in the tutorials and the end-to-end workflow!
FeatureByte service hosted on a single server provides a light-weight option to support collaboration and job scheduling with limited scalability and availability. Multiple users can connect to the service using the FeatureByte SDK, and deploy features for production.
Installation Steps for Service Host¶
Service Host Requirements
Hardware¶
- Intel, AMD or Apple Silicon processor with 4 cpu cores
- 8GB of RAM
- Up all the time, so that scheduled tasks can be executed on time
- Has access to data warehouses to perform computation queries
Software¶
- Python 3.9 or higher
- Docker service
Step 1: Activate a virtual environment.
Using a virtual environment will help avoid potential conflicts with other packages.
# Create a new virtual environment
python -m venv featurebyte-env
# Activate the virtual environment
## On Windows, run:
featurebyte-env\Scripts\activate.bat
## On Unix or MacOS, run:
source featurebyte-env/bin/activate
# Create a new virtual environment
conda create --name featurebyte-env python=3.9 -y
# Activate the virtual environment
conda activate featurebyte-env
Step 2: Install the featurebyte
python package using pip.
Step 3: Start the service with python, or from the command shell.
Docker service required
Ensure that your docker service is running.
This will start the services as docker containers in daemon mode.
Installation Steps for Python SDK (Individual User)¶
Python SDK Requirements
Hardware¶
- Intel, AMD or Apple Silicon processor with 2 cpu cores
- 4GB of RAM
Software¶
- Python 3.9 or higher
Step 1: Activate a virtual environment.
Using a virtual environment will help avoid potential conflicts with other packages.
# Create a new virtual environment
python -m venv featurebyte-env
# Activate the virtual environment
## On Windows, run:
featurebyte-env\Scripts\activate.bat
## On Unix or MacOS, run:
source featurebyte-env/bin/activate
# Create a new virtual environment
conda create --name featurebyte-env python=3.9 -y
# Activate the virtual environment
conda activate featurebyte-env
Step 2: Install the FeatureByte SDK for each user that needs to connect to the service.
Update the FeatureByte configuration file to specify how to connect to the FeatureByte service.profile:
- name: local
api_url: http://localhost:8088
- name: featurebyte-svc
api_url: http://<featurebyte-svc-hostname>:8088
api_url
value.
If you have more than one profile, specify the profile to use when connecting to the service.
Follow instructions to create a FeatureStore that connect to your data warehouse.Production Ready FeatureByte service must be customized to fit the needs of your organization. Please contact us at FeatureByte for more information.