Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Julia 0.7+ (updated installation instruction) #9

Merged
merged 58 commits into from
Jan 31, 2019
Merged
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
34ce962
fixed deprecation warnings after running test
juhkim111 Jan 4, 2019
6c42ce5
replace A_mul_B! with mul!
juhkim111 Jan 4, 2019
b3eb783
replace A_mul_B! and eye(n)
juhkim111 Jan 6, 2019
cdaa15b
replace some rmul! with lmul!
juhkim111 Jan 6, 2019
58bb81e
avoid conflict with gradient function in LinearAlgebra
juhkim111 Jan 6, 2019
166d20b
minor edits
juhkim111 Jan 6, 2019
03d494f
replace LinAlg with LinearAlgebra; remove Compat
juhkim111 Jan 8, 2019
e3db83a
avoid calling TwoVarCompVariateRotate for its own type by spliting Un…
juhkim111 Jan 8, 2019
95b37bb
replace Tuple to match with ind2sub output
juhkim111 Jan 9, 2019
1cd5d0f
replace scale! and eigfact!
juhkim111 Jan 9, 2019
6e1a2ac
Create Project.toml describing metadata about the project
juhkim111 Jan 10, 2019
a8afd5b
delete REQUIRE for updating to 0.7
juhkim111 Jan 10, 2019
c81c85f
switch to html format
juhkim111 Jan 10, 2019
36f7938
remove mkdocs.yml
juhkim111 Jan 10, 2019
6305f86
update travis to allow julia 0.7, 1.0
juhkim111 Jan 10, 2019
29f7b1d
currently fit_reml! returning 4 values; otherwise segmentation fault
juhkim111 Jan 10, 2019
ac80972
fit_reml! returns 4 values instead of 6
juhkim111 Jan 10, 2019
5860e53
fix deprecation warning
juhkim111 Jan 10, 2019
a3f1e53
remove println
juhkim111 Jan 10, 2019
d1bdb47
fix fit_reml! to return 6 values as before
juhkim111 Jan 11, 2019
b0b0412
fix fit_reml to return 6 values as before
juhkim111 Jan 11, 2019
4379221
delete REQUIRE from test folder
juhkim111 Jan 11, 2019
5eab666
use packages only at testing time but not enforce a dependency on them
juhkim111 Jan 11, 2019
6590766
remove comments
juhkim111 Jan 11, 2019
40e2db7
remove comments
juhkim111 Jan 11, 2019
6f5e061
remove comments
juhkim111 Jan 11, 2019
7d92f86
update version number
juhkim111 Jan 11, 2019
7493c39
add pages
juhkim111 Jan 11, 2019
dbcd11a
comment out before_script
juhkim111 Jan 16, 2019
637bb16
add more tests for fisher_B!
juhkim111 Jan 18, 2019
56844f3
minor edits on fisher_B testing
juhkim111 Jan 18, 2019
fdd238c
update appveyor
juhkim111 Jan 18, 2019
d7d40d3
edit build_script
juhkim111 Jan 18, 2019
b8df3d6
add test functions for gradient! and fisher_B!
juhkim111 Jan 18, 2019
a2325f9
add extra testing functions for fisher_Σ!
juhkim111 Jan 19, 2019
cc6e70d
create extra constructors
juhkim111 Jan 19, 2019
56862c7
condense fisher_B! and fisher_B
juhkim111 Jan 19, 2019
61470b8
delete comments
juhkim111 Jan 19, 2019
692607d
add testing for trilind
juhkim111 Jan 19, 2019
8ca1413
update installation instruction
juhkim111 Jan 22, 2019
20fcad1
Merge branch 'Julia-0.7' into julia-0.7
juhkim111 Jan 22, 2019
dbaec64
minor edit
juhkim111 Jan 22, 2019
ee716d6
Merge branch 'julia-0.7' of https://github.com/juhkim111/VarianceComp…
juhkim111 Jan 22, 2019
8c72430
update installation instruction
juhkim111 Jan 22, 2019
dea0194
update to v0.7
juhkim111 Jan 22, 2019
cfb460d
partial update after obtaining data files
juhkim111 Jan 23, 2019
d44d13d
update chunks for cg10k.txt
juhkim111 Jan 26, 2019
c6d35e3
update with JLD2 package
juhkim111 Jan 30, 2019
8e17712
remove .ipynb files using julia v0.6
juhkim111 Jan 30, 2019
9f34a73
update save analysis results chunk
juhkim111 Jan 30, 2019
8a310f8
rename .ipynb files
juhkim111 Jan 30, 2019
d9cedc2
update md files to v0.7
juhkim111 Jan 30, 2019
e5685a1
initial commit for ipynb with v1.1
juhkim111 Jan 30, 2019
b22621c
update to v1.1
juhkim111 Jan 31, 2019
c94017a
rename figures
juhkim111 Jan 31, 2019
729a9ec
update to v1.1
juhkim111 Jan 31, 2019
d8009ea
delete v.7 ipynb
juhkim111 Jan 31, 2019
d1f2430
rename files
juhkim111 Jan 31, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add test functions for gradient! and fisher_B!
  • Loading branch information
juhkim111 committed Jan 18, 2019
commit b8df3d6ea3d1ec6624b2bc89357b9e07e52216dd
10 changes: 10 additions & 0 deletions test/two_variance_component_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ vcmodelrot = TwoVarCompModelRotate(vcmodel)
∇ = zeros(2d^2)
#@code_warntype gradient!(∇, vcmodelrot, vcdatarot)
@inferred VarianceComponentModels.gradient!(∇, vcmodelrot, vcdatarot)
@inferred VarianceComponentModels.gradient!(∇, vcmodel, vcdatarot)
@inferred VarianceComponentModels.gradient!(∇, vcmodel, vcdata)
@test norm(VarianceComponentModels.gradient(vcmodel, vcdata) -
VarianceComponentModels.gradient(vcmodelrot, vcdatarot)) ≈ 0.0
@test norm(VarianceComponentModels.gradient(vcmodel, vcdata) -
Expand All @@ -75,9 +77,17 @@ H = zeros(2d^2, 2d^2)
@info "Evaluate Fisher information matrix of B"
H = zeros(p * d, p * d)
#@code_warntype fisher_B!(H, vcmodelrot, vcdatarot)
# @inferred VarianceComponentVariate(Y, X, V)
# vcdata = VarianceComponentVariate(Y, X, V)
# vcmodel = VarianceComponentModel(vcdata)

# @info "Pre-compute eigen-decomposition and rotate data"
# vcdatarot = TwoVarCompVariateRotate(vcdata)
# vcmodelrot = TwoVarCompModelRotate(vcmodel)

@inferred fisher_B!(H, vcmodelrot, vcdatarot)
@inferred fisher_B!(H, vcmodel, vcdatarot)
@inferred fisher_B!(H, vcmodel, vcdata)
@test norm(fisher_B(vcmodel, vcdata) - fisher_B(vcmodelrot, vcdatarot)) ≈ 0.0
@test norm(fisher_B(vcmodel, vcdata) - fisher_B(vcmodel, vcdatarot)) ≈ 0.0
@test norm(fisher_B(vcmodel, [vcdata vcdata]) -
Expand Down