Last active
September 30, 2019 15:24
-
-
Save mneedham/8f4b71e1477f5e714ff3c316351cf03a to your computer and use it in GitHub Desktop.
Importing Fashion MNIST
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WITH "https://gist.github.com/mneedham/49aa07b8842718f5101585777e306009/raw/80b9299b26e165acc38ed0d83c9ab44c7137da3b/small_export.csv" AS uri | |
CALL apoc.load.csv(uri, {header: false, sep: " "}) | |
YIELD lineNo, list | |
MERGE (item:MNISTItem {id: lineNo}) | |
ON CREATE | |
SET item.embedding = [item in list | apoc.convert.toFloat(item)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment