Skip to content

what does the training parameter off hoprec #34

@ghost

Description

set -x
Threads=32

# download youtube-links dataset
zipfile="youtube-links.txt.gz"
if test -e "$zipfile";
then
    echo 'zip file exists'
else
    wget http://socialnetworks.mpi-sws.mpg.de/data/youtube-links.txt.gz
fi

# generate the network
zcat youtube-links.txt.gz | awk -F '    ' '{print $1" "$2" 1"}' > net.txt

# run the comment
../cli/hoprec -train net.txt -save rep_dw.txt -undirected 1 -dimensions 64 -walk_times 1 -walk_steps 40 -window_size 5 -negative_samples 5 -alpha 0.025 -threads $Threads

I use this script to test the hoprec algorithm, but it raise the error

Connections Preview:
	# of connection:	4945382
Connections Loading:
	Progress:		100.00 %
	# of vertex:		1138499
Build the Alias Method:
	Reconstructing Graph ...
	Building Alias Tables ...
	Finished.
Meta Data Preview:
train_youtube.sh: line 17: 208217 段错误               ../cli/hoprec -train net.txt -save rep_dw.txt -undirected 1 -dimensions 64 -walk_times 1 -walk_steps 40 -window_size 5 -negative_samples 5 -alpha 0.025 -threads $Threads

Did I use the wrong parameter, looking forward to your help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions