Skip to content

Owlapy 1.3.3 #486

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 13 commits into from
Nov 16, 2024
Merged

Owlapy 1.3.3 #486

merged 13 commits into from
Nov 16, 2024

Conversation

alkidbaci
Copy link
Collaborator

  • owlapy version set to 1.3.3
  • Added regression tests for retrieval_eval.py and retrieval_eval_under_incomplete.py
  • Documentation published only on new release (merge with master) and pushes on documentation branch for typo fixing etc.
  • Ontolearn new release → version increased to 0.8.1

@github-actions github-actions bot temporarily deployed to pull request November 12, 2024 13:50 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 12, 2024 14:06 Inactive
@alkidbaci alkidbaci requested a review from Demirrr November 13, 2024 15:50
@@ -86,9 +86,9 @@ def execute(args):
object_properties = sorted({i for i in symbolic_kb.get_object_properties()})

# (3.1) Subsample if required.
if args.ratio_sample_object_prop:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prop is an abbreviation of property. Why do we need to use prob?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the file retrieval_eval_under_incomplete.py there is the same argument but with the name ratio_sample_object_prob. They both have the same description and are both numerical values. One of them has to be wrong right? For a moment i thought this was related to probability (since it was a number), that is why I made this change but now that you mentioned it, it has to be incorrect in the retrieval_eval_under_incomplete.py file.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use ratio_sample_object_prop, where p stands for property

@@ -271,7 +272,7 @@ def get_default_arguments():
parser.add_argument("--gamma", type=float, default=0.9)
parser.add_argument("--seed", type=int, default=1)
parser.add_argument("--ratio_sample_nc", type=float, default=0.2, help="To sample OWL Classes.")
parser.add_argument("--ratio_sample_object_prop", type=float, default=0.1, help="To sample OWL Object Properties.")
parser.add_argument("--ratio_sample_object_prob", type=float, default=0.1, help="To sample OWL Object Properties.")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

b needs to be p

@@ -4,7 +4,7 @@ on:
push:
branches:
- master
- develop
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to make this change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is done in order to not publish the documentation changes while developing. This way the documentation gets published whenever we do a new release (so when we merge with master) and the documentation stays consistent to the latest version of our library. We also specify the version in the documentation so it wont be correct to have the documentation changed while still developing features that are not out yet.

If there is a error in the docs or something that has to be chaged quickly we can use the documentation branch.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. it makes sense!

Copy link
Member

@Demirrr Demirrr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@github-actions github-actions bot temporarily deployed to pull request November 14, 2024 12:28 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 14, 2024 12:47 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 16, 2024 19:40 Inactive
@alkidbaci alkidbaci merged commit 2e036ef into develop Nov 16, 2024
4 checks passed
@github-actions github-actions bot temporarily deployed to pull request November 16, 2024 20:03 Inactive
@alkidbaci alkidbaci deleted the owlapy-1.3.3 branch February 5, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants