Skip to content
This repository was archived by the owner on Apr 26, 2021. It is now read-only.

Commit 1c4911e

Browse files
committed
update
1 parent 478f131 commit 1c4911e

File tree

8 files changed

+306
-306
lines changed

8 files changed

+306
-306
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
name: CompatHelper
2-
3-
on:
4-
schedule:
5-
- cron: '00 00 * * *'
6-
7-
jobs:
8-
CompatHelper:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: julia-actions/setup-julia@latest
12-
with:
13-
version: 1.3
14-
- name: Pkg.add("CompatHelper")
15-
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
16-
- name: CompatHelper.main()
17-
env:
18-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19-
run: julia -e 'using CompatHelper; CompatHelper.main()'
1+
name: CompatHelper
2+
3+
on:
4+
schedule:
5+
- cron: '00 00 * * *'
6+
7+
jobs:
8+
CompatHelper:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: julia-actions/setup-julia@latest
12+
with:
13+
version: 1.3
14+
- name: Pkg.add("CompatHelper")
15+
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
16+
- name: CompatHelper.main()
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
run: julia -e 'using CompatHelper; CompatHelper.main()'

.github/workflows/TagBot.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: TagBot
2-
on:
3-
schedule:
4-
- cron: 0 * * * *
5-
jobs:
6-
TagBot:
7-
runs-on: ubuntu-latest
8-
steps:
9-
- uses: JuliaRegistries/TagBot@v1
10-
with:
11-
token: ${{ secrets.GITHUB_TOKEN }}
1+
name: TagBot
2+
on:
3+
schedule:
4+
- cron: 0 * * * *
5+
jobs:
6+
TagBot:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: JuliaRegistries/TagBot@v1
10+
with:
11+
token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.DS_Store
2-
/Manifest.toml
3-
/dev/
1+
.DS_Store
2+
/Manifest.toml
3+
/dev/
44
*.parquet
55
jlboost-test/Manifest.toml
66
jlboost-test/Project.toml

NEWS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# 0.1.1
2-
3-
* Updated dependencies
1+
# 0.1.1
2+
3+
* Updated dependencies

build-readme.jl

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# Weave readme
2-
using Pkg
3-
cd("c:/git/JLBoostMLJ")
4-
# Pkg.activate("c:/git/JLBoostMLJ")
5-
6-
Pkg.add("RDatasets")
7-
Pkg.add("Weave")
8-
using Weave
9-
10-
weave("c:/git/JLBoostMLJ/README.jmd", out_path="c:/git/JLBoostMLJ", doctype="github")
11-
12-
Pkg.rm("Weave")
13-
Pkg.rm("RDatasets")
14-
15-
16-
if false
17-
tangle("c:/git/JLBoostMLJ/README.jmd")
18-
end
1+
# Weave readme
2+
using Pkg
3+
cd("c:/git/JLBoostMLJ")
4+
# Pkg.activate("c:/git/JLBoostMLJ")
5+
6+
Pkg.add("RDatasets")
7+
Pkg.add("Weave")
8+
using Weave
9+
10+
weave("c:/git/JLBoostMLJ/README.jmd", out_path="c:/git/JLBoostMLJ", doctype="github")
11+
12+
Pkg.rm("Weave")
13+
Pkg.rm("RDatasets")
14+
15+
16+
if false
17+
tangle("c:/git/JLBoostMLJ/README.jmd")
18+
end

src/JLBoostMLJ.jl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
module JLBoostMLJ
2-
3-
using JLBoost
4-
5-
export AUC, gini, feature_importance
6-
7-
include("mlj.jl")
8-
9-
end # module
1+
module JLBoostMLJ
2+
3+
using JLBoost
4+
5+
export AUC, gini, feature_importance
6+
7+
include("mlj.jl")
8+
9+
end # module

src/feature-importance.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import JLBoost: feature_importance
2-
3-
import MLJBase: CrossEntropy
4-
5-
CrossEntropy(x, y::CategoricalVector) = CrossEntropy(x, y.refs .- 1)
1+
import JLBoost: feature_importance
2+
3+
import MLJBase: CrossEntropy
4+
5+
CrossEntropy(x, y::CategoricalVector) = CrossEntropy(x, y.refs .- 1)

0 commit comments

Comments
 (0)