w3c / machine-learning-charter

Discussions on a possible charter for a future W3C Working Group developing Machine Learning solutions
https://w3c.github.io/machine-learning-charter/charter.html
9 stars 3 forks source link

Descriptive input formats for building graphs? #26

Open zolkis opened 1 year ago

zolkis commented 1 year ago

I wonder if the WG has discussed and rejected defining descriptive input (e.g. JSON, JSON-LD) for building graphs.

Currently compute graphs are built programmatically, but using dictionary options. Taking that a bit further, an alternative could be adding generic ops (ops as string enum parameters) with input and output descriptions, options etc, that are specified in a dictionary (and serialized as JSON/-LD) and fed to a builder method.

That would allow e.g. prior transformations based on client needs. The code would look similar, just more dictionaries and less method calls.

anssiko commented 1 year ago

This proposal is a good candidate for https://github.com/webmachinelearning/proposals

@zolkis please feel free to add a new proposal there. The path is: proposals -> CG -> WG.