-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
51 additions
and
68 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Run tests | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
julia-version: ['1.8'] | ||
julia-arch: [x64] | ||
os: [ubuntu-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/[email protected] | ||
with: | ||
version: ${{ matrix.julia-version }} | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- uses: julia-actions/julia-runtest@v1 | ||
|
||
- uses: julia-actions/julia-processcoverage@v1 | ||
|
||
- uses: codecov/codecov-action@v3 | ||
with: | ||
files: ./coverage1.xml,./coverage2.xml,./lcov.info # optional | ||
flags: unittests # optional | ||
name: codecov-umbrella # optional |
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,28 +1,28 @@ | ||
[![Run tests](https://github.com/aicenter/SumProductSet.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/aicenter/SumProductSet.jl/actions/workflows/ci.yml) | ||
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) | ||
# SumProductSet.jl | ||
|
||
is package for probailistic learning of hierarchicaly structured heterogeneous data based on SumProduct networks. The package extends standard SumProduct networks by introducing new type of model node and implementing rules for building models over aforementioned data. It is based on [SumProductTransform.jl](https://github.com/pevnak/SumProductTransform.jl) package. The package [Mill.jl](https://github.com/CTUAvastLab/Mill.jl) is used as a framework that unifies accepted data format. | ||
|
||
|
||
is a package for probabilistic learning of tree-structured, heterogeneous graph data based on sum-product networks. The package extends the standard sum-product networks by introducing a novel computational node---the set node---and creating model-builders for the networks. The implementation follows the methodology of the [SumProductTransform.jl](https://github.com/pevnak/SumProductTransform.jl) package. The package [Mill.jl](https://github.com/CTUAvastLab/Mill.jl) is utilized to process tree-structured graphs embodied by the JSON format. | ||
|
||
To reproduce this project, do the following: | ||
|
||
1. Download this code base repository. | ||
2. Open a Julia (preferably Julia 1.8) console and type: | ||
1. Download this repository. | ||
2. Open the Julia (preferably Julia 1.8) console and type: | ||
```julia | ||
using Pkg | ||
Pkg.activate("path/to/the/project") | ||
Pkg.instantiate() | ||
``` | ||
This will download and install all necessary packages defined in project environment for you. | ||
These commands will download and install all necessary packages defined in the project environment. | ||
3. Use the package: | ||
``` julia | ||
using SumProductSet | ||
|
||
``` | ||
|
||
Basic examples are shown in [examples](https://github.com/aicenter/SumProductSet.jl/tree/dev/examples) folder. Examples that require externel libraries | ||
not included in SumProductSet.jl package have separate environment. | ||
Basic examples are in the [examples](https://github.com/aicenter/SumProductSet.jl/tree/dev/examples) folder. Examples requiring libraries that are | ||
not included in SumProductSet.jl package have a separate environment. | ||
|
||
## Note | ||
Importing Mill.jl or Distribution.jl is prefered to `using` these packages since it does not create ambiguity between the packages and SumProductSet.jl | ||
Adopting `import` Mill.jl or Distribution.jl is preferred to `using`, since it does not create ambiguity between these packages and the SumProductSet.jl | ||
package. |
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
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 |
---|---|---|
|
@@ -436,4 +436,4 @@ | |
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 5 | ||
} | ||
} |
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
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
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