From dc47b4ac5469617b14216189d02f27b11065a292 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Fri, 11 Jun 2021 14:10:52 +1200 Subject: [PATCH 1/7] add coveralls --- .github/workflows/CI.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0488b8a..4ac7426 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,15 +1,11 @@ name: CI on: - pull_request: - branches: - - master - - dev push: - branches: - - master - - dev - tags: '*' + branches: "dev" + tags: ["*"] + pull_request: + release: jobs: test: @@ -45,5 +41,10 @@ jobs: ${{ runner.os }}-test-${{ env.cache-name }}- ${{ runner.os }}-test- ${{ runner.os }}- - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 + - uses: julia-actions/julia-buildpkg@latest + - uses: julia-actions/julia-runtest@latest + - uses: julia-actions/julia-uploadcodecov@v0.1 + continue-on-error: true + - uses: julia-actions/julia-uploadcoveralls@v0.1 + continue-on-error: true + From 8b98f3311a03a1996d310c486e77687542da959b Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Fri, 11 Jun 2021 14:27:03 +1200 Subject: [PATCH 2/7] add readme --- README.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..64a132a --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +# MLJEnsembles.jl + +| Linux | Coverage | +| :-----------: | :------: | +| [![Build status](https://github.com/JuliaAI/MLJEnsembles.jl/workflows/CI/badge.svg)](https://github.com/JuliaAI/MLJEnsembles.jl/actions)| [![codecov.io](http://codecov.io/github/JuliaAI/MLJEnsembles.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaAI/MLJEnsembles.jl?branch=master) | + +A package allowing one to a create a bagged homogeneous ensemble of +machine learning models using the +[MLJ](https://alan-turing-institute.github.io/MLJ.jl/dev/) machine +learning framework. + + +## Installation + +No installation is necessary when using MLJ: + +```julia +using Pkg +using MLJ +``` + +For a minimal installation: + +```julia +using Pkg +Pkg.add("MLJBase") +Pkg.add("MLJEnsembles") +``` + +In this case you will also need to load code definining an atomic +model to ensemble. The easiest way to do this is run +`Pkg.add(MLJModels)` and use the `@load` macro. See the [Loading +Model +Code](https://alan-turing-institute.github.io/MLJ.jl/dev/loading_model_code/) +of the MLJ manual for this and other possibilities. + + +## Sample usage + +See [Data Science Tutorials](https://alan-turing-institute.github.io/DataScienceTutorials.jl/getting-started/ensembles/). + + +## Documentation + +See the [MLJ manual](https://alan-turing-institute.github.io/MLJ.jl/dev/homogeneous_ensembles/#Homegeneous-Ensembles). + From 4b9665a6fce1c5592e320a4016a0348bf68ee2dc Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Fri, 11 Jun 2021 14:32:53 +1200 Subject: [PATCH 3/7] readme fixes --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 64a132a..973fe3c 100644 --- a/README.md +++ b/README.md @@ -9,25 +9,31 @@ machine learning models using the [MLJ](https://alan-turing-institute.github.io/MLJ.jl/dev/) machine learning framework. +For combining models in more general ways, see the [Composing +Models](https://alan-turing-institute.github.io/MLJ.jl/dev/composing_models/#Composing-Models) +section of the MLJ manual. + ## Installation -No installation is necessary when using MLJ: +No installation is necessary when using MLJ, which is installed like this: ```julia using Pkg +Pkg.add("MLJ") using MLJ ``` -For a minimal installation: +Alternatively, for a "minimal" installation: ```julia using Pkg Pkg.add("MLJBase") Pkg.add("MLJEnsembles") +using MLJBase, MLJEnsembles ``` -In this case you will also need to load code definining an atomic +In this case you will also need to load code defining an atomic model to ensemble. The easiest way to do this is run `Pkg.add(MLJModels)` and use the `@load` macro. See the [Loading Model @@ -42,5 +48,5 @@ See [Data Science Tutorials](https://alan-turing-institute.github.io/DataScience ## Documentation -See the [MLJ manual](https://alan-turing-institute.github.io/MLJ.jl/dev/homogeneous_ensembles/#Homegeneous-Ensembles). +See the [MLJ manual](https://alan-turing-institute.github.io/MLJ.jl/dev/homogeneous_ensembles/#Homogeneous-Ensembles). From da0e52eab2230c284285d790c5bdbb53dfd90f1c Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Fri, 11 Jun 2021 14:40:50 +1200 Subject: [PATCH 4/7] add coveralls token --- .github/workflows/CI.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4ac7426..e13a2af 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,4 +1,6 @@ name: CI +env: + CODECOV_TOKEN: 'b04186a9-0742-481a-be3e-e7457120db3f' on: push: From 3268570f77e9d458d5e8c4af4b3ecf39e9e3d74a Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Fri, 11 Jun 2021 14:43:00 +1200 Subject: [PATCH 5/7] readme again --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 973fe3c..3a9feb2 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ No installation is necessary when using MLJ, which is installed like this: ```julia using Pkg -Pkg.add("MLJ") +Pkg.add("MLJ")\ using MLJ ``` @@ -33,12 +33,11 @@ Pkg.add("MLJEnsembles") using MLJBase, MLJEnsembles ``` -In this case you will also need to load code defining an atomic -model to ensemble. The easiest way to do this is run -`Pkg.add(MLJModels)` and use the `@load` macro. See the [Loading -Model +In this case you will also need to load code defining an atomic model +to ensemble. The easiest way to do this is run `Pkg.add("MLJModels"); +using MLJModels` and use the `@load` macro. See the [Loading Model Code](https://alan-turing-institute.github.io/MLJ.jl/dev/loading_model_code/) -of the MLJ manual for this and other possibilities. +of the MLJ manual for this and other possibilities. ## Sample usage From 8b7c38700fe2763d0537f74a08bfe4ac1ef8e45d Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Fri, 11 Jun 2021 14:45:09 +1200 Subject: [PATCH 6/7] readme --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 3a9feb2..d2da3ab 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ # MLJEnsembles.jl -| Linux | Coverage | -| :-----------: | :------: | -| [![Build status](https://github.com/JuliaAI/MLJEnsembles.jl/workflows/CI/badge.svg)](https://github.com/JuliaAI/MLJEnsembles.jl/actions)| [![codecov.io](http://codecov.io/github/JuliaAI/MLJEnsembles.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaAI/MLJEnsembles.jl?branch=master) | +[![Build status](https://github.com/JuliaAI/MLJEnsembles.jl/workflows/CI/badge.svg)](https://github.com/JuliaAI/MLJEnsembles.jl/actions) [![codecov.io](http://codecov.io/github/JuliaAI/MLJEnsembles.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaAI/MLJEnsembles.jl?branch=master) A package allowing one to a create a bagged homogeneous ensemble of machine learning models using the From 97a3922cd2400aaeabf82ba68eb531536676ad3e Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Fri, 11 Jun 2021 14:45:57 +1200 Subject: [PATCH 7/7] readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d2da3ab..8c918d6 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build status](https://github.com/JuliaAI/MLJEnsembles.jl/workflows/CI/badge.svg)](https://github.com/JuliaAI/MLJEnsembles.jl/actions) [![codecov.io](http://codecov.io/github/JuliaAI/MLJEnsembles.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaAI/MLJEnsembles.jl?branch=master) -A package allowing one to a create a bagged homogeneous ensemble of +A package to create bagged homogeneous ensembles of machine learning models using the [MLJ](https://alan-turing-institute.github.io/MLJ.jl/dev/) machine learning framework.