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

Update dependencies #68

Merged
merged 1 commit into from
Sep 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
PDMats = "0.9"
StatsBase = "0.32"
PDMats = "0.10"
StatsBase = "0.33"
SpecialFunctions = "0.10"
FileIO = "1.2"
Clustering = "0.13"
Clustering = "0.14"
RDatasets = "0.6"
ScikitLearnBase = "0.5"
Compat = "3.6"
Distributions = "0.22"
Distributions = "0.23"
Arpack = "0.4"
JLD2 = "0.1"
JLD2 = "0.2"
2 changes: 1 addition & 1 deletion src/data.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function _size(file::AbstractString)
end

## courtesy compatible save for a matrix
function JLD2.save(file::AbstractString, x::Matrix)
function FileIO.save(file::AbstractString, x::Matrix)
save(file,"data", x)
end

Expand Down
4 changes: 2 additions & 2 deletions src/io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
## This code is for exchange with our octave / matlab based system

## save a single GMM
function JLD2.save(filename::AbstractString, name::AbstractString, gmm::GMM)
function FileIO.save(filename::AbstractString, name::AbstractString, gmm::GMM)
jldopen(filename, "w") do file
# addrequire(file, GaussianMixtures)
write(file, name, gmm)
end
end
## save multiple GMMs
function JLD2.save(filename::AbstractString, name::AbstractString, gmms::Array{GMM})
function FileIO.save(filename::AbstractString, name::AbstractString, gmms::Array{GMM})
jldopen(filename, "w") do file
# addrequire(file, GaussianMixtures)
write(file, name, gmms)
Expand Down