# Create Feature Store

## What is a Feature Store?

A ***Feature Store*** is a centralized repository for storing, managing, and sharing machine learning (ML) features or attributes used to train models. It is a scalable solution for organizing and cataloging features, making them easily accessible to data scientists and ML engineers across an organization. Feature Stores facilitate collaboration, version control, and reusability of features, streamlining the ML development process and improving model quality and efficiency.

{% hint style="success" %}
*Check out the illustration to create a new Feature Store.*&#x20;
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FXABwN5sEbghSEe82dJUY%2FFeature%20Store%20Creation.mp4?alt=media&token=653ec82d-33ce-4c8e-bd61-ecc0833c6bab>" %}
***Creating a Feature Store***
{% endembed %}

## Steps to Create A Feature Store

* Navigate to the Homepage of the ***Data Science Lab*** module.
* Click the ***Create*** icon from the homepage.

<figure><img src="https://content.gitbook.com/content/28ipFzCz8EMtVtHrBFLx/blobs/b14Ge47L52v6a75XvHoG/image.png" alt=""><figcaption><p><em><strong>Accessing the Create icon</strong></em></p></figcaption></figure>

* The  ***Create Project*** or ***Feature Store*** drawer opens.
* Click the ***Create*** option provided for the ***Feature Store***.

<figure><img src="https://content.gitbook.com/content/28ipFzCz8EMtVtHrBFLx/blobs/nOM2yH5cBeljRhJZZcdQ/image.png" alt=""><figcaption><p><em><strong>Create Project/ Feature Store window</strong></em></p></figcaption></figure>

* The ***Create Feature Store*** page opens.
* Provide a name for the ***Feature Store***.
* Select a ***Data Connector*** from the drop-down list.
* The ***Table info/ metadata*** panel will appear on the right side of the page.&#x20;
* Click on a table name to select it.
* An SQL query will be generated in the given place.
* Click the ***Validate*** option.
* A notification message ensures the user that the action has been executed successfully and the table is executed.
* A preview of the table appears below.
* Click the ***Create*** option.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2F8aYO9Yy29rjPf7Sefo9o%2Fimage.png?alt=media&#x26;token=6e5ccfcd-16bf-4e4f-a3ca-6ce95d913fca" alt=""><figcaption></figcaption></figure>

* A notification message ensures the user that the intended ***Feature Store*** is being created.
* The user gets redirected to the ***Feature Stores*** page.
* The newly created Feature Store gets added at the top of the list.&#x20;

  <figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FsC63NjHO9gUe8o7kMFFQ%2Fimage.png?alt=media&#x26;token=81058bb3-fea5-462f-8a33-f2addacdf15f" alt=""><figcaption><p><em><strong>Feature Stores List with newly created Feature Store</strong></em></p></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark>*&#x20;

* *Click the **Refresh** icon to get the status level updates for the newly created Feature Store.*
* A Feature Store gets ***Initializing***, ***Started***, and ***Completed*** as Status.
  {% endhint %}

### Scheduling a Feature Store

{% hint style="success" %}
*Check out the illustration on scheduling a Feature Store.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FqIDQGmfG1fuESJy8YcUG%2FScheduling_in%20feature%20store.mp4?alt=media&token=c8c1152f-b05a-4ec8-8c96-df758396e3cd>" %}
***Scheduling a Feature Store***
{% endembed %}

* Navigate to the ***Data Science Lab*** module.
* Click the ***Create*** option provided for Feature Store.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FTPxBI8K2GtJPms0LTdhQ%2Fimage.png?alt=media&#x26;token=1f653b23-7c88-43ca-829c-4ebff894343f" alt=""><figcaption></figcaption></figure>

* The ***Create Feature Store*** form opens.
* Provide the ***Featureset*** Name.
* Select a connector using the drop-down menu.
* Write or get an SQL query by selecting a table/metadata from the Tab Info./Metadata panel.
* Validate the query using the ***Validate*** option.
* A notification appears to ensure the user after the query is validated.
* Click the ***Schedule*** option.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2Fx4q9d4OonwxUhiyjI05q%2Fimage.png?alt=media&#x26;token=5b81b433-cd10-4849-bd31-3b5cc0f07518" alt=""><figcaption></figcaption></figure>

* The ***Schedule*** page appears.
* Select an option for the ***Concurrency Policy*****.** The following options are provided:
  * **Allow (Parallel):** Multiple instances run simultaneously. No concurrency restrictions. Suitable for independent tasks.
  * **Forbid (Prevent, Deny):** Only one instance runs simultaneously. New instances are skipped if a previous one is running. Suitable for tasks that can't run in parallel.
  * **Replace (Terminate, ReplaceOlder):** A new instance starts, previous one is terminated. Suitable when the latest instance should take priority. Ensures no overlap.
* Navigate to the ***Cron Generator*** section.
* Choose the ***Monthly*** or ***Yearly*** option and provide the required information.
* Based on the selection from the Cron Generator the ***Scheduler Time*** will be added.
* Click the ***Apply*** option.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2F9WO0cOTJhGFs8AG7Gou4%2Fimage.png?alt=media&#x26;token=27cab0db-ae42-4bb3-8f31-52d86069b1c2" alt=""><figcaption></figcaption></figure>

* The user gets redirected to the Create Feature Store page, a notification ensures that the Feature Store is scheduled.
* The same will be indicated through a green mark in the Scheduler option.
* Click the ***Create*** option.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FJhypP2jbesG8IdZdKFDR%2Fimage.png?alt=media&#x26;token=3b3870fc-0e87-4651-ac63-b77b276f33a6" alt=""><figcaption></figcaption></figure>

* The user gets redirected to the Feature Stores page.
* The newly created Feature Store is added at the top of the page.
* A notification message ensures that the Feature store job is initialized.  The same is suggested through the Status column.
* Click the ***Refresh*** icon.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FRbLWsRjveWKV58YHB59O%2Fimage.png?alt=media&#x26;token=8d791bb0-10a6-44e4-961e-2b0941edc9d3" alt=""><figcaption></figcaption></figure>

* The feature store status gets changed to ***Started.***
* Click the ***Refresh*** icon.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2FQgDy4OKbCsXGhPYuOqN5%2Fimage.png?alt=media&#x26;token=6eb0c93f-65e3-4e8e-a032-f48c808bfbd7" alt=""><figcaption></figcaption></figure>

* The Feature Store status gets changed to Completed.
* The ***Stop Scheduling*** icon gets enabled for the feature store.

<figure><img src="https://1760649651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28ipFzCz8EMtVtHrBFLx%2Fuploads%2F3GtTEWfNfuCIFv6Ck9WC%2Fimage.png?alt=media&#x26;token=5aa1b865-eae3-463d-a8ba-f1b32ab16be1" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The **Stop Schedule** option will remain enabled when a scheduled Feature Store reaches the scheduled time limit. The user can click the **Stop Schedule** icon during this period to stop the schedule.*&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bdb.ai/data-science-lab-6/create/create-feature-store.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
