Created
November 30, 2018 16:52
-
-
Save CharlesHD/2dc375b7c0cfda4656cc1d0de915f055 to your computer and use it in GitHub Desktop.
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
chu.trajectory-call.db> pb1 | |
{:simopts | |
{:name "w2v", | |
:config | |
{:min-word-frequency 5, | |
:layer-size 20, | |
:window-size 5, | |
:seed 42, | |
:iterations 10, | |
:stop-words []}}, | |
:trajopts | |
{:numvec "tail-parent", | |
:comb-1 "average", | |
:comb-2 "average", | |
:keep? false, | |
:quantity-thresh 20, | |
:quality-thresh 0.78}} | |
chu.trajectory-call.db> pb2 | |
{:simopts | |
{:config | |
{:min-word-frequency 5, | |
:window-size 5, | |
:layer-size 20, | |
:seed 42, | |
:stop-words [], | |
:iterations 10}, | |
:name "w2v"}, | |
:trajopts | |
{:numvec "tail-parent", | |
:comb-2 "average", | |
:keep? false, | |
:quality-thresh 0.78, | |
:quantity-thresh 20, | |
:comb-1 "average"}} | |
chu.trajectory-call.db> (mc/count db "trajectory" pb1) | |
3 | |
chu.trajectory-call.db> (mc/count db "trajectory" pb2) | |
0 | |
chu.trajectory-call.db> (monger.conversion/to-db-object pb1) | |
{"simopts" {"name" "w2v", "config" {"min-word-frequency" 5, "layer-size" 20, "window-size" 5, "seed" 42, "iterations" 10, "stop-words" ()}}, "trajopts" {"numvec" "tail-parent", "comb-1" "average", "comb-2" "average", "keep?" false, "quantity-thresh" 20, "quality-thresh" 0.78}} | |
chu.trajectory-call.db> (monger.conversion/to-db-object pb2) | |
{"simopts" {"config" {"min-word-frequency" 5, "window-size" 5, "layer-size" 20, "seed" 42, "stop-words" (), "iterations" 10}, "name" "w2v"}, "trajopts" {"numvec" "tail-parent", "comb-2" "average", "keep?" false, "quality-thresh" 0.78, "quantity-thresh" 20, "comb-1" "average"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment