Giter Club home page Giter Club logo

redis-feast-ray's People

Contributors

spartee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

redis-feast-ray's Issues

Old libraries in requirements

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.