Skip to content
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

Add abstract meta learning approach #88

Merged
merged 8 commits into from
Dec 19, 2023
Merged

Conversation

MorrisNein
Copy link
Collaborator

@MorrisNein MorrisNein commented Dec 13, 2023

This class is meant to combine meta-learning components into templates to simplify their application.

As an example, I added the implementation of KNNSimilarityModelAdvice that I use in experiments.

TODO:

  • implement unit tests
  • add docstrings

@pep8speaks
Copy link

pep8speaks commented Dec 13, 2023

Hello @MorrisNein! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 1:1: F401 '.meta_learning_approach.MetaLearningApproach' imported but unused

Comment last updated at 2023-12-19 10:16:53 UTC

Copy link

codecov bot commented Dec 13, 2023

Codecov Report

Attention: 130 lines in your changes are missing coverage. Please review.

Comparison is base (5c11fb3) 30.29% compared to head (1901863) 28.71%.

❗ Current head 1901863 differs from pull request most recent head 4ff939c. Consider uploading reports for the commit 4ff939c to get more accurate results

Files Patch % Lines
...a_automl/approaches/knn_similarity_model_advice.py 0.00% 76 Missing ⚠️
...preparation/models_loaders/fedot_history_loader.py 0.00% 37 Missing ⚠️
meta_automl/approaches/meta_learning_approach.py 0.00% 15 Missing ⚠️
meta_automl/approaches/__init__.py 0.00% 1 Missing ⚠️
.../meta_features_extractors/dataset_meta_features.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #88      +/-   ##
==========================================
- Coverage   30.29%   28.71%   -1.59%     
==========================================
  Files          56       60       +4     
  Lines        2340     2469     +129     
==========================================
  Hits          709      709              
- Misses       1631     1760     +129     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MorrisNein MorrisNein changed the base branch from main to model-fitness-scaler December 13, 2023 16:16
@MorrisNein MorrisNein force-pushed the add-meta-learning-approach branch 4 times, most recently from 4d83d19 to d490cf8 Compare December 14, 2023 13:10
Base automatically changed from model-fitness-scaler to main December 18, 2023 15:33
@MorrisNein MorrisNein force-pushed the add-meta-learning-approach branch 2 times, most recently from 86de6e5 to 1901863 Compare December 18, 2023 20:28
@MorrisNein
Copy link
Collaborator Author

@pep8speaks suggest diff

@MorrisNein MorrisNein force-pushed the add-meta-learning-approach branch from 8290c72 to 4ff939c Compare December 19, 2023 10:16
@MorrisNein MorrisNein merged commit 1a451a6 into main Dec 19, 2023
1 check passed
@MorrisNein MorrisNein deleted the add-meta-learning-approach branch December 19, 2023 11:09
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.

5 participants