Add Link Predictor module with initial implementation #1
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.
Introduced the Link Predictor module for relationship prediction based on data analysis.
Description
Added public API exports to link_predictor/init.py by exporting LinkPredictor, LinkPredictionSaver, NoLinksFoundError, PredictedLink, and LinkPredictionResult. Added module docstring and defined all for cleaner imports and improved developer experience. Fixes issue Intugle#8.
Type of Change
Related Issue(s)
Fixes Intugle#8
Changes Made
Added module docstring to link_predictor/init.py.
Exported LinkPredictor, LinkPredictionSaver, and NoLinksFoundError from predictor.py.
Exported PredictedLink and LinkPredictionResult from models.py.
Defined all to specify the module’s public API.
Testing
Tests Run: Verified imports from link_predictor work and ran existing pytest suite to ensure no breakage. All tests passed.
Test Configuration
Test Cases
Test Commands
pytest tests/Checklist
Documentation Updates
Breaking Changes
Performance Impact
Additional Context
Deployment Notes