Skip to content

Conversation

@yonayetol
Copy link

  • Ported frequent pattern miner functions to PeTTa
  • Added testAllInOne.metta to facilitate testing of the new mining functions and ensure proper integration.
  • to see what is implemented just run this, sh ./{address to run.sh file} '{address to testAllInOne.metta}'

note:- the conjunction sorting function has been temporarily omitted due to limitations in passing variables to Python functions.

- Deleted outdated helper functions from Updated-frequentMinerHelperFunctions.metta.
- Introduced Updated-conjunction-expansion.metta to handle conjunction expansions.
- Created Updated-frequent-pattern-miner.metta to streamline the frequent pattern mining process.
- Added testAllInOne.metta to facilitate testing of the new mining functions and ensure proper integration.
@yonayetol
Copy link
Author

for the problem with the Python , i've opened an issue on it. link

This will enable us to filter the duplicates that were passing our custom unique maker function due to strutcture of the conjuncts...
@yonayetol
Copy link
Author

i have updated the codebase... there was an issue with python sorting function, but now i am using PeTTa builtin function (sort). and now it is effectively handling the duplicate issue.

and also i have added a new dataset with n-arry data format.

now when u ran the testall file, u will see conjunctions as such
...
(--formatted:- (, (Inheritance $_318036 $_318042 The-Slice-Shop) (Inheritance $_318036 Loves $_318078) (Inheritance $_318078 Pizza-Lover $_318108)) --)
....
meaning if (person A) (something B) at The-Slice-Shop and (person c) is Pizza-Lover at somePlace then the 2 persons love each other.

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