fix housing download
This commit is contained in:
parent
f9e9710446
commit
d6cb9f055d
|
@ -50,7 +50,7 @@ function load()
|
|||
isfile(deps("housing.data")) && return
|
||||
|
||||
@info "Downloading the Boston housing Dataset"
|
||||
download_and_verify("$(cache_prefix)https://archive.ics.uci.edu/ml/machine-learning-databases/housing/housing.data",
|
||||
download_and_verify("$(cache_prefix)http://archive.ics.uci.edu/ml/machine-learning-databases/housing/housing.data",
|
||||
deps("housing.data"),
|
||||
"baadf72995725d76efe787b664e1f083388c79ba21ef9a7990d87f774184735a")
|
||||
|
||||
|
|
|
@ -78,9 +78,9 @@ end
|
|||
|
||||
|
||||
@testset "Housing" begin
|
||||
@test_broken Housing.features() isa Matrix # test broken due to SSL certifate expiration problem
|
||||
@test_broken size(Housing.features()) == (506, 13)
|
||||
@test Housing.features() isa Matrix # test broken due to SSL certifate expiration problem
|
||||
@test size(Housing.features()) == (506, 13)
|
||||
|
||||
@test_broken Housing.targets() isa Array{Float64}
|
||||
@test_broken size(Housing.targets()) == (506, 1)
|
||||
@test Housing.targets() isa Array{Float64}
|
||||
@test size(Housing.targets()) == (506, 1)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue