Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RAISS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Statistical-Genetics
RAISS
Commits
6f7622ee
Commit
6f7622ee
authored
Jan 07, 2021
by
Hanna JULIENNE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug print
parent
b3826dc8
Pipeline
#44865
passed with stages
in 1 minute and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
raiss/stat_models.py
raiss/stat_models.py
+7
-1
No files found.
raiss/stat_models.py
View file @
6f7622ee
...
...
@@ -53,7 +53,13 @@ def compute_var(sig_i_t, sig_t_inv, lamb, batch=True):
return
var
,
ld_score
def
check_inversion
(
sig_t
,
sig_t_inv
):
print
(
"sig_t"
)
print
(
sig_t
)
print
(
np
.
any
(
np
.
isnan
(
sig_t
)))
print
(
"sig_t_inv"
)
print
(
sig_t_inv
)
print
(
"has na"
)
print
(
np
.
any
(
np
.
isnan
(
sig_t_inv
)))
return
np
.
allclose
(
sig_t
,
np
.
dot
(
sig_t
,
np
.
dot
(
sig_t_inv
,
sig_t
)))
def
var_in_boundaries
(
var
,
lamb
):
...
...
Write
Preview
Markdown
is supported
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