Commit 0a9b4c4f authored by Mitar's avatar Mitar

Updating test primitives.


Former-commit-id: 0b7814dd
parent 90554167
......@@ -6,7 +6,7 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]ad848a9f81f0611428d0db14de12756f36986609#egg=test_primitives&subdirectory=primitives"
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]856f162bd93c3744cd6ee02183982fb35e1dd3e4#egg=test_primitives&subdirectory=primitives"
}
],
"algorithm_types": [
......@@ -15,13 +15,16 @@
],
"primitive_family": "CLASSIFICATION",
"source": {
"name": "test",
"name": "Test team",
"contact": "mailto:[email protected]",
"uris": [
"https://gitlab.com/datadrivendiscovery/tests-data/blob/master/primitives/test_primitives/random_classifier.py",
"https://gitlab.com/datadrivendiscovery/tests-data.git"
]
},
"location_uris": [
"https://gitlab.com/datadrivendiscovery/tests-data/raw/856f162bd93c3744cd6ee02183982fb35e1dd3e4/primitives/test_primitives/random_classifier.py"
],
"schema": "https://metadata.datadrivendiscovery.org/schemas/v0/primitive.json",
"original_python_path": "test_primitives.random_classifier.RandomClassifierPrimitive",
"primitive_code": {
......@@ -185,5 +188,5 @@
},
"structural_type": "test_primitives.random_classifier.RandomClassifierPrimitive",
"description": "A primitive randomly classify a class. For test purposes.\n\nIt uses the first column of ``outputs`` as a target column.\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": "9e13a84c721c93c3194af897d6b6af701a3eff0ae9c0d890a39dc0231fc9d40c"
"digest": "d0596e6217f499b30c2d1d1b68c16b2dab9bc5ff046e4a437c9571b6d77aeeea"
}
......@@ -16,11 +16,11 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]ad848a9f81f0611428d0db14de12756f36986609#egg=test_primitives&subdirectory=primitives"
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]856f162bd93c3744cd6ee02183982fb35e1dd3e4#egg=test_primitives&subdirectory=primitives"
}
],
"location_uris": [
"https://gitlab.com/datadrivendiscovery/tests-data/raw/ad848a9f81f0611428d0db14de12756f36986609/primitives/test_primitives/random.py"
"https://gitlab.com/datadrivendiscovery/tests-data/raw/856f162bd93c3744cd6ee02183982fb35e1dd3e4/primitives/test_primitives/random.py"
],
"python_path": "d3m.primitives.data_generation.random.Test",
"algorithm_types": [
......@@ -199,5 +199,5 @@
},
"structural_type": "test_primitives.random.RandomPrimitive",
"description": "A primitive which draws random samples from a normal distribution.\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": "e547d46b1f8c354dba150e99aff490024399b94a61a045b310bf757cb0acfc36"
"digest": "37bc54365cc2803c40eec0a6d6859284b3e878803d1c425dcc449efb5ba60d7c"
}
......@@ -13,11 +13,11 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]ad848a9f81f0611428d0db14de12756f36986609#egg=test_primitives&subdirectory=primitives"
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]856f162bd93c3744cd6ee02183982fb35e1dd3e4#egg=test_primitives&subdirectory=primitives"
}
],
"location_uris": [
"https://gitlab.com/datadrivendiscovery/tests-data/raw/ad848a9f81f0611428d0db14de12756f36986609/primitives/test_primitives/fake_score.py"
"https://gitlab.com/datadrivendiscovery/tests-data/raw/856f162bd93c3744cd6ee02183982fb35e1dd3e4/primitives/test_primitives/fake_score.py"
],
"python_path": "d3m.primitives.evaluation.compute_scores.Test",
"algorithm_types": [
......@@ -202,5 +202,5 @@
},
"structural_type": "test_primitives.fake_score.FakeScorePrimitive",
"description": "A primitive that takes a DataFrame and returns hard-coded fake accuracy scores.\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": "5cddff6feb54117e4af906702faa32aaa30f918bf4486f2f330d77bdc1d56f02"
"digest": "85721572c00e0154c4559f58d0222be87c98a71a47f53db70c5e661525cb335f"
}
......@@ -16,11 +16,11 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]ad848a9f81f0611428d0db14de12756f36986609#egg=test_primitives&subdirectory=primitives"
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]856f162bd93c3744cd6ee02183982fb35e1dd3e4#egg=test_primitives&subdirectory=primitives"
}
],
"location_uris": [
"https://gitlab.com/datadrivendiscovery/tests-data/raw/ad848a9f81f0611428d0db14de12756f36986609/primitives/test_primitives/increment.py"
"https://gitlab.com/datadrivendiscovery/tests-data/raw/856f162bd93c3744cd6ee02183982fb35e1dd3e4/primitives/test_primitives/increment.py"
],
"python_path": "d3m.primitives.operator.increment.Test",
"algorithm_types": [
......@@ -186,5 +186,5 @@
},
"structural_type": "test_primitives.increment.IncrementPrimitive",
"description": "A primitive which increments each value by a fixed amount, by default 1.\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": "a25113a4dee3f9e481965db39fa9ca1af1677b367e301238f180e25245e306e2"
"digest": "df0efe60b5dd3b157ef9042785d6b6a3470f7f7f8c6eb4b7646e6c7e93807812"
}
......@@ -16,11 +16,11 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]ad848a9f81f0611428d0db14de12756f36986609#egg=test_primitives&subdirectory=primitives"
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]856f162bd93c3744cd6ee02183982fb35e1dd3e4#egg=test_primitives&subdirectory=primitives"
}
],
"location_uris": [
"https://gitlab.com/datadrivendiscovery/tests-data/raw/ad848a9f81f0611428d0db14de12756f36986609/primitives/test_primitives/add_primitives.py"
"https://gitlab.com/datadrivendiscovery/tests-data/raw/856f162bd93c3744cd6ee02183982fb35e1dd3e4/primitives/test_primitives/add_primitives.py"
],
"python_path": "d3m.primitives.operator.null.TransformerTest",
"algorithm_types": [
......@@ -198,5 +198,5 @@
},
"structural_type": "test_primitives.null.NullTransformerPrimitive",
"description": "A primitive which passes through inputs as outputs.\n\nIt does not really care if inputs is list.\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": "5f7334208cd3b549eb286a962d783a9102b9cbdf89079ff57c8415345d94d6ec"
"digest": "d5b1f3916a351538b0a66ef919c4befa6fbc058a723400df2f12fc0a8c1bba0f"
}
......@@ -16,11 +16,11 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]ad848a9f81f0611428d0db14de12756f36986609#egg=test_primitives&subdirectory=primitives"
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]856f162bd93c3744cd6ee02183982fb35e1dd3e4#egg=test_primitives&subdirectory=primitives"
}
],
"location_uris": [
"https://gitlab.com/datadrivendiscovery/tests-data/raw/ad848a9f81f0611428d0db14de12756f36986609/primitives/test_primitives/add_primitives.py"
"https://gitlab.com/datadrivendiscovery/tests-data/raw/856f162bd93c3744cd6ee02183982fb35e1dd3e4/primitives/test_primitives/add_primitives.py"
],
"python_path": "d3m.primitives.operator.null.UnsupervisedLearnerTest",
"algorithm_types": [
......@@ -199,5 +199,5 @@
},
"structural_type": "test_primitives.null.NullUnsupervisedLearnerPrimitive",
"description": "A primitive which passes through inputs as outputs.\n\nIt does not really care if inputs is list.\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": "d21bfff7a59177accb61fa344518eb09737bc73a71f3b1959f233ddb0e848af4"
"digest": "d67147512fa76040f458093fbdf4ee9e2b26e7568b113a0c29d3512463cd788f"
}
......@@ -16,11 +16,11 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]ad848a9f81f0611428d0db14de12756f36986609#egg=test_primitives&subdirectory=primitives"
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]856f162bd93c3744cd6ee02183982fb35e1dd3e4#egg=test_primitives&subdirectory=primitives"
}
],
"location_uris": [
"https://gitlab.com/datadrivendiscovery/tests-data/raw/ad848a9f81f0611428d0db14de12756f36986609/primitives/test_primitives/add_primitives.py"
"https://gitlab.com/datadrivendiscovery/tests-data/raw/856f162bd93c3744cd6ee02183982fb35e1dd3e4/primitives/test_primitives/add_primitives.py"
],
"python_path": "d3m.primitives.operator.primitive_sum.Test",
"algorithm_types": [
......@@ -225,5 +225,5 @@
},
"structural_type": "test_primitives.primitive_sum.PrimitiveSumPrimitive",
"description": "A primitive which element-wise sums the produced results of two other primitives. Each of those two primitives\nare given inputs (a list of numbers) to this primitive first as their inputs, are expected to return a list\nof numbers back, and then those lists are element-wise summed together, to produce the final list.\n\nThis primitive exists just as a demonstration. To sum results you would otherwise just simply\nsum the results directly instead of getting an instance of the primitive and call\nproduce methods on it. But this does allow more complicated ways of interacting with a\nprimitive and this primitive demonstrates it.\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": "69a9bc10d04845daacb2c9efbc9e06af2ef17f0df97709d7747946cffae742b8"
"digest": "0e201324726bb70aa35600a4ae13c65cd776b73fea7dac30a1d18d2fd90ece89"
}
......@@ -16,7 +16,7 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]ad848a9f81f0611428d0db14de12756f36986609#egg=test_primitives&subdirectory=primitives"
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]856f162bd93c3744cd6ee02183982fb35e1dd3e4#egg=test_primitives&subdirectory=primitives"
},
{
"type": "DOCKER",
......@@ -26,7 +26,7 @@
}
],
"location_uris": [
"https://gitlab.com/datadrivendiscovery/tests-data/raw/ad848a9f81f0611428d0db14de12756f36986609/primitives/test_primitives/sum.py"
"https://gitlab.com/datadrivendiscovery/tests-data/raw/856f162bd93c3744cd6ee02183982fb35e1dd3e4/primitives/test_primitives/sum.py"
],
"python_path": "d3m.primitives.operator.sum.Test",
"algorithm_types": [
......@@ -189,5 +189,5 @@
},
"structural_type": "test_primitives.sum.SumPrimitive",
"description": "A primitive which sums all the values on input into one number.\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": "3253eb3f2293f1ea790c31d74481fe8a85369174d18aabb9c25361487a3bf489"
"digest": "bb7089a9d48ddebf16e7957a15e7a3574ad9eb24f58d7a0032cf55b4c0c5c246"
}
......@@ -16,11 +16,11 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]ad848a9f81f0611428d0db14de12756f36986609#egg=test_primitives&subdirectory=primitives"
"package_uri": "git+https://gitlab.com/datadrivendiscovery/[email protected]856f162bd93c3744cd6ee02183982fb35e1dd3e4#egg=test_primitives&subdirectory=primitives"
}
],
"location_uris": [
"https://gitlab.com/datadrivendiscovery/tests-data/raw/ad848a9f81f0611428d0db14de12756f36986609/primitives/test_primitives/monomial.py"
"https://gitlab.com/datadrivendiscovery/tests-data/raw/856f162bd93c3744cd6ee02183982fb35e1dd3e4/primitives/test_primitives/monomial.py"
],
"python_path": "d3m.primitives.regression.monomial.Test",
"algorithm_types": [
......@@ -193,5 +193,5 @@
},
"structural_type": "test_primitives.monomial.MonomialPrimitive",
"description": "A primitive which fits output = a * input.\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": "af22fe0c5f34ca8cdb49845bb4881a0ddf3ef8597ea8dc368a671b8996201313"
"digest": "73704e0ede1c3c60def8099e922aefbd1990f0c350b0e15ba96bfe2e9ed6690b"
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment