Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
datadrivendiscovery
tests-data
Commits
1bdb8020
Commit
1bdb8020
authored
Jan 13, 2019
by
Mitar
Browse files
Updating primitives' metadata.
parent
7e154ae0
Pipeline
#43152084
passed with stage
in 1 minute and 49 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
12 deletions
+17
-12
pipelines/random-sample.yml
pipelines/random-sample.yml
+2
-2
primitives/setup.py
primitives/setup.py
+5
-5
primitives/test_primitives/increment.py
primitives/test_primitives/increment.py
+2
-1
primitives/test_primitives/monomial.py
primitives/test_primitives/monomial.py
+2
-1
primitives/test_primitives/primitive_sum.py
primitives/test_primitives/primitive_sum.py
+2
-1
primitives/test_primitives/random.py
primitives/test_primitives/random.py
+2
-1
primitives/test_primitives/sum.py
primitives/test_primitives/sum.py
+2
-1
No files found.
pipelines/random-sample.yml
View file @
1bdb8020
...
...
@@ -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
:
...
...
primitives/setup.py
View file @
1bdb8020
...
...
@@ -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'
,
],
},
)
primitives/test_primitives/increment.py
View file @
1bdb8020
...
...
@@ -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'
:
[
...
...
primitives/test_primitives/monomial.py
View file @
1bdb8020
...
...
@@ -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'
:
[
...
...
primitives/test_primitives/primitive_sum.py
View file @
1bdb8020
...
...
@@ -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'
:
[
...
...
primitives/test_primitives/random.py
View file @
1bdb8020
...
...
@@ -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'
:
[
...
...
primitives/test_primitives/sum.py
View file @
1bdb8020
...
...
@@ -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'
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment