Commit 1bdb8020 authored by Mitar's avatar Mitar
Browse files

Updating primitives' metadata.

parent 7e154ae0
Pipeline #43152084 passed with stage
in 1 minute and 49 seconds
......@@ -11,7 +11,7 @@ steps:
primitive:
id: df3153a1-4411-47e2-bbc0-9d5e9925ad79
version: 0.1.0
python_path: d3m.primitives.test.RandomPrimitive
python_path: d3m.primitives.data_generation.random.Test
name: Random Samples
arguments:
inputs:
......@@ -23,7 +23,7 @@ steps:
primitive:
id: 5c9d5acf-7754-420f-a49f-90f4d9d0d694
version: 0.1.0
python_path: d3m.primitives.test.IncrementPrimitive
python_path: d3m.primitives.operator.increment.Test
name: Increment Values
arguments:
inputs:
......
......@@ -28,11 +28,11 @@ setup(
keywords='d3m_primitive',
entry_points = {
'd3m.primitives': [
'test.MonomialPrimitive = test_primitives.monomial:MonomialPrimitive',
'test.IncrementPrimitive = test_primitives.increment:IncrementPrimitive',
'test.SumPrimitive = test_primitives.sum:SumPrimitive',
'test.RandomPrimitive = test_primitives.random:RandomPrimitive',
'test.PrimitiveSumPrimitive = test_primitives.primitive_sum:PrimitiveSumPrimitive',
'regression.monomial.Test = test_primitives.monomial:MonomialPrimitive',
'operator.increment.Test = test_primitives.increment:IncrementPrimitive',
'operator.sum.Test = test_primitives.sum:SumPrimitive',
'data_generation.random.Test = test_primitives.random:RandomPrimitive',
'operator.primitive_sum.Test = test_primitives.primitive_sum:PrimitiveSumPrimitive',
],
},
)
......@@ -46,6 +46,7 @@ class IncrementPrimitive(transformer.TransformerPrimitiveBase[Inputs, Outputs, H
'keywords': ['test primitive'],
'source': {
'name': __author__,
'contact': 'mailto:author@example.com',
'uris': [
# Unstructured URIs. Link to file and link to repo in this case.
'https://gitlab.com/datadrivendiscovery/tests-data/blob/master/primitives/test_primitives/increment.py',
......@@ -69,7 +70,7 @@ class IncrementPrimitive(transformer.TransformerPrimitiveBase[Inputs, Outputs, H
),
],
# The same path the primitive is registered with entry points in setup.py.
'python_path': 'd3m.primitives.test.IncrementPrimitive',
'python_path': 'd3m.primitives.operator.increment.Test',
# Choose these from a controlled vocabulary in the schema. If anything is missing which would
# best describe the primitive, make a merge request.
'algorithm_types': [
......
......@@ -41,6 +41,7 @@ class MonomialPrimitive(supervised_learning.SupervisedLearnerPrimitiveBase[Input
'keywords': ['test primitive'],
'source': {
'name': __author__,
'contact': 'mailto:author@example.com',
'uris': [
# Unstructured URIs. Link to file and link to repo in this case.
'https://gitlab.com/datadrivendiscovery/tests-data/blob/master/primitives/test_primitives/monomial.py',
......@@ -64,7 +65,7 @@ class MonomialPrimitive(supervised_learning.SupervisedLearnerPrimitiveBase[Input
),
],
# The same path the primitive is registered with entry points in setup.py.
'python_path': 'd3m.primitives.test.MonomialPrimitive',
'python_path': 'd3m.primitives.regression.monomial.Test',
# Choose these from a controlled vocabulary in the schema. If anything is missing which would
# best describe the primitive, make a merge request.
'algorithm_types': [
......
......@@ -50,6 +50,7 @@ class PrimitiveSumPrimitive(transformer.TransformerPrimitiveBase[Inputs, Outputs
'keywords': ['test primitive'],
'source': {
'name': __author__,
'contact': 'mailto:author@example.com',
'uris': [
# Unstructured URIs. Link to file and link to repo in this case.
'https://gitlab.com/datadrivendiscovery/tests-data/blob/master/primitives/test_primitives/primitive_sum.py',
......@@ -73,7 +74,7 @@ class PrimitiveSumPrimitive(transformer.TransformerPrimitiveBase[Inputs, Outputs
),
],
# The same path the primitive is registered with entry points in setup.py.
'python_path': 'd3m.primitives.test.PrimitiveSumPrimitive',
'python_path': 'd3m.primitives.operator.primitive_sum.Test',
# Choose these from a controlled vocabulary in the schema. If anything is missing which would
# best describe the primitive, make a merge request.
'algorithm_types': [
......
......@@ -46,6 +46,7 @@ class RandomPrimitive(generator.GeneratorPrimitiveBase[Outputs, None, Hyperparam
'keywords': ['test primitive'],
'source': {
'name': __author__,
'contact': 'mailto:author@example.com',
'uris': [
# Unstructured URIs. Link to file and link to repo in this case.
'https://gitlab.com/datadrivendiscovery/tests-data/blob/master/primitives/test_primitives/random.py',
......@@ -69,7 +70,7 @@ class RandomPrimitive(generator.GeneratorPrimitiveBase[Outputs, None, Hyperparam
),
],
# The same path the primitive is registered with entry points in setup.py.
'python_path': 'd3m.primitives.test.RandomPrimitive',
'python_path': 'd3m.primitives.data_generation.random.Test',
# Choose these from a controlled vocabulary in the schema. If anything is missing which would
# best describe the primitive, make a merge request.
'algorithm_types': [
......
......@@ -52,6 +52,7 @@ class SumPrimitive(transformer.TransformerPrimitiveBase[Inputs, Outputs, Hyperpa
'keywords': ['test primitive'],
'source': {
'name': __author__,
'contact': 'mailto:author@example.com',
'uris': [
# Unstructured URIs. Link to file and link to repo in this case.
'https://gitlab.com/datadrivendiscovery/tests-data/blob/master/primitives/test_primitives/sum.py',
......@@ -83,7 +84,7 @@ class SumPrimitive(transformer.TransformerPrimitiveBase[Inputs, Outputs, Hyperpa
),
],
# The same path the primitive is registered with entry points in setup.py.
'python_path': 'd3m.primitives.test.SumPrimitive',
'python_path': 'd3m.primitives.operator.sum.Test',
# Choose these from a controlled vocabulary in the schema. If anything is missing which would
# best describe the primitive, make a merge request.
'algorithm_types': [
......
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