-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Clean up repo to run on 0.5 * Forgot some Compat * Forgot to modify the runtests path * Fixed reshaping issue * Introduce dependency on StatsBase for maxad * Okay, not just for maxad * 0.4 doesn't like array dims as tuples I guess * Add status badges to the readme
- Loading branch information
Showing
17 changed files
with
147 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
language: cpp | ||
compiler: | ||
- clang | ||
# Documentation: http://docs.travis-ci.com/user/languages/julia/ | ||
language: julia | ||
os: | ||
- linux | ||
julia: | ||
- 0.3 | ||
- 0.4 | ||
- 0.5 | ||
- nightly | ||
notifications: | ||
email: false | ||
env: | ||
matrix: | ||
- JULIAVERSION="juliareleases" | ||
- JULIAVERSION="julianightlies" | ||
before_install: | ||
- sudo add-apt-repository ppa:staticfloat/julia-deps -y | ||
- sudo add-apt-repository ppa:staticfloat/${JULIAVERSION} -y | ||
- sudo apt-get update -qq -y | ||
- sudo apt-get install libpcre3-dev julia -y | ||
script: | ||
- julia -e 'Pkg.init(); run(`ln -s $(pwd()) $(Pkg.dir("NMF"))`); Pkg.pin("NMF"); Pkg.resolve()' | ||
- julia ./runtests.jl | ||
# uncomment the following lines to override the default test script | ||
#script: | ||
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi | ||
# - julia -e 'Pkg.clone(pwd()); Pkg.build("NMF"); Pkg.test("NMF"; coverage=true)' | ||
after_success: | ||
- julia -e 'cd(Pkg.dir("NMF")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
julia 0.3- | ||
MLBase 0.3- | ||
ArrayViews 0.4.8- | ||
julia 0.3 | ||
Compat 0.8.0 | ||
StatsBase |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
module NMF | ||
using Compat | ||
using StatsBase | ||
|
||
using ArrayViews | ||
using MLBase | ||
import Compat: view | ||
import Base: sum! | ||
|
||
export nnmf | ||
|
||
include("common.jl") | ||
include("utils.jl") | ||
|
||
include("initialization.jl") | ||
include("multupd.jl") | ||
include("projals.jl") | ||
include("alspgrad.jl") | ||
|
||
include("interf.jl") | ||
|
||
end # module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.