Skip to content

Allow JSON construction of params #165

Closed
@montanalow

Description

@montanalow

PostgresML instantiates algorithm params from JSON passed in at runtime. This isn't quite the same as serde deserialization, since the JSON params may be incomplete, and the missing ones will be filled in by Default::default(). We're currently adding this functionality downstream, but wondered if you'd be interested in adopting this upstream as well.

An example is in this PR https://github.com/postgresml/postgresml/pull/332/files#diff-a1bcda73e2901512a661eebf9e868be4f33dd99ac4952a85957397a860ec2035

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions