Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
paper-2023-data-driven-kernel-designs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
pub
ians-anm
paper-2023-data-driven-kernel-designs
Commits
b3d16d72
Commit
b3d16d72
authored
1 year ago
by
Tizian Wenzel
Browse files
Options
Downloads
Patches
Plain Diff
Some more updates.
parent
79dc4c87
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
section_4.1_compute_visualize.py
+4
-1
4 additions, 1 deletion
section_4.1_compute_visualize.py
setup.sh
+2
-2
2 additions, 2 deletions
setup.sh
with
6 additions
and
3 deletions
section_4.1_compute_visualize.py
+
4
−
1
View file @
b3d16d72
...
@@ -12,6 +12,7 @@ import numpy as np
...
@@ -12,6 +12,7 @@ import numpy as np
from
matplotlib
import
pyplot
as
plt
from
matplotlib
import
pyplot
as
plt
from
scipy
import
io
from
scipy
import
io
import
os
import
os
import
matplotlib
np
.
random
.
seed
(
1
)
np
.
random
.
seed
(
1
)
...
@@ -70,6 +71,8 @@ io.savemat(path_for_results + name_dataset + '.mat',
...
@@ -70,6 +71,8 @@ io.savemat(path_for_results + name_dataset + '.mat',
## Some plots
## Some plots
matplotlib
.
use
(
'
TKAgg
'
)
R
=
np
.
linspace
(
0
,
1
,
int
(
1.5
*
array_cv_f
.
shape
[
1
]))
R
=
np
.
linspace
(
0
,
1
,
int
(
1.5
*
array_cv_f
.
shape
[
1
]))
array_color
=
plt
.
cm
.
hsv
(
R
)
array_color
=
plt
.
cm
.
hsv
(
R
)
...
@@ -103,7 +106,7 @@ plt.legend(list_legend + ['A[0,1]', 'A[1,0]'])
...
@@ -103,7 +106,7 @@ plt.legend(list_legend + ['A[0,1]', 'A[1,0]'])
plt
.
title
(
'
matrix entries
'
)
plt
.
title
(
'
matrix entries
'
)
plt
.
xscale
(
'
log
'
)
plt
.
xscale
(
'
log
'
)
plt
.
xlabel
(
'
iterations
'
)
plt
.
xlabel
(
'
iterations
'
)
plt
.
dra
w
()
plt
.
sho
w
()
This diff is collapsed.
Click to expand it.
setup.sh
+
2
−
2
View file @
b3d16d72
...
@@ -16,8 +16,8 @@ source venv/bin/activate
...
@@ -16,8 +16,8 @@ source venv/bin/activate
pip
install
--upgrade
pip
pip
install
--upgrade
pip
pip3
install
--ignore-installed
torch
==
1.9.1+cpu
torchvision
==
0.10.1+cpu
torchaudio
==
0.9.1
-f
https://download.pytorch.org/whl/torch_stable.html
pip3
install
--ignore-installed
torch
==
1.9.1+cpu
torchvision
==
0.10.1+cpu
torchaudio
==
0.9.1
-f
https://download.pytorch.org/whl/torch_stable.html
scipy
==
1.7.3
pip3
install
scipy
==
1.7.3
sk
learn
==
0
.0.
post5
pip3
install
scikit-
learn
==
1
.0.
2
# Install further stuff
# Install further stuff
...
...
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