Coder Social home page Coder Social logo

fpmc's People

Stargazers

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

Watchers

 avatar  avatar  avatar

fpmc's Issues

Baskets with multiple items

If I have baskets with multiple items, what is the best way to represent this for input? For example, Figure 1 from the FPMC paper, I'd like to input User 1 (below).

image

Would that input look like:

1 a b a
1 a b b
1 a c a
1 a c b
1 b b a
1 b b b
...etc

In other words, every combination of the transition items in the baskets.

About ACC

Hello author, When I ran this code, why the ACC is always equal to zero?

Prediction

How to perform prediction for each user?

Thank you

Hello,

Thank you for putting together this implementation from the paper. I had a couple of questions if you'd be open to answering them.

  1. Data Structure --> for the 'idxseq.txt' file, could you please better describe what this represents? The last product_index is the last "item" in that basket? Is each row a separate order for a specific customer in sequential order?

  2. Prediction Output --> I noticed the run.py runs through and outputs an "evaluation". Is there a method to get prediction outputs per customer?

Thank you

Any distribution license?

Hello,

I'd like to use your FPMC implementation in a commercial project. Is there any license, which determines copyrights for this repository? If not (at least I didn't find it in repo), could you please add it?

Thanks

Possible changes in the load_data_from_dir function

Hi Chi-Ruei Li,

thanks for the amazing implementation of the paper!

In the function load_data_from_dir in utils.py you use:
b_tm1 = list(set(l[1:-1]))
using a set you change the order of the sequence, additionally you remove repetition of the items.

I would instead use
b_tm1 = np.asarray(l)[1:-1].tolist()

What are your thoughts on this?

Thanks,

Giuseppina

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.