Commit 7af53084 authored by Mitar's avatar Mitar

Merge branch 'cmu-2019.5.1-1152' into 'master'

Reformatting code

See merge request !59
parents a2af660f ecfe5b0f
......@@ -24,7 +24,7 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://github.com/autonlab/fastlvm.git@76ff00e11f4c391c050a4a575258d9961d99061e#egg=fastlvm"
"package_uri": "git+https://github.com/autonlab/fastlvm.git@c77b1413155f4db3b4dea2f99870d155e58322a0#egg=fastlvm"
}
],
"schema": "https://metadata.datadrivendiscovery.org/schemas/v0/primitive.json",
......@@ -214,5 +214,5 @@
}
},
"structural_type": "fastlvm.covertree_classifier.CoverTreeClassifier",
"digest": "da132171dba84034316d7be06d241e5b5af6f0b75d6eebe7c2eaa0fd90c1ef14"
"digest": "cc351533f7f6b7a5546633ef960c991a3c33ab7dd0d2c2b0e1c0cedb4076cc6e"
}
......@@ -2,7 +2,7 @@
"id": "84f39131-6618-4d90-9590-b79d41dfb093",
"version": "2.2.0",
"name": "find projections",
"description": "Class to search for 2-d projection boxes in raw feature space for discrete(categorical) output (for classification problems) .\nFor discrete output, the algorithm tries to find 2-d projection boxes which can separate out any class of data from the rest with high purity.\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": "Class to search for 2-d projection boxes in raw feature space for discrete(categorical) output (for\nclassification problems) . For discrete output, the algorithm tries to find 2-d projection boxes which can\nseparate out any class of data from the rest with high purity.\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.",
"python_path": "d3m.primitives.classification.search.Find_projections",
"primitive_family": "CLASSIFICATION",
"algorithm_types": [
......@@ -31,7 +31,7 @@
},
{
"type": "PIP",
"package_uri": "git+https://github.com/autonlab/find_projections.git@4e8fc05f64b889a97339341cecd34a7ad958babb#egg=find_projections"
"package_uri": "git+https://github.com/autonlab/find_projections.git@c544c40b49d76a0d99c5c5499dd9e5c156610f72#egg=find_projections"
}
],
"schema": "https://metadata.datadrivendiscovery.org/schemas/v0/primitive.json",
......@@ -266,5 +266,5 @@
}
},
"structural_type": "find_projections.search_projections.Search",
"digest": "7566d21a7f42616a291c9de7c4ad14d245642b0d6c4323fa23ee4bf4c45fef96"
"digest": "2773fa418f16aae21b7a8ef87bf51805ed8c5afad5d9fae9262308ae56cec77d"
}
......@@ -2,7 +2,7 @@
"id": "448590e7-8cf6-4bfd-abc4-db2980d8114e",
"version": "2.2.0",
"name": "find projections",
"description": "Class to search for 2-d projection boxes in raw feature space for discrete(categorical) output (for classification problems) .\nFor discrete output, the algorithm tries to find 2-d projection boxes which can separate out any class of data from the rest with high purity.\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": "Class to search for 2-d projection boxes in raw feature space for discrete(categorical) output (for\nclassification problems) . For discrete output, the algorithm tries to find 2-d projection boxes which can\nseparate out any class of data from the rest with high purity.\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.",
"python_path": "d3m.primitives.classification.search_hybrid.Find_projections",
"primitive_family": "CLASSIFICATION",
"algorithm_types": [
......@@ -31,7 +31,7 @@
},
{
"type": "PIP",
"package_uri": "git+https://github.com/autonlab/find_projections.git@4e8fc05f64b889a97339341cecd34a7ad958babb#egg=find_projections"
"package_uri": "git+https://github.com/autonlab/find_projections.git@c544c40b49d76a0d99c5c5499dd9e5c156610f72#egg=find_projections"
}
],
"schema": "https://metadata.datadrivendiscovery.org/schemas/v0/primitive.json",
......@@ -280,5 +280,5 @@
}
},
"structural_type": "find_projections.search_projections_hybrid.SearchHybrid",
"digest": "26343757a09287904217d7aa9e1bcd4a94597ebd196de707ece44082cf676342"
"digest": "aaa898aa9e6d2fe28abda7f55508e1f0bdcc076889594c0869d9b6e0f3332bad"
}
......@@ -23,7 +23,7 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://github.com/autonlab/fastlvm.git@76ff00e11f4c391c050a4a575258d9961d99061e#egg=fastlvm"
"package_uri": "git+https://github.com/autonlab/fastlvm.git@c77b1413155f4db3b4dea2f99870d155e58322a0#egg=fastlvm"
}
],
"schema": "https://metadata.datadrivendiscovery.org/schemas/v0/primitive.json",
......@@ -238,5 +238,5 @@
}
},
"structural_type": "fastlvm.gmm.GMM",
"digest": "480b4a3c87d5429aee9a111fdb645b6b8028e5f892e9db7c23a7118aacc6cee9"
"digest": "56c87c821d1e239b2dbc0b82b9c922dfc38336f02bcdc0de3253eedaed7ab44d"
}
......@@ -23,7 +23,7 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://github.com/autonlab/fastlvm.git@76ff00e11f4c391c050a4a575258d9961d99061e#egg=fastlvm"
"package_uri": "git+https://github.com/autonlab/fastlvm.git@c77b1413155f4db3b4dea2f99870d155e58322a0#egg=fastlvm"
}
],
"schema": "https://metadata.datadrivendiscovery.org/schemas/v0/primitive.json",
......@@ -238,5 +238,5 @@
}
},
"structural_type": "fastlvm.kmeans.KMeans",
"digest": "86c632f8c382a1e8b87eb99d7debf347c6d2c7f502ff222d2b7344840014d81b"
"digest": "7ece7c8e3ebd8696eb17139485697c52149eef39730dba176a7aee221e721a4a"
}
......@@ -24,7 +24,7 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://github.com/autonlab/fastlvm.git@76ff00e11f4c391c050a4a575258d9961d99061e#egg=fastlvm"
"package_uri": "git+https://github.com/autonlab/fastlvm.git@c77b1413155f4db3b4dea2f99870d155e58322a0#egg=fastlvm"
}
],
"schema": "https://metadata.datadrivendiscovery.org/schemas/v0/primitive.json",
......@@ -198,7 +198,7 @@
"inputs"
],
"returns": "float",
"description": "Finds the per-token log likelihood (-ve log perplexity) of learned model on a set of test docs.\n\nParameters\n----------\ninputs : Inputs\n A list of 1d numpy array of dtype uint32. Each numpy array contains a document with each token mapped to its word id. This represents test docs to test the learned model.\n\nReturns\n-------\nscore : float\n Final per-token log likelihood (-ve log perplexity)."
"description": "Finds the per-token log likelihood (-ve log perplexity) of learned model on a set of test docs.\n\nParameters\n----------\ninputs : Inputs\n A list of 1d numpy array of dtype uint32. Each numpy array contains a document with each token mapped to\n its word id. This represents test docs to test the learned model.\n\nReturns\n-------\nscore : float\n Final per-token log likelihood (-ve log perplexity)."
},
"fit": {
"kind": "OTHER",
......@@ -253,7 +253,7 @@
"returns": "d3m.primitive_interfaces.base.CallResult[d3m.container.pandas.DataFrame]",
"singleton": false,
"inputs_across_samples": [],
"description": "Finds the token topic assignment (and consequently topic-per-document distribution) for the given set of docs using the learned model.\n\nParameters\n----------\ninputs : Inputs\n A list of 1d numpy array of dtype uint32. Each numpy array contains a document with each token mapped to its word id.\n\nReturns\n-------\nOutputs\n A list of 1d numpy array which represents index of the topic each token belongs to."
"description": "Finds the token topic assignment (and consequently topic-per-document distribution) for the given set of docs\nusing the learned model.\n\nParameters\n----------\ninputs : Inputs\n A list of 1d numpy array of dtype uint32. Each numpy array contains a document with each token mapped to\n its word id.\n\nReturns\n-------\nOutputs\n A list of 1d numpy array which represents index of the topic each token belongs to."
},
"produce_top_words": {
"kind": "PRODUCE",
......@@ -310,5 +310,5 @@
}
},
"structural_type": "fastlvm.glda.GLDA",
"digest": "d1390a77ec9473fffa619fc01b9a8e83b7602e1217e636be114d992ff8fd6798"
"digest": "844ac8725abdf367b6ee5d2082196b8c3ce2a3e5b8af9183b621f5cad18a1f4b"
}
......@@ -25,7 +25,7 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://github.com/autonlab/fastlvm.git@76ff00e11f4c391c050a4a575258d9961d99061e#egg=fastlvm"
"package_uri": "git+https://github.com/autonlab/fastlvm.git@c77b1413155f4db3b4dea2f99870d155e58322a0#egg=fastlvm"
}
],
"schema": "https://metadata.datadrivendiscovery.org/schemas/v0/primitive.json",
......@@ -275,5 +275,5 @@
}
},
"structural_type": "fastlvm.hdp.HDP",
"digest": "75db019e93dc83fceb19a9accc4300fc3aae4b6624636ca7c0ba7b70b8800f38"
"digest": "38adf4ed4bbfe1b92b96cd36af5908692459239209d00b530bf184caa7d65d7f"
}
......@@ -24,7 +24,7 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://github.com/autonlab/fastlvm.git@76ff00e11f4c391c050a4a575258d9961d99061e#egg=fastlvm"
"package_uri": "git+https://github.com/autonlab/fastlvm.git@c77b1413155f4db3b4dea2f99870d155e58322a0#egg=fastlvm"
}
],
"schema": "https://metadata.datadrivendiscovery.org/schemas/v0/primitive.json",
......@@ -162,7 +162,7 @@
"inputs"
],
"returns": "float",
"description": "Finds the per-token log likelihood (-ve log perplexity) of learned model on a set of test docs.\n\nParameters\n----------\ninputs : Inputs\n A list of 1d numpy array of dtype uint32. Each numpy array contains a document with each token mapped to its word id. This represents test docs to test the learned model.\n\nReturns\n-------\nscore : float\n Final per-token log likelihood (-ve log perplexity)."
"description": "Finds the per-token log likelihood (-ve log perplexity) of learned model on a set of test docs.\n\nParameters\n----------\ninputs : Inputs\n A list of 1d numpy array of dtype uint32. Each numpy array contains a document with each token mapped to\n its word id. This represents test docs to test the learned model.\n\nReturns\n-------\nscore : float\n Final per-token log likelihood (-ve log perplexity)."
},
"fit": {
"kind": "OTHER",
......@@ -274,5 +274,5 @@
}
},
"structural_type": "fastlvm.lda.LDA",
"digest": "d8791c4138dcd6230bac9b1a3667a1ee3988077cc97dcef220e2ba8519b5dd75"
"digest": "93fb5a3e8c6200e4fb1a201d3625775a270e597159340f4173d34b88e1c14a5d"
}
......@@ -24,7 +24,7 @@
"installation": [
{
"type": "PIP",
"package_uri": "git+https://github.com/autonlab/fastlvm.git@76ff00e11f4c391c050a4a575258d9961d99061e#egg=fastlvm"
"package_uri": "git+https://github.com/autonlab/fastlvm.git@c77b1413155f4db3b4dea2f99870d155e58322a0#egg=fastlvm"
}
],
"schema": "https://metadata.datadrivendiscovery.org/schemas/v0/primitive.json",
......@@ -214,5 +214,5 @@
}
},
"structural_type": "fastlvm.covertree_regressor.CoverTreeRegressor",
"digest": "a724e6b7c8901eb2bae5c16ea4453444b0198e594801d1a0018e302d2bc823a6"
"digest": "2f2f446761b2129726ff15c0769c37c67f643212663e249f1f52960306fb2915"
}
......@@ -2,7 +2,7 @@
"id": "2a581b8d-baf0-4278-842e-082b796f3edd",
"version": "2.2.0",
"name": "find projections",
"description": "Class to search for 2-d projection boxes in raw feature space for discrete(categorical) output (for regression problems) .\nFor discrete output, the algorithm tries to find 2-d projection boxes which can separate out any class of data from the rest with high purity.\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": "Class to search for 2-d projection boxes in raw feature space for discrete(categorical) output (for regression\nproblems) . For discrete output, the algorithm tries to find 2-d projection boxes which can separate out any\nclass of data from the rest with high purity.\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.",
"python_path": "d3m.primitives.regression.search_hybrid_numeric.Find_projections",
"primitive_family": "REGRESSION",
"algorithm_types": [
......@@ -31,7 +31,7 @@
},
{
"type": "PIP",
"package_uri": "git+https://github.com/autonlab/find_projections.git@4e8fc05f64b889a97339341cecd34a7ad958babb#egg=find_projections"
"package_uri": "git+https://github.com/autonlab/find_projections.git@c544c40b49d76a0d99c5c5499dd9e5c156610f72#egg=find_projections"
}
],
"schema": "https://metadata.datadrivendiscovery.org/schemas/v0/primitive.json",
......@@ -282,5 +282,5 @@
}
},
"structural_type": "find_projections.search_numeric_projections_hybrid.SearchHybridNumeric",
"digest": "cf6da1c57406782f29e9255489aa377546b9de2eca105b8262fd34db5eb7cb53"
"digest": "26dacf6cb42dd48b7fcea6ebdf6f0ce9d363df321f08dbf9fcdeb6f4e8c39e77"
}
......@@ -2,7 +2,7 @@
"id": "fbc8d328-a553-4289-a21c-b1407a21a900",
"version": "2.2.0",
"name": "find projections numeric",
"description": "Class to search for 2-d projection boxes in raw feature space for numeric output (for regression problems).\nFor numeric output, the algorithm tries to find 2-d projection boxes which can separate out data points with low variance from the rest.\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": "Class to search for 2-d projection boxes in raw feature space for numeric output (for regression problems). For\nnumeric output, the algorithm tries to find 2-d projection boxes which can separate out data points with low\nvariance from the rest.\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.",
"python_path": "d3m.primitives.regression.search_numeric.Find_projections",
"primitive_family": "REGRESSION",
"algorithm_types": [
......@@ -31,7 +31,7 @@
},
{
"type": "PIP",
"package_uri": "git+https://github.com/autonlab/find_projections.git@4e8fc05f64b889a97339341cecd34a7ad958babb#egg=find_projections"
"package_uri": "git+https://github.com/autonlab/find_projections.git@c544c40b49d76a0d99c5c5499dd9e5c156610f72#egg=find_projections"
}
],
"schema": "https://metadata.datadrivendiscovery.org/schemas/v0/primitive.json",
......@@ -268,5 +268,5 @@
}
},
"structural_type": "find_projections.search_numeric_projections.SearchNumeric",
"digest": "7b9c5de07b3f93b0bc69efb43ac0fff9e240c791eaeb5cbd646e521ac5f42b3f"
"digest": "7df8d1acf67957c568d36d0cdbaad9e0b42c748c52d6f650512598b3f4a7a7b6"
}
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