No items found.

Open Source
Feature Store

Quick Install - On VM, On-premises or on your own system;

bash <(curl -s

Quick Install - With Azure CLI or GCP CLI;

bash <(curl -s

A feature store is a powerful centralized storage for machine learning features; it allows organizations to repeat, re-use, improve and govern their machine learning model and data within an open ecosystem that can be connected to multiple data sources for ingestion and data science tools for serving. The feature store solves the most essential pieces of the data for ai infrastructure, bridging DataOps and MLOps.

Connect to
feature store

import hsfs
connection = hsfs.connection(host="[UUID]",
fs = connection.get_feature_store()
val connection = HopsworksConnection.builder().build();
val fs = connection.getFeatureStore();

Ingest to the
feature store

import pandas as pd 
data = [['59.314781 18.070232', '2021-02-12', 0.02], ['53.3572 6.4498', '2021-02-12', 0.02]]   
df = pd.DataFrame(data, columns = ['location_id', 'date', 'rainfall']) 
fg = fs.create_feature_group(name='rain_fg',
                        description='Rainfall at a Location on a given date',
val data = Seq(("59.314781 18.070232", "2021-02-12", 0.02), ("53.3572 6.4498", "2021-02-12", 0.02))
val df = spark.createDataFrame(spark.sparkContext.parallelize(data))
val fg = (fs.createFeatureGroup()
                .description("Rainfall at a Location on a given date")

Training Data

feature_join = rain_fg.select_all()

td = fs.create_training_dataset(
                    name = "precipitation",
                    description = "Precipitation Training dataset",
                    data_format = "tfrecord",
                    splits = {"train": 0.7, "test": 0.2, "validate": 0.1},
                    version = 1)
val feature_join = rain_fg.selectAll()

val precipitation_td = (fs.createTrainingDataset(),
                        .description("Precipitation Training dataset"),

Serve with
the feature

td = fs.get_training_dataset("precipitation", 1)
# dict containing the primary key name/values for the FGs in the TD
input_keys = { "location_id" : "59.314781 18.070232" }

# retrieve a single feature vector 
ordered_feature_vector = td.get_serving_vector(input_keys)
val input_keys =  new HashMap[String, Object]()
input_keys.put("location_id", "53.3572 6.4498")


The feature store allows the automation and management of feature engineering and serving at scale for stream and batch data. Hopsworks is the most advanced open source feature store with an end-to-end machine learning platform for development and operation of machine learning models.


Organize work in self-service teams with GDPR-compliant data storage and processing.

Faster Model Training with many GPUs

Add GPUs to your cluster and users can use them as needed - with quotas.


Start small on a single VM and scale to clusters of 1000s of CPUs/GPUs and PBs of data.

First-Class Python

Run Jupyter notebooks as jobs or use PyCharm plugin. Install libraries with, conda/pypi.

Cost Effective Platform

Runs on commodity hardware; support for Ubuntu/Debian and Redhat/Centos.

Open Source

Use Hopsworks to build paid services on it. If, however, you modify the code, you should release it as AGPL-V3.

© Hopsworks 2024. All rights reserved. Various trademarks held by their respective owners.

Privacy Policy
Cookie Policy
Terms and Conditions