Skip to content

Instantly share code, notes, and snippets.

@PMeinshausen
Created September 18, 2014 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PMeinshausen/1c4f9b8cba052c42bee7 to your computer and use it in GitHub Desktop.
Save PMeinshausen/1c4f9b8cba052c42bee7 to your computer and use it in GitHub Desktop.
--Syntax (version 1.1)
SELECT * FROM Pca_Reduce(
ON Pca_Map(
ON target_table
[TARGET_COLUMNS(target_columns)]
) PARTITION BY 1
[COMPONENTS(num_components)]
) ORDER BY component_rank;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment