You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
6
+
7
+
## Project structure
8
+
The Web UI is powered by a JSON registry dump from Feast (running `feast registry-dump`). Running `yarn start` launches a UI
9
+
powered by test data.
10
+
-`public/` contains assets as well as demo data loaded by the Web UI.
11
+
- There is a `projects-list.json` which represents all Feast projects the UI shows.
12
+
- There is also a `registry.json` which is the registry dump for the feature repo.
13
+
-`feature_repo/` contains a sample Feast repo which generates the `registry.json`
14
+
-`src/` contains the Web UI source code. This parses the registry json blob in `src/parsers` to make this data
15
+
available for the rest of the UI.
16
+
-`src/custom-tabs` includes sample custom tabs. This is a WIP plugin system where users can inject their own tabs and
17
+
data to the UI.
18
+
19
+
20
+
## Available Scripts
21
+
22
+
In the project directory, you can run:
23
+
24
+
### `yarn start`
25
+
26
+
Runs the app in the development mode.\
27
+
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
28
+
29
+
The page will reload if you make edits.\
30
+
You will also see any lint errors in the console.
31
+
32
+
### `yarn test`
33
+
34
+
Launches the test runner in the interactive watch mode.\
35
+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
36
+
37
+
### `yarn build`
38
+
39
+
Builds the app for production to the `build` folder.\
40
+
It correctly bundles React in production mode and optimizes the build for the best performance.
41
+
42
+
The build is minified and the filenames include the hashes.\
43
+
Your app is ready to be deployed!
44
+
45
+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
46
+
47
+
### `yarn eject`
48
+
49
+
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
50
+
51
+
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
52
+
53
+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
54
+
55
+
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
56
+
57
+
## Learn More
58
+
59
+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
60
+
61
+
To learn React, check out the [React documentation](https://reactjs.org/).
This pulls from the dataset used in https://github.com/feast-dev/feast-aws-credit-scoring-tutorial but adds metadata for a full set of Feast FCOs.
6
+
7
+
This also adds an on demand feature view + feature services + a saved dataset.
Then for this demo, you'll actually need to fix a bug by adding this to `type_map.py#L144`:
25
+
```python
26
+
ifisinstance(value, np.bool_):
27
+
return ValueType.BOOL
28
+
```
29
+
30
+
## Test features
31
+
We have already set up a feature repository here using test data from [data](data)). Features have already been pre-materialized to a local sqlite online store. The results of `feast registry-dump` have been thrown into [registry.json](../public/registry.json)
32
+
33
+
To query against this registry, you can use run the `test_get_features.py`
34
+
```bash
35
+
python test_get_features.py
36
+
```
37
+
38
+
Output:
39
+
```
40
+
--- Historical features (from saved dataset) ---
41
+
mortgage_due credit_card_due missed_payments_1y total_wages dob_ssn event_timestamp state tax_returns_filed location_type population city zipcode
0 commit comments