-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unified version number for package and primitives
- Loading branch information
1 parent
efe5586
commit 447dd8a
Showing
6 changed files
with
25 additions
and
97 deletions.
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,7 +1,4 @@ | ||
__version__ = '0.7.4' | ||
__metafeature_version__ = '0.4.6' | ||
__version__ = '0.7.5' | ||
__metafeature_path__ = 'd3m.primitives.metalearning.metafeature_extractor.BYU' | ||
__imputer_version__ = '0.2.2' | ||
__imputer_path__ = 'd3m.primitives.data_preprocessing.random_sampling_imputer.BYU' | ||
__profiler_version__ = '0.0.4' | ||
__profiler_path__ = 'd3m.primitives.schema_discovery.profiler.BYU' |
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 |
---|---|---|
|
@@ -6,8 +6,7 @@ | |
from d3m.primitive_interfaces.base import CallResult | ||
from d3m.primitive_interfaces.unsupervised_learning import UnsupervisedLearnerPrimitiveBase | ||
|
||
from byudml import __imputer_path__, __imputer_version__ | ||
from byudml import __version__ as __package_version__ | ||
from byudml import __imputer_path__, __version__ | ||
|
||
|
||
Inputs = container.pandas.DataFrame | ||
|
@@ -43,33 +42,33 @@ class RandomSamplingImputer(UnsupervisedLearnerPrimitiveBase[Inputs, Outputs, Pa | |
|
||
metadata = metadata_base.PrimitiveMetadata({ | ||
'id': 'ebfeb6f0-e366-4082-b1a7-602fd50acc96', | ||
'version': __imputer_version__, | ||
'version': __version__, | ||
'name': 'Random Sampling Imputer', | ||
'source': { | ||
'name': 'byu-dml', | ||
'contact': 'mailto:[email protected]', | ||
'uris': [ | ||
'https://github.com/byu-dml/d3m-primitives' | ||
'https://github.com/byu-dml/d3m-primitives', | ||
] | ||
}, | ||
'installation': [ | ||
{ | ||
'type': metadata_base.PrimitiveInstallationType.PIP, | ||
'package': 'byudml', | ||
'version': __package_version__ | ||
'version': __version__, | ||
} | ||
], | ||
'location_uris': [ | ||
'https://github.com/byu-dml/d3m-primitives/blob/master/byudml/imputer/random_sampling_imputer.py' | ||
'https://github.com/byu-dml/d3m-primitives/blob/master/byudml/imputer/random_sampling_imputer.py', | ||
], | ||
'python_path': __imputer_path__, | ||
'primitive_family': metadata_base.PrimitiveFamily.DATA_PREPROCESSING, | ||
'algorithm_types': [ | ||
metadata_base.PrimitiveAlgorithmType.IMPUTATION | ||
metadata_base.PrimitiveAlgorithmType.IMPUTATION, | ||
], | ||
'effects': [ | ||
# not the case if empty columns are just ignored | ||
metadata_base.PrimitiveEffect.NO_MISSING_VALUES | ||
metadata_base.PrimitiveEffect.NO_MISSING_VALUES, | ||
] | ||
}) | ||
|
||
|
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
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
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
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