Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linkprediction_depo
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jacques Fize
linkprediction_depo
Commits
a365c7b9
Commit
a365c7b9
authored
4 years ago
by
Fize Jacques
Browse files
Options
Downloads
Patches
Plain Diff
Debug
parent
1881a56f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
evalNE_script.py
+2
-2
2 additions, 2 deletions
evalNE_script.py
with
2 additions
and
2 deletions
evalNE_script.py
+
2
−
2
View file @
a365c7b9
...
@@ -45,9 +45,9 @@ try:
...
@@ -45,9 +45,9 @@ try:
traintest_split
.
compute_splits
(
G
,
split_alg
=
"
spanning_tree
"
,
train_frac
=
args
.
train_frac
,
fe_ratio
=
1
)
traintest_split
.
compute_splits
(
G
,
split_alg
=
"
spanning_tree
"
,
train_frac
=
args
.
train_frac
,
fe_ratio
=
1
)
except
ValueError
:
except
ValueError
:
traintest_split
.
compute_splits
(
G
,
split_alg
=
"
fast
"
,
train_frac
=
args
.
train_frac
,
fe_ratio
=
1
)
traintest_split
.
compute_splits
(
G
,
split_alg
=
"
fast
"
,
train_frac
=
args
.
train_frac
,
fe_ratio
=
1
)
print
(
"
BEFORE
"
,
len
(
traintest_split
.
test_edges
))
log
(
"
BEFORE
"
+
str
(
len
(
traintest_split
.
test_edges
))
)
nee
=
LPEvaluator
(
traintest_split
)
nee
=
LPEvaluator
(
traintest_split
)
print
(
"
AFTER
"
,
len
(
traintest_split
.
test_edges
))
log
(
"
AFTER
"
+
str
(
len
(
traintest_split
.
test_edges
))
)
log
(
"
Dataset Built !
"
)
log
(
"
Dataset Built !
"
)
# Create a Scoresheet to store the results
# Create a Scoresheet to store the results
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment