Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lucas Miranda
deepOF
Commits
16a265ff
Commit
16a265ff
authored
Nov 20, 2020
by
lucas_miranda
Browse files
Refactored a bit the old visualization pipeline - added umap-learn to requirements
parent
305b1aba
Pipeline
#87271
passed with stage
in 21 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
examples/visualizations/train_viz_data_generator.py
View file @
16a265ff
...
...
@@ -426,7 +426,7 @@ for i in range(len(checkpoints) + 1):
else
:
encs
.
append
(
reducer
.
fit_transform
(
predictions
[
i
]))
else
:
if
red
==
"LDA"
:
if
red
==
"LDA"
or
red
==
"umap"
:
encs
.
append
(
reducer
.
fit_transform
(
predictions
[
i
],
np
.
argmax
(
clusters
[
i
-
1
],
axis
=
1
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment