Giter Club home page Giter Club logo

Comments (12)

hwwang55 avatar hwwang55 commented on September 3, 2024

Hi! I think you can first have a check that if every movie in MovieLens-100k shows up in the kg.txt file. You may delete movies that are not contained in kg.txt from MovieLens-100k for simplicity. Otherwise, you may resort to other open source knowledge graphs to extract triplets for these missing movies.

from kgcn.

shanthansuresh avatar shanthansuresh commented on September 3, 2024

Hi,
Thanks for the quick response. Do you mind suggesting some open source reference to create the KG.

from kgcn.

Amy-hh-711 avatar Amy-hh-711 commented on September 3, 2024

Do you know how to create kg.txt?Can you share it with me?

from kgcn.

rituk avatar rituk commented on September 3, 2024

@hwwang55 can you provide steps on how to create a kg file for a new dataset instead of movie or music data? I tried but keep getting errors.

from kgcn.

hwwang55 avatar hwwang55 commented on September 3, 2024

Hi there, what type of datasets are you working on?

from kgcn.

rituk avatar rituk commented on September 3, 2024

It's a dataset similar to movie dataset with user, article, rating, timestamp format. I am creating the kg to use for another algo test. They published the paper using the output of your data it seems.

from kgcn.

hwwang55 avatar hwwang55 commented on September 3, 2024

you need to find a KG that matches the items in your dataset, and then do the linking between entities and items.

from kgcn.

rituk avatar rituk commented on September 3, 2024

What if I want to create a kg myself? Does your code expect to have each item exist in the kg.txt?

from kgcn.

hwwang55 avatar hwwang55 commented on September 3, 2024

Do you have the information to construct a KG for items? KG contains factual knowledge so it cannot be "created" but only "extracted" from available source of information. For example, you have the attributes of items, and these attributes can be connected to each other. Or, you have some natural texts describing these items, so you can use information extraction (IE) tools to extract a KG for these items.

from kgcn.

rituk avatar rituk commented on September 3, 2024

Yes, I do have info like article, specialty, lead-concept etc.

from kgcn.

hwwang55 avatar hwwang55 commented on September 3, 2024

You need to extract information from articles, and see if the specialty and lead concept information you mentioned can form a graph. How to construct a KG is beyond the scope of this work, especially when you want to construct a KG from text. This is more on the NLP side.

from kgcn.

rituk avatar rituk commented on September 3, 2024

Thank you, your tips helped me solve the issue. I am implementing CG-KGR algo with custom data.

from kgcn.

Related Issues (20)

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.