-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(JAQPOT-127): jaqpotpy-datasets-refactoring #28
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
e77df82
fix: Deleted datasets
periklis91 a9a302f
fix: super minor changes
periklis91 198218d
fix: Old abstract dataset classes
periklis91 0c29099
feat: New abtract classes
periklis91 cc92c70
feat: old molecular datasets
periklis91 286eede
Merge branch 'main' into feat/JAQPOT-127/jaqpotpy-dataset-tests
periklis91 eedb2e8
feat: deleted Molecular dataset
periklis91 5c1d272
feat: Added error handling in csv reading
periklis91 a8c73d2
feat: added dataframe setter, getter, deleter
periklis91 259b96d
fix: Deleted redundant comments
periklis91 c3563e5
feat: Deleted SmilesDataset class
periklis91 0a55f99
feat: error handling for y_cols
periklis91 fc9ea78
feat: x_cols error handling
periklis91 ec768a7
feat: smiles_cols error handling
periklis91 75b55bd
feat: Handling more that one smiles column
periklis91 b5d67c6
feat: Finalized Jaqpotpy dataset class
periklis91 4d9bcdf
fix: Smiles parsing
periklis91 ddcfd0a
feat: Making sure that the user provided y_cols correctly
periklis91 801d42b
fix: delete redundant code
periklis91 4592233
fix: deleted unessecary code
periklis91 8470faa
feat: added extra features to test datasets
periklis91 1f32f0b
feat: Implemented __get__X and __get__Y methods
periklis91 3b92bb5
chore: removed module loading in dataset inits
periklis91 cc874be
Merge branch 'main' into feat/JAQPOT-127/jaqpotpy-dataset-tests
periklis91 4055ceb
chore: Minor changes in test datasets
periklis91 fca39fa
feat: Make sure there is no overlap between x_cols, y_cols and smiles…
periklis91 497309b
feat: Check that all user-specified cols exist
periklis91 34d928b
test: early-dataset-testing
periklis91 ac9583a
refactor: more robust error handling
periklis91 dab8e91
test: Added further dataset tests
periklis91 f185192
test: df and path test
periklis91 3339eef
chore: Introduce JapoqtpyDataset
periklis91 f378af5
fix: module loading issue
periklis91 49cab03
chore: changed MolecularDataset with JaqpotpyDataset
periklis91 411da7d
chore: minor dependency fix
periklis91 4f382a6
chore: minor dependency fix
periklis91 0fc6879
chore: minor dependency fix
periklis91 ee36678
chore: Restored dataset.__init__.py
periklis91 b9c61de
chore: removed wildcard import
periklis91 c505cc4
chore: renamed doa_m to doa_fitted
periklis91 3f9b5fc
fix: Compatibility between MolecularSKLearn and JaqpotpyDataset
periklis91 b0c5f56
chore: rename Preprocesses class to Preprocess
periklis91 809614b
chore: Rename Preprocesses to Preprocess in all files
periklis91 d915a6c
feat: Add a .copy() method in JaqpotpyDataset
periklis91 f6dda97
chore: Return pandas series instead of numpy with __get__X__ and y
periklis91 99c30e4
fix: Now the .copy() method works
periklis91 62f609f
chore: comment with tests to be added
periklis91 cf23a76
refactor: Preprocessing made an object from class, attribute
periklis91 e4e9fa4
Refactor: Major model refactor
periklis91 b4679a6
chore: removed references to Molecular SKLearn
periklis91 efdae02
fix: Fixed error in len(dataset)
periklis91 7e67761
Merge branch 'main' into feat/JAQPOT-127/jaqpotpy-dataset-tests
periklis91 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from jaqpotpy.datasets import * | ||
from jaqpotpy.datasets.molecular_datasets import * | ||
from jaqpotpy.datasets.image_datasets import TorchImageDataset | ||
from jaqpotpy.datasets.molecular_datasets import MolecularDataset, MolecularTabularDataset, TorchGraphDataset | ||
from jaqpotpy.datasets.material_datasets import CompositionDataset, StructureDataset | ||
#from jaqpotpy.datasets import * | ||
#from jaqpotpy.datasets.molecular_datasets import * | ||
from .image_datasets import TorchImageDataset | ||
from .molecular_datasets import JaqpotpyDataset, TorchGraphDataset | ||
from .material_datasets import CompositionDataset, StructureDataset |
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggesting to reduce to a single if statement
if value is None or value.lower() not in ['regression', 'classification']: