redisventures / redis-feast-ray Goto Github PK
View Code? Open in Web Editor NEWA demo pipeline of using Redis as an online feature store with Feast for orchestration and Ray for training and model serving
A demo pipeline of using Redis as an online feature store with Feast for orchestration and Ray for training and model serving
Hi I am trying to setup the project on Ubuntu 20.04.5 LTS. But the python libraries have a clash.
Setup:
Python 3.8.10
"Ubuntu" "20.04.5 LTS (Focal Fossa)"
Issue 1: Feast 0.24 is no longer compatible with this repo. I had to use feast==0.23.2
for init-fs
and test-fs
to work
Issue 2: When running make train
I get the following error.
~/ray-feast/feature_repo# make train
predictions: [9.8514730e-01 4.2677217e-04 1.4235990e-04 ... 1.6891042e-03 8.4638423e-01
9.9973881e-04]
Numpy array precision: 1.0
Traceback (most recent call last):
File "train.py", line 173, in <module>
result = round(xgboost_cls.predict(loan_request))
File "train.py", line 121, in predict
data = xgb.DMatrix(data=features_df, enable_categorical=True)
File "/root/ray-feast/venv/lib/python3.8/site-packages/xgboost/core.py", line 575, in inner_f
return f(**kwargs)
File "/root/ray-feast/venv/lib/python3.8/site-packages/xgboost/core.py", line 686, in __init__
handle, feature_names, feature_types = dispatch_data_backend(
File "/root/ray-feast/venv/lib/python3.8/site-packages/xgboost/data.py", line 889, in dispatch_data_backend
return _from_pandas_df(data, enable_categorical, missing, threads,
File "/root/ray-feast/venv/lib/python3.8/site-packages/xgboost/data.py", line 344, in _from_pandas_df
data, feature_names, feature_types = _transform_pandas_df(
File "/root/ray-feast/venv/lib/python3.8/site-packages/xgboost/data.py", line 282, in _transform_pandas_df
_invalid_dataframe_dtype(data)
File "/root/ray-feast/venv/lib/python3.8/site-packages/xgboost/data.py", line 246, in _invalid_dataframe_dtype
raise ValueError(msg)
ValueError: DataFrame.dtypes for data must be int, float, bool or category. When
categorical type is supplied, DMatrix parameter `enable_categorical` must
be set to `True`. Invalid columns:bankruptcies, credit_card_due, hard_pulls, missed_payments_1y, missed_payments_2y, missed_payments_6m, mortgage_due, student_loan_due, vehicle_loan_due
make: *** [Makefile:39: train] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.