Commit a8b3c1ff authored by Mitar's avatar Mitar

Updating common primitives.

parent 1706e583
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
}, },
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common-primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common-primitives"
} }
], ],
"name": "common_primitives.BayesianLogisticRegression", "name": "common_primitives.BayesianLogisticRegression",
...@@ -282,5 +282,5 @@ ...@@ -282,5 +282,5 @@
}, },
"structural_type": "common_primitives.logistic_regression.BayesianLogisticRegression", "structural_type": "common_primitives.logistic_regression.BayesianLogisticRegression",
"description": "Example of a primitive wrapping logistic regression using PyMC3 and its\nTheano backend.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "Example of a primitive wrapping logistic regression using PyMC3 and its\nTheano backend.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "07db369acb49a7af2f5e5554ad9248df91b920ddb80f7b67e76802029be54423" "digest": "237706731bc6568271c51ebea2aa6533e92473d9be61f5a1b39a8d38462cbf33"
} }
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common-primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common-primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -594,5 +594,5 @@ ...@@ -594,5 +594,5 @@
}, },
"structural_type": "common_primitives.lgbm_classifier.LightGBMClassifierPrimitive", "structural_type": "common_primitives.lgbm_classifier.LightGBMClassifierPrimitive",
"description": "A lightGBM classifier using ``lgbm.LGBMClassifier``.\n\nIt uses semantic types to determine which columns to operate on.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A lightGBM classifier using ``lgbm.LGBMClassifier``.\n\nIt uses semantic types to determine which columns to operate on.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "c5c304d020477bcb165a86094a5060dbf6ac2c224a33ea31dc8b43803be0b597" "digest": "dc78ff1bc4ceeaeaa55722909f72893aef66c002c361e61774280f244c356b36"
} }
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common-primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common-primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
] ]
}, },
"all_features": { "all_features": {
"type": "d3m.metadata.hyperparams.Hyperparameter", "type": "d3m.metadata.hyperparams.Constant",
"default": null, "default": null,
"structural_type": "NoneType", "structural_type": "NoneType",
"semantic_types": [], "semantic_types": [],
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
"upper": null "upper": null
}, },
"unlimited": { "unlimited": {
"type": "d3m.metadata.hyperparams.Hyperparameter", "type": "d3m.metadata.hyperparams.Constant",
"default": null, "default": null,
"structural_type": "NoneType", "structural_type": "NoneType",
"semantic_types": [], "semantic_types": [],
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
"upper": null "upper": null
}, },
"unlimited": { "unlimited": {
"type": "d3m.metadata.hyperparams.Hyperparameter", "type": "d3m.metadata.hyperparams.Constant",
"default": null, "default": null,
"structural_type": "NoneType", "structural_type": "NoneType",
"semantic_types": [], "semantic_types": [],
...@@ -628,5 +628,5 @@ ...@@ -628,5 +628,5 @@
}, },
"structural_type": "common_primitives.random_forest.RandomForestClassifierPrimitive", "structural_type": "common_primitives.random_forest.RandomForestClassifierPrimitive",
"description": "A random forest classifier using ``sklearn.ensemble.forest.RandomForestClassifier``.\n\nIt uses semantic types to determine which columns to operate on.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A random forest classifier using ``sklearn.ensemble.forest.RandomForestClassifier``.\n\nIt uses semantic types to determine which columns to operate on.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "13e479199c44ef02244bd394e92e48e65930a3a721d432ed59c6bdd75a7fd952" "digest": "28336a5ed3ab73929209a31ca9837970bedef792ff9c700bf0af80fedba7293d"
} }
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common-primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common-primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -636,5 +636,5 @@ ...@@ -636,5 +636,5 @@
}, },
"structural_type": "common_primitives.xgboost_dart.XGBoostDartClassifierPrimitive", "structural_type": "common_primitives.xgboost_dart.XGBoostDartClassifierPrimitive",
"description": "A XGBoost classifier using ``xgb.XGBoostClassifier`` with Dart Boosting type.\n\nIt uses semantic types to determine which columns to operate on.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A XGBoost classifier using ``xgb.XGBoostClassifier`` with Dart Boosting type.\n\nIt uses semantic types to determine which columns to operate on.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "b3a4ffb76a41f39eee23027050f8bacebd04be91cc6692c41f4fb75684001a9b" "digest": "13d84dfcd46ee401e6e5791ba3a984d98bec69c3077fdda4bf0257ed2bfd3dcb"
} }
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common-primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common-primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -601,5 +601,5 @@ ...@@ -601,5 +601,5 @@
}, },
"structural_type": "common_primitives.xgboost_gbtree.XGBoostGBTreeClassifierPrimitive", "structural_type": "common_primitives.xgboost_gbtree.XGBoostGBTreeClassifierPrimitive",
"description": "A XGBoost classifier using ``xgb.XGBoostClassifier`` with GBTree Boosting type.\n\nIt uses semantic types to determine which columns to operate on.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A XGBoost classifier using ``xgb.XGBoostClassifier`` with GBTree Boosting type.\n\nIt uses semantic types to determine which columns to operate on.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "62f4bcfc25c309955cd6651390dd9051e6636ab126f8de05e94dfa03ccdb2d9d" "digest": "3451cbac128faa7ec3f777e12361e7e0a0005e47236859348ff372d203a3cf45"
} }
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common-primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common-primitives"
} }
], ],
"python_path": "d3m.primitives.clustering.k_means.Common", "python_path": "d3m.primitives.clustering.k_means.Common",
...@@ -215,5 +215,5 @@ ...@@ -215,5 +215,5 @@
}, },
"structural_type": "common_primitives.k_means.KMeans", "structural_type": "common_primitives.k_means.KMeans",
"description": "Example of a primitive wrapping an existing sklearn clustering algorithm.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "Example of a primitive wrapping an existing sklearn clustering algorithm.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "a626e974bec71b82d67f75522c579e171a29b1e08a78482901904b5c70b593d5" "digest": "444162d627669a91b2612a9c910bd44764481d6027221534e11b0aa7db79b729"
} }
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common-primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common-primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -211,5 +211,5 @@ ...@@ -211,5 +211,5 @@
}, },
"structural_type": "common_primitives.tabular_extractor.AnnotatedTabularExtractorPrimitive", "structural_type": "common_primitives.tabular_extractor.AnnotatedTabularExtractorPrimitive",
"description": "A primitive wrapping for MIT-LL slacker's ``AnnotatedTabularExtractor``.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A primitive wrapping for MIT-LL slacker's ``AnnotatedTabularExtractor``.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "ee9255706ec97e8d5ecc60e69c95290dbc7daf067574dec5d868aeac79f70b7f" "digest": "645a8dae32e1f38f720c6bad60b14ee17492fce9a18481c831b704b95a57dbff"
} }
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
}, },
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common_primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common_primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -261,5 +261,5 @@ ...@@ -261,5 +261,5 @@
}, },
"structural_type": "common_primitives.audio_reader.AudioReaderPrimitive", "structural_type": "common_primitives.audio_reader.AudioReaderPrimitive",
"description": "A primitive which reads columns referencing audio files.\n\nEach column which has ``https://metadata.datadrivendiscovery.org/types/FileName`` semantic type\nand a valid media type (``audio/aiff``, ``audio/flac``, ``audio/ogg``, ``audio/wav``, ``audio/mpeg``)\nhas every filename read into an audio represented as a numpy array. By default the resulting column\nwith read arrays is appended to existing columns.\n\nThe shape of numpy arrays is S x C. S is the number of samples, C is the number of\nchannels in an audio (e.g., C = 1 for mono, C = 2 for stereo). dtype is float32.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A primitive which reads columns referencing audio files.\n\nEach column which has ``https://metadata.datadrivendiscovery.org/types/FileName`` semantic type\nand a valid media type (``audio/aiff``, ``audio/flac``, ``audio/ogg``, ``audio/wav``, ``audio/mpeg``)\nhas every filename read into an audio represented as a numpy array. By default the resulting column\nwith read arrays is appended to existing columns.\n\nThe shape of numpy arrays is S x C. S is the number of samples, C is the number of\nchannels in an audio (e.g., C = 1 for mono, C = 2 for stereo). dtype is float32.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "a5c98fad0b60ddff4eb6c245022bd125f134694211801f8f0ceffc101286dd03" "digest": "5441b2a9a3398f41bcef4774147ac9221b357720087394ee0b30d055eace1272"
} }
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common_primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common_primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -232,5 +232,5 @@ ...@@ -232,5 +232,5 @@
}, },
"structural_type": "common_primitives.csv_reader.CSVReaderPrimitive", "structural_type": "common_primitives.csv_reader.CSVReaderPrimitive",
"description": "A primitive which reads columns referencing CSV files.\n\nEach column which has ``https://metadata.datadrivendiscovery.org/types/FileName`` semantic type\nand a valid media type (``text/csv``) has every filename read as a pandas DataFrame. By default\nthe resulting column with read pandas DataFrames is appended to existing columns.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A primitive which reads columns referencing CSV files.\n\nEach column which has ``https://metadata.datadrivendiscovery.org/types/FileName`` semantic type\nand a valid media type (``text/csv``) has every filename read as a pandas DataFrame. By default\nthe resulting column with read pandas DataFrames is appended to existing columns.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "bfbd1294b4804f2ebf504206d2c59b45f03492cd5bda527d782b2420603b3f71" "digest": "ffef1594820f3271ed0df93c82161e799a6e239710eb9f59b82e1affea43b948"
} }
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common-primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common-primitives"
} }
], ],
"python_path": "d3m.primitives.data_preprocessing.image_reader.Common", "python_path": "d3m.primitives.data_preprocessing.image_reader.Common",
...@@ -198,5 +198,5 @@ ...@@ -198,5 +198,5 @@
}, },
"structural_type": "common_primitives.image_reader.ImageReader", "structural_type": "common_primitives.image_reader.ImageReader",
"description": "Primitive which takes a list of file names to image files and returns a\nsingle Numpy array of shape:\n N x C x H x W\nwhere N is the number of images, C is the number of channels in an image\n(e.g., C = 1 for grayscale, C = 3 for RGB), H is the height, and W is the\nwidth. All images are expected to be of the same shape and channel\ncharacteristics.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "Primitive which takes a list of file names to image files and returns a\nsingle Numpy array of shape:\n N x C x H x W\nwhere N is the number of images, C is the number of channels in an image\n(e.g., C = 1 for grayscale, C = 3 for RGB), H is the height, and W is the\nwidth. All images are expected to be of the same shape and channel\ncharacteristics.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "b446845816fdc4f980d20fd134443a64feb7fe6466951a942eab553d41bc83e3" "digest": "de8c272dcd4e3970458f39364edecf4ec0bee0c689585d0874235f54cd995807"
} }
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common_primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common_primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -235,5 +235,5 @@ ...@@ -235,5 +235,5 @@
}, },
"structural_type": "common_primitives.dataframe_image_reader.DataFrameImageReaderPrimitive", "structural_type": "common_primitives.dataframe_image_reader.DataFrameImageReaderPrimitive",
"description": "A primitive which reads columns referencing image files.\n\nEach column which has ``https://metadata.datadrivendiscovery.org/types/FileName`` semantic type\nand a valid media type (``image/jpeg``, ``image/png``) has every filename read into an image\nrepresented as a numpy array. By default the resulting column with read arrays is appended\nto existing columns.\n\nThe shape of numpy arrays is H x W x C. C is the number of channels in an image\n(e.g., C = 1 for greyscale, C = 3 for RGB), H is the height, and W is the width.\ndtype is uint8.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A primitive which reads columns referencing image files.\n\nEach column which has ``https://metadata.datadrivendiscovery.org/types/FileName`` semantic type\nand a valid media type (``image/jpeg``, ``image/png``) has every filename read into an image\nrepresented as a numpy array. By default the resulting column with read arrays is appended\nto existing columns.\n\nThe shape of numpy arrays is H x W x C. C is the number of channels in an image\n(e.g., C = 1 for greyscale, C = 3 for RGB), H is the height, and W is the width.\ndtype is uint8.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "4e9aa3266d92fdbe8f39980168056d093b926d897b7dd15cdfdebe5309a94bae" "digest": "9ecf3f1221ef44dfe0a47ef078e39e0df66ef74912ea43086243c61db5525df9"
} }
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common-primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common-primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -262,5 +262,5 @@ ...@@ -262,5 +262,5 @@
}, },
"structural_type": "common_primitives.unseen_label_decoder.UnseenLabelDecoderPrimitive", "structural_type": "common_primitives.unseen_label_decoder.UnseenLabelDecoderPrimitive",
"description": "A primitive which inverses the label encoding by ``UnseenLabelEncoderPrimitive``.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A primitive which inverses the label encoding by ``UnseenLabelEncoderPrimitive``.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "5444855e0d1eeff6ba581fbd8051f21147fd555628fe3ea56a3268fd3d9f1b23" "digest": "49ebf98d0de1c11dd482766a53b3c6691c76ac5c89c0e71fe4d57db838b541fb"
} }
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common-primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common-primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -240,5 +240,5 @@ ...@@ -240,5 +240,5 @@
}, },
"structural_type": "common_primitives.unseen_label_encoder.UnseenLabelEncoderPrimitive", "structural_type": "common_primitives.unseen_label_encoder.UnseenLabelEncoderPrimitive",
"description": "Label encoder that can puts any unseen categories into a single category.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "Label encoder that can puts any unseen categories into a single category.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "ac5d49cfe90759ad228ca9eb9278a1715d7fae07b11f5bc1cdf5208dec8aef17" "digest": "f266b3d12273b826c2502a20f1ad0cd2f82e889ac5233b9b2e36dd51b2291712"
} }
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common_primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common_primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -247,5 +247,5 @@ ...@@ -247,5 +247,5 @@
}, },
"structural_type": "common_primitives.dataset_numeric_range_filter.NumericRangeFilterPrimitive", "structural_type": "common_primitives.dataset_numeric_range_filter.NumericRangeFilterPrimitive",
"description": "A primitive which filters rows from a dataset based on a numeric range applied to a given column.\nColumns are identified by their index, and the filter itself can be inclusive (values within range are retained)\nor exclusive (values within range are removed). Boundaries values can be included in the filter (ie. <=) or excluded\n(ie. <).\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A primitive which filters rows from a dataset based on a numeric range applied to a given column.\nColumns are identified by their index, and the filter itself can be inclusive (values within range are retained)\nor exclusive (values within range are removed). Boundaries values can be included in the filter (ie. <=) or excluded\n(ie. <).\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "58b3a998eea981f2a41d2f9c7d98e9aabc273b93a24149706c96eeddd07b97ae" "digest": "18fd9bc5aeb6df3a24188814875bffb6d27d063728766ca7aef4680813a0e36f"
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common-primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common-primitives"
} }
], ],
"python_path": "d3m.primitives.data_preprocessing.one_hot_encoder.MakerCommon", "python_path": "d3m.primitives.data_preprocessing.one_hot_encoder.MakerCommon",
...@@ -295,5 +295,5 @@ ...@@ -295,5 +295,5 @@
}, },
"structural_type": "common_primitives.one_hot_maker.OneHotMakerPrimitive", "structural_type": "common_primitives.one_hot_maker.OneHotMakerPrimitive",
"description": "Attempts to detect discrete values in data and convert these to a\none-hot embedding.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "Attempts to detect discrete values in data and convert these to a\none-hot embedding.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "d9f74eba6a1c59ffb0c6d7e3eca3fe85381f5afd85dbdd6fcab69df787a353f0" "digest": "61a5599db6413b3b1b02e0a3db89181923b1dfd54a8b05ac872c3e9e98d974f1"
} }
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common-primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common-primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -257,5 +257,5 @@ ...@@ -257,5 +257,5 @@
}, },
"structural_type": "common_primitives.pandas_onehot_encoder.PandasOneHotEncoderPrimitive", "structural_type": "common_primitives.pandas_onehot_encoder.PandasOneHotEncoderPrimitive",
"description": "One-hot encoder using Pandas implementation.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "One-hot encoder using Pandas implementation.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "90f3957c39c7dedd9c50f1661c4e2b2acc8dd5df32638fe3ac5803006efce2dd" "digest": "70b054ce59a5e38c6afe1187402ded81e21a9b13d769ffcbacd805b3cfa2083a"
} }
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common_primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common_primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -229,5 +229,5 @@ ...@@ -229,5 +229,5 @@
}, },
"structural_type": "common_primitives.dataset_regex_filter.RegexFilterPrimitive", "structural_type": "common_primitives.dataset_regex_filter.RegexFilterPrimitive",
"description": "A primitive which filters rows from a dataset based on a regex applied to a given column.\nColumns are identified by index.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A primitive which filters rows from a dataset based on a regex applied to a given column.\nColumns are identified by index.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "3630b003f5c0c0e4f7eb3b7ecdcbf8371abc161342af32c1c244e11e45495627" "digest": "93c17f0920bf7ecc3851aaabee14d72354919f170a7469bf8a483d4362319066"
} }
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common_primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common_primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -246,5 +246,5 @@ ...@@ -246,5 +246,5 @@
}, },
"structural_type": "common_primitives.dataset_term_filter.TermFilterPrimitive", "structural_type": "common_primitives.dataset_term_filter.TermFilterPrimitive",
"description": "A primitive which filters rows from a dataset based on a column value containing a match\nagainst a caller supplied term list. Supports search-style matching where the target need only\ncontain a term, as well as whole word matching where the target is tokenized using regex word boundaries.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A primitive which filters rows from a dataset based on a column value containing a match\nagainst a caller supplied term list. Supports search-style matching where the target need only\ncontain a term, as well as whole word matching where the target is tokenized using regex word boundaries.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "b96890270b6124c668205985376044efce95aca0b6b8383b04bcc6679b2d5261" "digest": "b67cddb7c93532ddec5d3794e9c0febfade80767322b4689a6e17becb5319891"
} }
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common_primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common_primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -233,5 +233,5 @@ ...@@ -233,5 +233,5 @@
}, },
"structural_type": "common_primitives.text_reader.TextReaderPrimitive", "structural_type": "common_primitives.text_reader.TextReaderPrimitive",
"description": "A primitive which reads columns referencing plain text files.\n\nEach column which has ``https://metadata.datadrivendiscovery.org/types/FileName`` semantic type\nand a valid media type (``text/plain``) has every filename read as a Python string. By default\nthe resulting column with read strings is appended to existing columns.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A primitive which reads columns referencing plain text files.\n\nEach column which has ``https://metadata.datadrivendiscovery.org/types/FileName`` semantic type\nand a valid media type (``text/plain``) has every filename read as a Python string. By default\nthe resulting column with read strings is appended to existing columns.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "7f43327004287fc16add290efb285bb6673325cb21df9b0515c131b6855494e2" "digest": "d65fd7f06c0655ef48ea55c633b972e7ce816942d58752ff4fe57fdcfb14a132"
} }
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common_primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common_primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -235,5 +235,5 @@ ...@@ -235,5 +235,5 @@
}, },
"structural_type": "common_primitives.video_reader.VideoReaderPrimitive", "structural_type": "common_primitives.video_reader.VideoReaderPrimitive",
"description": "A primitive which reads columns referencing video files.\n\nEach column which has ``https://metadata.datadrivendiscovery.org/types/FileName`` semantic type\nand a valid media type (``video/mp4``, ``video/avi``) has every filename read into a video\nrepresented as a numpy array. By default the resulting column with read arrays is appended\nto existing columns.\n\nThe shape of numpy arrays is F x H x W x C. F is the number of frames, C is the number of\nchannels in a video (e.g., C = 1 for greyscale, C = 3 for RGB), H is the height, and W\nis the width. dtype is uint8.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A primitive which reads columns referencing video files.\n\nEach column which has ``https://metadata.datadrivendiscovery.org/types/FileName`` semantic type\nand a valid media type (``video/mp4``, ``video/avi``) has every filename read into a video\nrepresented as a numpy array. By default the resulting column with read arrays is appended\nto existing columns.\n\nThe shape of numpy arrays is F x H x W x C. F is the number of frames, C is the number of\nchannels in a video (e.g., C = 1 for greyscale, C = 3 for RGB), H is the height, and W\nis the width. dtype is uint8.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "10b2a4abf28c42fcff93150f70cdc7cf045b999cb0f534143dfe95abccbe00ce" "digest": "06b082fc87b9b6b95792be24a75e8f8a46f181b225b000d0201c138daca56bf0"
} }
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common_primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common_primitives"
} }
], ],
"algorithm_types": [ "algorithm_types": [
...@@ -227,5 +227,5 @@ ...@@ -227,5 +227,5 @@
}, },
"structural_type": "common_primitives.add_semantic_types.AddSemanticTypesPrimitive", "structural_type": "common_primitives.add_semantic_types.AddSemanticTypesPrimitive",
"description": "A primitive which adds semantic types for columns in a DataFrame.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.", "description": "A primitive which adds semantic types for columns in a DataFrame.\n\nAttributes\n----------\nmetadata : PrimitiveMetadata\n Primitive's metadata. Available as a class attribute.\nlogger : Logger\n Primitive's logger. Available as a class attribute.\nhyperparams : Hyperparams\n Hyperparams passed to the constructor.\nrandom_seed : int\n Random seed passed to the constructor.\ndocker_containers : Dict[str, DockerContainer]\n A dict mapping Docker image keys from primitive's metadata to (named) tuples containing\n container's address under which the container is accessible by the primitive, and a\n dict mapping exposed ports to ports on that address.\nvolumes : Dict[str, str]\n A dict mapping volume keys from primitive's metadata to file and directory paths\n where downloaded and extracted files are available to the primitive.\ntemporary_directory : str\n An absolute path to a temporary directory a primitive can use to store any files\n for the duration of the current pipeline run phase. Directory is automatically\n cleaned up after the current pipeline run phase finishes.",
"digest": "0765e144467d4aecd942ac7694e3c1b17e0ab46d37ba08ed381f673ed2ac7624" "digest": "a4d05bb78f0c482caa2afeef87b2a34169d22c9e66a7725a6f6875ab8352b212"
} }
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"installation": [ "installation": [
{ {
"type": "PIP", "type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@e429eb552e13c0588bcb42e11c065586b1f1f423#egg=common_primitives" "package_uri": "git+https://gitlab.com/datadrivendiscovery/common-primitives.git@3df2ad23e1801e43166c64dc5767d847f232181d#egg=common_primitives"
} }
],