-
Notifications
You must be signed in to change notification settings - Fork 17
Develop #221
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
Conversation
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
RBF and Sigmoid, with scaling strategy
Util fixes
Embeddings
Johnson su
adapt base models
Rdme fix
increase version
This was
linked to
issues
Feb 17, 2025
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request includes changes to improve the preprocessing and embedding layers in the
mambularpackage. The main changes involve adding a feature preprocessing dictionary to thePreprocessorclass, updating theforwardmethod in the embedding layer, and refactoring code for better readability and functionality.Preprocessing improvements:
mambular/preprocessing/preprocessor.py: Addedfeature_preprocessingparameter to allow custom preprocessing techniques for individual columns. Updated thefitmethod to use this parameter for both numerical and categorical features. [1] [2] [3] [4] [5]Embedding layer updates:
mambular/arch_utils/layer_utils/embedding_layer.py: Modified theforwardmethod to handle different dimensions of categorical embeddings and ensure they are properly processed. [1] [2]Allow unstructured data as inputs:
mambular/arch_utils/layer_utils/embedding_layer.py: Modified theforwardmethod to handle num_features, cat_features and pre-embedded unstructured data. [1] [2]Get latent representation of tables
mambular/base_models/basemodel.py: Updated theencodemethod to accept a singledataparameter instead of separatenum_featuresandcat_featuresparameters. [1] [2]Documentation Updates:
README.md).README.md) [1] [2].README.md).README.md) [1] [2].Workflow Automation:
.github/workflows/pr-tests.yml) to run unit tests on pull requests targeting thedevelopandmasterbranches. This workflow sets up the environment, installs dependencies, runs the tests, and ensures that pull requests cannot be merged if tests fail.Codebase Improvements:
1.1.0to1.2.0inmambular/__version__.pyto reflect the new release.rotary_embedding_torchdependency and associated code from the attention mechanism (mambular/arch_utils/layer_utils/attention_utils.py) to simplify the implementation [1] [2] [3] [4] [5].EmbeddingLayerclass to support embedding projections and handle additional embedding types (mambular/arch_utils/layer_utils/embedding_layer.py) [1] [2] [3] [4] [5] [6].