Giter Site home page Giter Site logo

add keywords to metadata about pmlb HOT 10 CLOSED

epistasislab avatar epistasislab commented on August 20, 2024 2
add keywords to metadata

from pmlb.

Comments (10)

trangdata avatar trangdata commented on August 20, 2024

I'm in favor of keywords but I'm not sure ACM CSS is an ideal ontology for datasets.

from pmlb.

lacava avatar lacava commented on August 20, 2024

Any idea what keyword ontologies are out there? I'm having trouble finding examples.

from pmlb.

lacava avatar lacava commented on August 20, 2024

added in PR #69 :)

from pmlb.

trangdata avatar trangdata commented on August 20, 2024

Hmm... I thought we added a keywords field to all auto-generated metadata.yaml files that haven't been manually modified.

But I don't see keywords, e.g., here.

from pmlb.

lacava avatar lacava commented on August 20, 2024

we haven't added keywords by default except to the template. i'm not sure how we would put them in auto-generated files? just have a blank entry?

from pmlb.

trangdata avatar trangdata commented on August 20, 2024

Oh I see. Hmm I was thinking like what you have in the template:

keywords:
  - keyword1
  - keyword2

from pmlb.

lacava avatar lacava commented on August 20, 2024

i don't think we should have dummy keywords appearing in the auto-generated files

from pmlb.

trangdata avatar trangdata commented on August 20, 2024

Perhaps keyword1 and keyword2 are not great place holders. Maybe needs_keyword or replace_me would work?

I think we need to make it as easy as possible for a contributor to come in with little knowledge of yaml and can still contribute. The contributor shouldn't have to come back to the template to find out what other fields are there to add. This will make the reviewer's job easier as well. I myself have missed this field most times when reviewing metadata files.

And having two place holders will also avoid a situation where keywords are put in as

keywords:
  - keyword1, keyword2

I'm happy to implement this. I feel like it's a case of practicality beats purity we have here.

from pmlb.

lacava avatar lacava commented on August 20, 2024

How about we add a line like

keywords: # descriptive terms for the dataset, each hyphenated on a new line (see metadata_template.yaml)

EDIT: I think we can use null to be read in as None in python

keywords: # descriptive terms for the dataset, each hyphenated on a new line (see metadata_template.yaml)
  - null # replace with keyword

from pmlb.

trangdata avatar trangdata commented on August 20, 2024

Addressed in #107.

from pmlb.

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.