-
Notifications
You must be signed in to change notification settings - Fork 1
Lumen refactoring #49
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
Merged
Merged
Changes from 9 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
e4d257d
fix if 1 lmf [TodoReview this]
Perro2110 67af772
Add test, add iscomplete
giopaglia ebe5d9d
Merge branch 'gio/refractoring' of https://github.com/aclai-lab/SoleM…
Perro2110 a287352
refactoring name
Perro2110 b2312c1
minor fix
Perro2110 4bc2854
update image_family
Perro2110 afd1161
decisiontree and xgboost ext working
PasoStudio73 183de68
minor fix in Project.toml for compatibility
Perro2110 8ee5cf3
Fix
giopaglia 8ef0051
Merge branch 'lumen-refactoring' of https://github.com/aclai-lab/Sole…
giopaglia d870851
debug xgboost, not yet ready
PasoStudio73 5de4302
Refining XGBoost
PasoStudio73 2ad6442
xgboost float predict issue
PasoStudio73 dd23501
xgboost predict found areas requireing fixes
PasoStudio73 93fba4d
XGBoost test passed
PasoStudio73 ae4e5a1
working on tests
PasoStudio73 52deed0
codecov working
PasoStudio73 7c4f025
removed MLJXGBoostInterface in tests
PasoStudio73 6593222
still fixing codecov
PasoStudio73 2828e50
again
PasoStudio73 7c3fbde
guess what?
PasoStudio73 a9acf2e
update ci.yml breaking!
PasoStudio73 828c446
again
PasoStudio73 a7ced5b
last try
PasoStudio73 fba387a
reverted ci.yml
PasoStudio73 1e0971f
atom getter
PasoStudio73 53161b1
adaboost test
PasoStudio73 d7a5d15
xgboost classifier ready, tested and working
PasoStudio73 c948f27
xgboost apply!
PasoStudio73 ef11380
extractrules --> modalextractrules
Perro2110 36d7ef9
Merge branch 'lumen-refactoring' of https://github.com/aclai-lab/Sole…
Perro2110 d26e198
minor add in TODO
Perro2110 9638489
fix tests & deps
PasoStudio73 b2a4869
posthoc
PasoStudio73 16476a9
Merge branch 'devTest' into lumen-refactoring
Perro2110 1b5a6c6
test fixed
PasoStudio73 dbe8e83
fix extras deps
PasoStudio73 6c34e4d
cleaned unused packages, tests still working
PasoStudio73 bcefa20
updated SoleData dep
PasoStudio73 ba4d143
updated solelogics dep
PasoStudio73 72efb54
added a @show for checking
PasoStudio73 bd889ac
removed guard
PasoStudio73 83ffb33
test working
PasoStudio73 54ae95f
updated github ci
PasoStudio73 4275b3d
added distributed package
PasoStudio73 42c052e
added MLJXGBoostInterface package
PasoStudio73 1218cb1
fix XGB
PasoStudio73 37daad6
added MMI
PasoStudio73 d3f8dfe
Merge branch 'main' into lumen-refactoring
PasoStudio73 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,5 +1,5 @@ | ||
freebsd_instance: | ||
image_family: freebsd-14-0 | ||
image_family: freebsd-14-2 | ||
task: | ||
name: FreeBSD | ||
artifacts_cache: | ||
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,30 @@ | ||
################################################ | ||
# p | ||
# ┌───────┴─────────────┐ | ||
# │ r | ||
# q ┌───┴───┐ | ||
# │ s "yes" | ||
# ┌───┴───┐ ┌───┴───┐ | ||
# "yes" "no" "yes" "no" | ||
################################################## | ||
|
||
using SoleLogics | ||
using SoleModels | ||
|
||
formula_p = SoleLogics.parseformula("p") | ||
formula_q = SoleLogics.parseformula("q") | ||
formula_r = SoleLogics.parseformula("r") | ||
formula_s = SoleLogics.parseformula("s") | ||
|
||
branch_q = Branch(formula_q,("yes","no"),(;)) | ||
branch_s = Branch(formula_s,("yes","no"),(;)) | ||
branch_r = Branch(formula_r,(branch_s,"yes"),(;)) | ||
|
||
#dt_q = DecisionTree(branch_r,(;)) | ||
|
||
|
||
#Possibile path | ||
path_all = [formula_p,formula_q,formula_s,formula_r,"yes"] | ||
path_2 = [formula_p,formula_q,"yes"] | ||
path_1 = [formula_p,"yes"] | ||
path_0 = ["yes"] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to stress the fact that I'm not bothered by the function being called "modalextractrules". But we need to be able to call it "extractrules". So again my suggestion is on of the following:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I fully agree, I chose the first option:
rename the function into "extractrules", and then put a "const modalextractrules = extractrules; export modalextractrules" in a deprecate.jl file