Giter Site home page Giter Site logo

joseprsm / rexify Goto Github PK

View Code? Open in Web Editor NEW
18.0 3.0 2.0 489 KB

๐Ÿฆ– Streamlined Recommender Systems with TensorFlow and KubeFlow

License: MIT License

Python 99.55% Dockerfile 0.45%
tensorflow-recommenders recommender-system rexify tensorflow kubeflow kubeflow-pipelines

rexify's Introduction

rexify's People

Contributors

joseprsm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rexify's Issues

Create Schema dataclass

Move validations from the HasSchemaInput class to a Schema dataclass.

Tasks

  • Schema dataclass
  • create dataclass for user and items
  • validate inputs (must have id field for users and items, for example)
  • validate event types
  • validate rating features

Ranking Model

  • Update EventEncoder to explode events to columns
  • Replace single EventModel and it's Softmax activation by multiple models with Sigmoid activation

Kubeflow Pipelines

  • kfp components
    • download component
    • transform component
    • train component
    • deploy component

KServe

Serve index models with KServe.

User Session Lookup

Based on a window_size, extract the most recent session history for a given user_id.

Checklist

  • input is a tf.Tensor of user ids
  • output is a tf.Tensor of a list with the last n items user_id interacted with
    • output must be the most recent (aka the last) items, users interacted with
  • add attributes to Sequencer to pass data to SessionLookup
  • override lookup during inference

Refactor FeatureExtractor

Tasks

  • include _EventGenerator in FeatureExtractor
  • pass custom transformations
    • create CustomTransformer class
      • feature name must be included in init
      • complements transformations from schema
    • create same base class for current transformers

Create single preprocessing pipeline

Join user, item and event preprocessing pipelines (FeatureExtractors, EventGenerator) in a single one.

Tasks

  • Refactor FeatureExtractor
  • Pass user and item data to EventGenerator
    • as pandas.DataFrames; or
    • as paths (need to specify something like load_fn=pd.read_csv)
  • Should be able to access each (user, item) IdEncoders

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.