Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Preprocessing Data - PostgresML#547

Discussion options

Preprocessing Data - PostgresML

Train and deploy models to make online predictions using only SQL, with an open source Postgres extension.

https://postgresml.org/user_guides/training/preprocessing/

You must be logged in to vote

Replies: 1 comment

Comment options

From what I tried this should be adjusted so that scale is "scale" in every lane and to separate each argument for preprocess with ,

SELECT pgml.train(
project_name => 'preprocessed_model',
task => 'classification',
relation_name => 'weather_data',
target => 'rain',
preprocess => '{
"month": {"encode": {"ordinal": ["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"]}}
"clouds": {"encode": "target", scale: "standard"}
"humidity": {"impute": "mean", scale: "standard"}
"temp": {"scale": "standard"}
}'
);

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
1 participant
@dusanmarjanovic

[8]ページ先頭

©2009-2025 Movatter.jp