Skip to content

Conversation

levkk
Copy link
Contributor

@levkk levkk commented Sep 20, 2022

No description provided.

@@ -81,7 +81,7 @@ CREATE TABLE IF NOT EXISTS pgml_rust.models(
hyperparams JSONB NOT NULL,
status TEXT NOT NULL,
metrics JSONB,
search pgml_rust.search,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should stay as an enum value, you can convert to_string() in the call to scikit.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That doesn't work, it gives me an error about not finding the type. I don't know why but enums are a pain.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other enums work, you just have to cast to TEXT on the in and out. We don't have the OID for them AFAIK, although pgx might know better.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably the nullable property that's causing this then.

@levkk levkk merged commit aebd36d into master Sep 20, 2022
@levkk levkk deleted the levkk-sklearn-hyp branch September 20, 2022 22:58
SilasMarvin pushed a commit that referenced this pull request Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy