nlptoolkit-classification 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/dist/Attribute/Attribute.js +6 -16
  2. package/dist/Attribute/Attribute.js.map +1 -1
  3. package/dist/Attribute/AttributeType.js +22 -32
  4. package/dist/Attribute/AttributeType.js.map +1 -1
  5. package/dist/Attribute/BinaryAttribute.js +14 -24
  6. package/dist/Attribute/BinaryAttribute.js.map +1 -1
  7. package/dist/Attribute/ContinuousAttribute.js +46 -55
  8. package/dist/Attribute/ContinuousAttribute.js.map +1 -1
  9. package/dist/Attribute/DiscreteAttribute.js +38 -48
  10. package/dist/Attribute/DiscreteAttribute.js.map +1 -1
  11. package/dist/Attribute/DiscreteIndexedAttribute.js +47 -55
  12. package/dist/Attribute/DiscreteIndexedAttribute.js.map +1 -1
  13. package/dist/DataSet/DataDefinition.js +115 -123
  14. package/dist/DataSet/DataDefinition.js.map +1 -1
  15. package/dist/DataSet/DataSet.js +268 -245
  16. package/dist/DataSet/DataSet.js.map +1 -1
  17. package/dist/DistanceMetric/DistanceMetric.js +2 -12
  18. package/dist/DistanceMetric/EuclidianDistance.js +27 -37
  19. package/dist/DistanceMetric/EuclidianDistance.js.map +1 -1
  20. package/dist/DistanceMetric/MahalanobisDistance.js +27 -36
  21. package/dist/DistanceMetric/MahalanobisDistance.js.map +1 -1
  22. package/dist/Experiment/BootstrapRun.js +31 -40
  23. package/dist/Experiment/BootstrapRun.js.map +1 -1
  24. package/dist/Experiment/Experiment.js +46 -53
  25. package/dist/Experiment/Experiment.js.map +1 -1
  26. package/dist/Experiment/KFoldRun.js +45 -54
  27. package/dist/Experiment/KFoldRun.js.map +1 -1
  28. package/dist/Experiment/KFoldRunSeparateTest.js +48 -58
  29. package/dist/Experiment/KFoldRunSeparateTest.js.map +1 -1
  30. package/dist/Experiment/MultipleRun.js +2 -12
  31. package/dist/Experiment/MxKFoldRun.js +31 -40
  32. package/dist/Experiment/MxKFoldRun.js.map +1 -1
  33. package/dist/Experiment/MxKFoldRunSeparateTest.js +35 -44
  34. package/dist/Experiment/MxKFoldRunSeparateTest.js.map +1 -1
  35. package/dist/Experiment/SingleRun.js +2 -12
  36. package/dist/Experiment/SingleRunWithK.js +39 -48
  37. package/dist/Experiment/SingleRunWithK.js.map +1 -1
  38. package/dist/Experiment/StratifiedKFoldRun.js +26 -36
  39. package/dist/Experiment/StratifiedKFoldRun.js.map +1 -1
  40. package/dist/Experiment/StratifiedKFoldRunSeparateTest.js +30 -40
  41. package/dist/Experiment/StratifiedKFoldRunSeparateTest.js.map +1 -1
  42. package/dist/Experiment/StratifiedMxKFoldRun.js +29 -39
  43. package/dist/Experiment/StratifiedMxKFoldRun.js.map +1 -1
  44. package/dist/Experiment/StratifiedMxKFoldRunSeparateTest.js +34 -43
  45. package/dist/Experiment/StratifiedMxKFoldRunSeparateTest.js.map +1 -1
  46. package/dist/Experiment/StratifiedSingleRunWithK.js +27 -36
  47. package/dist/Experiment/StratifiedSingleRunWithK.js.map +1 -1
  48. package/dist/FeatureSelection/BackwardSelection.js +26 -36
  49. package/dist/FeatureSelection/BackwardSelection.js.map +1 -1
  50. package/dist/FeatureSelection/FeatureSubSet.js +72 -82
  51. package/dist/FeatureSelection/FeatureSubSet.js.map +1 -1
  52. package/dist/FeatureSelection/FloatingSelection.js +25 -35
  53. package/dist/FeatureSelection/FloatingSelection.js.map +1 -1
  54. package/dist/FeatureSelection/ForwardSelection.js +25 -35
  55. package/dist/FeatureSelection/ForwardSelection.js.map +1 -1
  56. package/dist/FeatureSelection/SubSetSelection.js +69 -78
  57. package/dist/FeatureSelection/SubSetSelection.js.map +1 -1
  58. package/dist/Filter/DiscreteToContinuous.js +50 -60
  59. package/dist/Filter/DiscreteToContinuous.js.map +1 -1
  60. package/dist/Filter/DiscreteToIndexed.js +40 -50
  61. package/dist/Filter/DiscreteToIndexed.js.map +1 -1
  62. package/dist/Filter/FeatureFilter.js +23 -32
  63. package/dist/Filter/FeatureFilter.js.map +1 -1
  64. package/dist/Filter/LaryFilter.js +46 -55
  65. package/dist/Filter/LaryFilter.js.map +1 -1
  66. package/dist/Filter/LaryToBinary.js +48 -58
  67. package/dist/Filter/LaryToBinary.js.map +1 -1
  68. package/dist/Filter/Normalize.js +33 -41
  69. package/dist/Filter/Normalize.js.map +1 -1
  70. package/dist/Filter/Pca.js +86 -96
  71. package/dist/Filter/Pca.js.map +1 -1
  72. package/dist/Filter/TrainedFeatureFilter.js +14 -24
  73. package/dist/Filter/TrainedFeatureFilter.js.map +1 -1
  74. package/dist/Instance/CompositeInstance.js +46 -56
  75. package/dist/Instance/CompositeInstance.js.map +1 -1
  76. package/dist/Instance/Instance.js +145 -154
  77. package/dist/Instance/Instance.js.map +1 -1
  78. package/dist/InstanceList/InstanceList.js +466 -443
  79. package/dist/InstanceList/InstanceList.js.map +1 -1
  80. package/dist/InstanceList/InstanceListOfSameClass.js +23 -32
  81. package/dist/InstanceList/InstanceListOfSameClass.js.map +1 -1
  82. package/dist/InstanceList/Partition.js +167 -177
  83. package/dist/InstanceList/Partition.js.map +1 -1
  84. package/dist/Model/DecisionTree/DecisionCondition.js +71 -80
  85. package/dist/Model/DecisionTree/DecisionCondition.js.map +1 -1
  86. package/dist/Model/DecisionTree/DecisionNode.js +302 -311
  87. package/dist/Model/DecisionTree/DecisionNode.js.map +1 -1
  88. package/dist/Model/DecisionTree/DecisionStump.js +22 -32
  89. package/dist/Model/DecisionTree/DecisionStump.js.map +1 -1
  90. package/dist/Model/DecisionTree/DecisionTree.js +89 -98
  91. package/dist/Model/DecisionTree/DecisionTree.js.map +1 -1
  92. package/dist/Model/DummyModel.js +64 -73
  93. package/dist/Model/DummyModel.js.map +1 -1
  94. package/dist/Model/Ensemble/BaggingModel.js +34 -44
  95. package/dist/Model/Ensemble/BaggingModel.js.map +1 -1
  96. package/dist/Model/Ensemble/RandomForestModel.js +31 -41
  97. package/dist/Model/Ensemble/RandomForestModel.js.map +1 -1
  98. package/dist/Model/Ensemble/TreeEnsembleModel.js +55 -64
  99. package/dist/Model/Ensemble/TreeEnsembleModel.js.map +1 -1
  100. package/dist/Model/Model.js +130 -140
  101. package/dist/Model/Model.js.map +1 -1
  102. package/dist/Model/NeuralNetwork/DeepNetworkModel.js +162 -169
  103. package/dist/Model/NeuralNetwork/DeepNetworkModel.js.map +1 -1
  104. package/dist/Model/NeuralNetwork/LinearPerceptronModel.js +69 -78
  105. package/dist/Model/NeuralNetwork/LinearPerceptronModel.js.map +1 -1
  106. package/dist/Model/NeuralNetwork/MultiLayerPerceptronModel.js +112 -120
  107. package/dist/Model/NeuralNetwork/MultiLayerPerceptronModel.js.map +1 -1
  108. package/dist/Model/NeuralNetwork/NeuralNetworkModel.js +197 -201
  109. package/dist/Model/NeuralNetwork/NeuralNetworkModel.js.map +1 -1
  110. package/dist/Model/NonParametric/KnnInstance.js +21 -29
  111. package/dist/Model/NonParametric/KnnInstance.js.map +1 -1
  112. package/dist/Model/NonParametric/KnnModel.js +101 -108
  113. package/dist/Model/NonParametric/KnnModel.js.map +1 -1
  114. package/dist/Model/Parametric/GaussianModel.js +82 -91
  115. package/dist/Model/Parametric/GaussianModel.js.map +1 -1
  116. package/dist/Model/Parametric/KMeansModel.js +59 -67
  117. package/dist/Model/Parametric/KMeansModel.js.map +1 -1
  118. package/dist/Model/Parametric/LdaModel.js +83 -91
  119. package/dist/Model/Parametric/LdaModel.js.map +1 -1
  120. package/dist/Model/Parametric/NaiveBayesModel.js +119 -132
  121. package/dist/Model/Parametric/NaiveBayesModel.js.map +1 -1
  122. package/dist/Model/Parametric/QdaModel.js +70 -79
  123. package/dist/Model/Parametric/QdaModel.js.map +1 -1
  124. package/dist/Model/RandomModel.js +85 -92
  125. package/dist/Model/RandomModel.js.map +1 -1
  126. package/dist/Model/ValidatedModel.js +21 -31
  127. package/dist/Model/ValidatedModel.js.map +1 -1
  128. package/dist/Parameter/ActivationFunction.js +9 -19
  129. package/dist/Parameter/ActivationFunction.js.map +1 -1
  130. package/dist/Parameter/BaggingParameter.js +24 -33
  131. package/dist/Parameter/BaggingParameter.js.map +1 -1
  132. package/dist/Parameter/C45Parameter.js +34 -42
  133. package/dist/Parameter/C45Parameter.js.map +1 -1
  134. package/dist/Parameter/DeepNetworkParameter.js +48 -56
  135. package/dist/Parameter/DeepNetworkParameter.js.map +1 -1
  136. package/dist/Parameter/KMeansParameter.js +29 -38
  137. package/dist/Parameter/KMeansParameter.js.map +1 -1
  138. package/dist/Parameter/KnnParameter.js +25 -34
  139. package/dist/Parameter/KnnParameter.js.map +1 -1
  140. package/dist/Parameter/LinearPerceptronParameter.js +56 -62
  141. package/dist/Parameter/LinearPerceptronParameter.js.map +1 -1
  142. package/dist/Parameter/MultiLayerPerceptronParameter.js +38 -46
  143. package/dist/Parameter/MultiLayerPerceptronParameter.js.map +1 -1
  144. package/dist/Parameter/Parameter.js +21 -30
  145. package/dist/Parameter/Parameter.js.map +1 -1
  146. package/dist/Parameter/RandomForestParameter.js +25 -34
  147. package/dist/Parameter/RandomForestParameter.js.map +1 -1
  148. package/dist/Performance/ClassificationPerformance.js +24 -33
  149. package/dist/Performance/ClassificationPerformance.js.map +1 -1
  150. package/dist/Performance/ConfusionMatrix.js +149 -158
  151. package/dist/Performance/ConfusionMatrix.js.map +1 -1
  152. package/dist/Performance/DetailedClassificationPerformance.js +23 -32
  153. package/dist/Performance/DetailedClassificationPerformance.js.map +1 -1
  154. package/dist/Performance/ExperimentPerformance.js +184 -161
  155. package/dist/Performance/ExperimentPerformance.js.map +1 -1
  156. package/dist/Performance/Performance.js +21 -30
  157. package/dist/Performance/Performance.js.map +1 -1
  158. package/dist/StatisticalTest/Combined5x2F.js +41 -51
  159. package/dist/StatisticalTest/Combined5x2F.js.map +1 -1
  160. package/dist/StatisticalTest/Combined5x2t.js +42 -52
  161. package/dist/StatisticalTest/Combined5x2t.js.map +1 -1
  162. package/dist/StatisticalTest/Paired5x2t.js +40 -50
  163. package/dist/StatisticalTest/Paired5x2t.js.map +1 -1
  164. package/dist/StatisticalTest/PairedTest.js +31 -41
  165. package/dist/StatisticalTest/PairedTest.js.map +1 -1
  166. package/dist/StatisticalTest/Pairedt.js +38 -48
  167. package/dist/StatisticalTest/Pairedt.js.map +1 -1
  168. package/dist/StatisticalTest/Sign.js +50 -60
  169. package/dist/StatisticalTest/Sign.js.map +1 -1
  170. package/dist/StatisticalTest/StatisticalTestResult.js +65 -73
  171. package/dist/StatisticalTest/StatisticalTestResult.js.map +1 -1
  172. package/dist/StatisticalTest/StatisticalTestResultType.js +11 -21
  173. package/dist/StatisticalTest/StatisticalTestResultType.js.map +1 -1
  174. package/dist/index.js +95 -101
  175. package/dist/index.js.map +1 -1
  176. package/package.json +7 -6
  177. package/tsconfig.json +4 -3
  178. package/source/tsconfig.json +0 -13
@@ -1,60 +1,52 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeepNetworkParameter = void 0;
4
+ const LinearPerceptronParameter_1 = require("./LinearPerceptronParameter");
5
+ class DeepNetworkParameter extends LinearPerceptronParameter_1.LinearPerceptronParameter {
6
+ hiddenLayers;
7
+ activationFunction;
8
+ /**
9
+ * Parameters of the deep network classifier.
10
+ *
11
+ * @param seed Seed is used for random number generation.
12
+ * @param learningRate Double value for learning rate of the algorithm.
13
+ * @param etaDecrease Double value for decrease in eta of the algorithm.
14
+ * @param crossValidationRatio Double value for cross validation ratio of the algorithm.
15
+ * @param epoch Integer value for epoch number of the algorithm.
16
+ * @param hiddenLayers An integer {@link Array} for hidden layers of the algorithm.
17
+ * @param activationFunction Activation function
18
+ */
19
+ constructor(seed, learningRate, etaDecrease, crossValidationRatio, epoch, hiddenLayers, activationFunction) {
20
+ super(seed, learningRate, etaDecrease, crossValidationRatio, epoch);
21
+ this.hiddenLayers = hiddenLayers;
22
+ this.activationFunction = activationFunction;
5
23
  }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports", "./LinearPerceptronParameter"], factory);
24
+ /**
25
+ * The layerSize method returns the size of the hiddenLayers {@link Array}.
26
+ *
27
+ * @return The size of the hiddenLayers {@link Array}.
28
+ */
29
+ layerSize() {
30
+ return this.hiddenLayers.length;
8
31
  }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.DeepNetworkParameter = void 0;
13
- const LinearPerceptronParameter_1 = require("./LinearPerceptronParameter");
14
- class DeepNetworkParameter extends LinearPerceptronParameter_1.LinearPerceptronParameter {
15
- /**
16
- * Parameters of the deep network classifier.
17
- *
18
- * @param seed Seed is used for random number generation.
19
- * @param learningRate Double value for learning rate of the algorithm.
20
- * @param etaDecrease Double value for decrease in eta of the algorithm.
21
- * @param crossValidationRatio Double value for cross validation ratio of the algorithm.
22
- * @param epoch Integer value for epoch number of the algorithm.
23
- * @param hiddenLayers An integer {@link Array} for hidden layers of the algorithm.
24
- * @param activationFunction Activation function
25
- */
26
- constructor(seed, learningRate, etaDecrease, crossValidationRatio, epoch, hiddenLayers, activationFunction) {
27
- super(seed, learningRate, etaDecrease, crossValidationRatio, epoch);
28
- this.hiddenLayers = hiddenLayers;
29
- this.activationFunction = activationFunction;
30
- }
31
- /**
32
- * The layerSize method returns the size of the hiddenLayers {@link Array}.
33
- *
34
- * @return The size of the hiddenLayers {@link Array}.
35
- */
36
- layerSize() {
37
- return this.hiddenLayers.length;
38
- }
39
- /**
40
- * The getHiddenNodes method takes a layer index as an input and returns the element at the given index of hiddenLayers
41
- * {@link Array}.
42
- *
43
- * @param layerIndex Index of the layer.
44
- * @return The element at the layerIndex of hiddenLayers {@link Array}.
45
- */
46
- getHiddenNodes(layerIndex) {
47
- return this.hiddenLayers[layerIndex];
48
- }
49
- /**
50
- * Accessor for the activation function.
51
- *
52
- * @return The activation function.
53
- */
54
- getActivationFunction() {
55
- return this.activationFunction;
56
- }
32
+ /**
33
+ * The getHiddenNodes method takes a layer index as an input and returns the element at the given index of hiddenLayers
34
+ * {@link Array}.
35
+ *
36
+ * @param layerIndex Index of the layer.
37
+ * @return The element at the layerIndex of hiddenLayers {@link Array}.
38
+ */
39
+ getHiddenNodes(layerIndex) {
40
+ return this.hiddenLayers[layerIndex];
57
41
  }
58
- exports.DeepNetworkParameter = DeepNetworkParameter;
59
- });
42
+ /**
43
+ * Accessor for the activation function.
44
+ *
45
+ * @return The activation function.
46
+ */
47
+ getActivationFunction() {
48
+ return this.activationFunction;
49
+ }
50
+ }
51
+ exports.DeepNetworkParameter = DeepNetworkParameter;
60
52
  //# sourceMappingURL=DeepNetworkParameter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeepNetworkParameter.js","sourceRoot":"","sources":["../../source/Parameter/DeepNetworkParameter.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,2EAAsE;IAGtE,MAAa,oBAAqB,SAAQ,qDAAyB;QAI/D;;;;;;;;;;WAUG;QACH,YAAY,IAAY,EACZ,YAAoB,EACpB,WAAmB,EACnB,oBAA4B,EAC5B,KAAa,EACb,YAA2B,EAC3B,kBAAsC;YAC9C,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,oBAAoB,EAAE,KAAK,CAAC,CAAC;YACpE,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;YAChC,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;QAChD,CAAC;QAED;;;;WAIG;QACH,SAAS;YACL,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,CAAA;QACnC,CAAC;QAED;;;;;;WAMG;QACH,cAAc,CAAC,UAAkB;YAC7B,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAA;QACxC,CAAC;QAED;;;;WAIG;QACH,qBAAqB;YACjB,OAAO,IAAI,CAAC,kBAAkB,CAAA;QAClC,CAAC;KACJ;IAvDD,oDAuDC"}
1
+ {"version":3,"file":"DeepNetworkParameter.js","sourceRoot":"","sources":["../../source/Parameter/DeepNetworkParameter.ts"],"names":[],"mappings":";;;AAAA,2EAAsE;AAGtE,MAAa,oBAAqB,SAAQ,qDAAyB;IAC9C,YAAY,CAAe;IAC3B,kBAAkB,CAAoB;IAEvD;;;;;;;;;;OAUG;IACH,YAAY,IAAY,EACZ,YAAoB,EACpB,WAAmB,EACnB,oBAA4B,EAC5B,KAAa,EACb,YAA2B,EAC3B,kBAAsC;QAC9C,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,oBAAoB,EAAE,KAAK,CAAC,CAAC;QACpE,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;QAChC,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;IAChD,CAAC;IAED;;;;OAIG;IACH,SAAS;QACL,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,CAAA;IACnC,CAAC;IAED;;;;;;OAMG;IACH,cAAc,CAAC,UAAkB;QAC7B,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAA;IACxC,CAAC;IAED;;;;OAIG;IACH,qBAAqB;QACjB,OAAO,IAAI,CAAC,kBAAkB,CAAA;IAClC,CAAC;CACJ;AAvDD,oDAuDC"}
@@ -1,42 +1,33 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
5
- }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports", "./Parameter", "../DistanceMetric/EuclidianDistance"], factory);
8
- }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.KMeansParameter = void 0;
13
- const Parameter_1 = require("./Parameter");
14
- const EuclidianDistance_1 = require("../DistanceMetric/EuclidianDistance");
15
- class KMeansParameter extends Parameter_1.Parameter {
16
- /**
17
- * * Parameters of the K Means classifier.
18
- *
19
- * @param seed Seed is used for random number generation.
20
- * @param distanceMetric distance metric used to calculate the distance between two instances.
21
- */
22
- constructor(seed, distanceMetric) {
23
- super(seed);
24
- if (distanceMetric == undefined) {
25
- this.distanceMetric = new EuclidianDistance_1.EuclidianDistance();
26
- }
27
- else {
28
- this.distanceMetric = distanceMetric;
29
- }
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KMeansParameter = void 0;
4
+ const Parameter_1 = require("./Parameter");
5
+ const EuclidianDistance_1 = require("../DistanceMetric/EuclidianDistance");
6
+ class KMeansParameter extends Parameter_1.Parameter {
7
+ distanceMetric;
8
+ /**
9
+ * * Parameters of the K Means classifier.
10
+ *
11
+ * @param seed Seed is used for random number generation.
12
+ * @param distanceMetric distance metric used to calculate the distance between two instances.
13
+ */
14
+ constructor(seed, distanceMetric) {
15
+ super(seed);
16
+ if (distanceMetric == undefined) {
17
+ this.distanceMetric = new EuclidianDistance_1.EuclidianDistance();
30
18
  }
31
- /**
32
- * Accessor for the distanceMetric.
33
- *
34
- * @return The distanceMetric.
35
- */
36
- getDistanceMetric() {
37
- return this.distanceMetric;
19
+ else {
20
+ this.distanceMetric = distanceMetric;
38
21
  }
39
22
  }
40
- exports.KMeansParameter = KMeansParameter;
41
- });
23
+ /**
24
+ * Accessor for the distanceMetric.
25
+ *
26
+ * @return The distanceMetric.
27
+ */
28
+ getDistanceMetric() {
29
+ return this.distanceMetric;
30
+ }
31
+ }
32
+ exports.KMeansParameter = KMeansParameter;
42
33
  //# sourceMappingURL=KMeansParameter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"KMeansParameter.js","sourceRoot":"","sources":["../../source/Parameter/KMeansParameter.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,2CAAsC;IAEtC,2EAAsE;IAEtE,MAAa,eAAgB,SAAQ,qBAAS;QAI1C;;;;;WAKG;QACH,YAAY,IAAY,EAAE,cAA+B;YACrD,KAAK,CAAC,IAAI,CAAC,CAAC;YACZ,IAAI,cAAc,IAAI,SAAS,EAAC;gBAC5B,IAAI,CAAC,cAAc,GAAG,IAAI,qCAAiB,EAAE,CAAA;aAChD;iBAAM;gBACH,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;aACvC;QACL,CAAC;QAED;;;;WAIG;QACH,iBAAiB;YACb,OAAO,IAAI,CAAC,cAAc,CAAA;QAC9B,CAAC;KAEJ;IA5BD,0CA4BC"}
1
+ {"version":3,"file":"KMeansParameter.js","sourceRoot":"","sources":["../../source/Parameter/KMeansParameter.ts"],"names":[],"mappings":";;;AAAA,2CAAsC;AAEtC,2EAAsE;AAEtE,MAAa,eAAgB,SAAQ,qBAAS;IAEhC,cAAc,CAAgB;IAExC;;;;;OAKG;IACH,YAAY,IAAY,EAAE,cAA+B;QACrD,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,cAAc,IAAI,SAAS,EAAC,CAAC;YAC7B,IAAI,CAAC,cAAc,GAAG,IAAI,qCAAiB,EAAE,CAAA;QACjD,CAAC;aAAM,CAAC;YACJ,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACxC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,iBAAiB;QACb,OAAO,IAAI,CAAC,cAAc,CAAA;IAC9B,CAAC;CAEJ;AA5BD,0CA4BC"}
@@ -1,37 +1,28 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KnnParameter = void 0;
4
+ const KMeansParameter_1 = require("./KMeansParameter");
5
+ class KnnParameter extends KMeansParameter_1.KMeansParameter {
6
+ k;
7
+ /**
8
+ * Parameters of the K-nearest neighbor classifier.
9
+ *
10
+ * @param seed Seed is used for random number generation.
11
+ * @param k Parameter of the K-nearest neighbor algorithm.
12
+ * @param distanceMetric Used to calculate the distance between two instances.
13
+ */
14
+ constructor(seed, k, distanceMetric) {
15
+ super(seed, distanceMetric);
16
+ this.k = k;
5
17
  }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports", "./KMeansParameter"], factory);
18
+ /**
19
+ * Accessor for the k.
20
+ *
21
+ * @return Value of the k.
22
+ */
23
+ getK() {
24
+ return this.k;
8
25
  }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.KnnParameter = void 0;
13
- const KMeansParameter_1 = require("./KMeansParameter");
14
- class KnnParameter extends KMeansParameter_1.KMeansParameter {
15
- /**
16
- * Parameters of the K-nearest neighbor classifier.
17
- *
18
- * @param seed Seed is used for random number generation.
19
- * @param k Parameter of the K-nearest neighbor algorithm.
20
- * @param distanceMetric Used to calculate the distance between two instances.
21
- */
22
- constructor(seed, k, distanceMetric) {
23
- super(seed, distanceMetric);
24
- this.k = k;
25
- }
26
- /**
27
- * Accessor for the k.
28
- *
29
- * @return Value of the k.
30
- */
31
- getK() {
32
- return this.k;
33
- }
34
- }
35
- exports.KnnParameter = KnnParameter;
36
- });
26
+ }
27
+ exports.KnnParameter = KnnParameter;
37
28
  //# sourceMappingURL=KnnParameter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"KnnParameter.js","sourceRoot":"","sources":["../../source/Parameter/KnnParameter.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,uDAAkD;IAGlD,MAAa,YAAa,SAAQ,iCAAe;QAI7C;;;;;;WAMG;QACH,YAAY,IAAY,EAAE,CAAS,EAAE,cAA+B;YAChE,KAAK,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;YAC5B,IAAI,CAAC,CAAC,GAAG,CAAC,CAAA;QACd,CAAC;QAED;;;;WAIG;QACH,IAAI;YACA,OAAO,IAAI,CAAC,CAAC,CAAA;QACjB,CAAC;KACJ;IAxBD,oCAwBC"}
1
+ {"version":3,"file":"KnnParameter.js","sourceRoot":"","sources":["../../source/Parameter/KnnParameter.ts"],"names":[],"mappings":";;;AAAA,uDAAkD;AAGlD,MAAa,YAAa,SAAQ,iCAAe;IAE5B,CAAC,CAAQ;IAE1B;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,CAAS,EAAE,cAA+B;QAChE,KAAK,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;QAC5B,IAAI,CAAC,CAAC,GAAG,CAAC,CAAA;IACd,CAAC;IAED;;;;OAIG;IACH,IAAI;QACA,OAAO,IAAI,CAAC,CAAC,CAAA;IACjB,CAAC;CACJ;AAxBD,oCAwBC"}
@@ -1,66 +1,60 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LinearPerceptronParameter = void 0;
4
+ const Parameter_1 = require("./Parameter");
5
+ class LinearPerceptronParameter extends Parameter_1.Parameter {
6
+ learningRate;
7
+ etaDecrease;
8
+ crossValidationRatio;
9
+ epoch;
10
+ /**
11
+ * Parameters of the linear perceptron algorithm.
12
+ *
13
+ * @param seed Seed is used for random number generation.
14
+ * @param learningRate Double value for learning rate of the algorithm.
15
+ * @param etaDecrease Double value for decrease in eta of the algorithm.
16
+ * @param crossValidationRatio Double value for cross validation ratio of the algorithm.
17
+ * @param epoch Integer value for epoch number of the algorithm.
18
+ */
19
+ constructor(seed, learningRate, etaDecrease, crossValidationRatio, epoch) {
20
+ super(seed);
21
+ this.learningRate = learningRate;
22
+ this.etaDecrease = etaDecrease;
23
+ this.crossValidationRatio = crossValidationRatio;
24
+ this.epoch = epoch;
5
25
  }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports", "./Parameter"], factory);
26
+ /**
27
+ * Accessor for the learningRate.
28
+ *
29
+ * @return The learningRate.
30
+ */
31
+ getLearningRate() {
32
+ return this.learningRate;
8
33
  }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.LinearPerceptronParameter = void 0;
13
- const Parameter_1 = require("./Parameter");
14
- class LinearPerceptronParameter extends Parameter_1.Parameter {
15
- /**
16
- * Parameters of the linear perceptron algorithm.
17
- *
18
- * @param seed Seed is used for random number generation.
19
- * @param learningRate Double value for learning rate of the algorithm.
20
- * @param etaDecrease Double value for decrease in eta of the algorithm.
21
- * @param crossValidationRatio Double value for cross validation ratio of the algorithm.
22
- * @param epoch Integer value for epoch number of the algorithm.
23
- */
24
- constructor(seed, learningRate, etaDecrease, crossValidationRatio, epoch) {
25
- super(seed);
26
- this.learningRate = learningRate;
27
- this.etaDecrease = etaDecrease;
28
- this.crossValidationRatio = crossValidationRatio;
29
- this.epoch = epoch;
30
- }
31
- /**
32
- * Accessor for the learningRate.
33
- *
34
- * @return The learningRate.
35
- */
36
- getLearningRate() {
37
- return this.learningRate;
38
- }
39
- /**
40
- * Accessor for the etaDecrease.
41
- *
42
- * @return The etaDecrease.
43
- */
44
- getEtaDecrease() {
45
- return this.etaDecrease;
46
- }
47
- /**
48
- * Accessor for the crossValidationRatio.
49
- *
50
- * @return The crossValidationRatio.
51
- */
52
- getCrossValidationRatio() {
53
- return this.crossValidationRatio;
54
- }
55
- /**
56
- * Accessor for the epoch.
57
- *
58
- * @return The epoch.
59
- */
60
- getEpoch() {
61
- return this.epoch;
62
- }
34
+ /**
35
+ * Accessor for the etaDecrease.
36
+ *
37
+ * @return The etaDecrease.
38
+ */
39
+ getEtaDecrease() {
40
+ return this.etaDecrease;
63
41
  }
64
- exports.LinearPerceptronParameter = LinearPerceptronParameter;
65
- });
42
+ /**
43
+ * Accessor for the crossValidationRatio.
44
+ *
45
+ * @return The crossValidationRatio.
46
+ */
47
+ getCrossValidationRatio() {
48
+ return this.crossValidationRatio;
49
+ }
50
+ /**
51
+ * Accessor for the epoch.
52
+ *
53
+ * @return The epoch.
54
+ */
55
+ getEpoch() {
56
+ return this.epoch;
57
+ }
58
+ }
59
+ exports.LinearPerceptronParameter = LinearPerceptronParameter;
66
60
  //# sourceMappingURL=LinearPerceptronParameter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinearPerceptronParameter.js","sourceRoot":"","sources":["../../source/Parameter/LinearPerceptronParameter.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,2CAAsC;IAEtC,MAAa,yBAA0B,SAAQ,qBAAS;QAOpD;;;;;;;;WAQG;QACH,YAAY,IAAY,EACZ,YAAoB,EACpB,WAAmB,EACnB,oBAA4B,EAC5B,KAAa;YACrB,KAAK,CAAC,IAAI,CAAC,CAAC;YACZ,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;YAChC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;YAC9B,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;YAChD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;QACtB,CAAC;QAED;;;;WAIG;QACH,eAAe;YACX,OAAO,IAAI,CAAC,YAAY,CAAA;QAC5B,CAAC;QAED;;;;WAIG;QACH,cAAc;YACV,OAAO,IAAI,CAAC,WAAW,CAAA;QAC3B,CAAC;QAED;;;;WAIG;QACH,uBAAuB;YACnB,OAAO,IAAI,CAAC,oBAAoB,CAAA;QACpC,CAAC;QAED;;;;WAIG;QACH,QAAQ;YACJ,OAAO,IAAI,CAAC,KAAK,CAAA;QACrB,CAAC;KACJ;IA/DD,8DA+DC"}
1
+ {"version":3,"file":"LinearPerceptronParameter.js","sourceRoot":"","sources":["../../source/Parameter/LinearPerceptronParameter.ts"],"names":[],"mappings":";;;AAAA,2CAAsC;AAEtC,MAAa,yBAA0B,SAAQ,qBAAS;IAEnC,YAAY,CAAQ;IACpB,WAAW,CAAQ;IACnB,oBAAoB,CAAQ;IAC5B,KAAK,CAAQ;IAE9B;;;;;;;;OAQG;IACH,YAAY,IAAY,EACZ,YAAoB,EACpB,WAAmB,EACnB,oBAA4B,EAC5B,KAAa;QACrB,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;QAChC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;QAC9B,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;QAChD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;IACtB,CAAC;IAED;;;;OAIG;IACH,eAAe;QACX,OAAO,IAAI,CAAC,YAAY,CAAA;IAC5B,CAAC;IAED;;;;OAIG;IACH,cAAc;QACV,OAAO,IAAI,CAAC,WAAW,CAAA;IAC3B,CAAC;IAED;;;;OAIG;IACH,uBAAuB;QACnB,OAAO,IAAI,CAAC,oBAAoB,CAAA;IACpC,CAAC;IAED;;;;OAIG;IACH,QAAQ;QACJ,OAAO,IAAI,CAAC,KAAK,CAAA;IACrB,CAAC;CACJ;AA/DD,8DA+DC"}
@@ -1,50 +1,42 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MultiLayerPerceptronParameter = void 0;
4
+ const LinearPerceptronParameter_1 = require("./LinearPerceptronParameter");
5
+ class MultiLayerPerceptronParameter extends LinearPerceptronParameter_1.LinearPerceptronParameter {
6
+ hiddenNodes;
7
+ activationFunction;
8
+ /**
9
+ * Parameters of the multi layer perceptron algorithm.
10
+ *
11
+ * @param seed Seed is used for random number generation.
12
+ * @param learningRate Double value for learning rate of the algorithm.
13
+ * @param etaDecrease Double value for decrease in eta of the algorithm.
14
+ * @param crossValidationRatio Double value for cross validation ratio of the algorithm.
15
+ * @param epoch Integer value for epoch number of the algorithm.
16
+ * @param hiddenNodes Integer value for the number of hidden nodes.
17
+ * @param activationFunction Activation function
18
+ */
19
+ constructor(seed, learningRate, etaDecrease, crossValidationRatio, epoch, hiddenNodes, activationFunction) {
20
+ super(seed, learningRate, etaDecrease, crossValidationRatio, epoch);
21
+ this.hiddenNodes = hiddenNodes;
22
+ this.activationFunction = activationFunction;
5
23
  }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports", "./LinearPerceptronParameter"], factory);
24
+ /**
25
+ * Accessor for the hiddenNodes.
26
+ *
27
+ * @return The hiddenNodes.
28
+ */
29
+ getHiddenNodes() {
30
+ return this.hiddenNodes;
8
31
  }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.MultiLayerPerceptronParameter = void 0;
13
- const LinearPerceptronParameter_1 = require("./LinearPerceptronParameter");
14
- class MultiLayerPerceptronParameter extends LinearPerceptronParameter_1.LinearPerceptronParameter {
15
- /**
16
- * Parameters of the multi layer perceptron algorithm.
17
- *
18
- * @param seed Seed is used for random number generation.
19
- * @param learningRate Double value for learning rate of the algorithm.
20
- * @param etaDecrease Double value for decrease in eta of the algorithm.
21
- * @param crossValidationRatio Double value for cross validation ratio of the algorithm.
22
- * @param epoch Integer value for epoch number of the algorithm.
23
- * @param hiddenNodes Integer value for the number of hidden nodes.
24
- * @param activationFunction Activation function
25
- */
26
- constructor(seed, learningRate, etaDecrease, crossValidationRatio, epoch, hiddenNodes, activationFunction) {
27
- super(seed, learningRate, etaDecrease, crossValidationRatio, epoch);
28
- this.hiddenNodes = hiddenNodes;
29
- this.activationFunction = activationFunction;
30
- }
31
- /**
32
- * Accessor for the hiddenNodes.
33
- *
34
- * @return The hiddenNodes.
35
- */
36
- getHiddenNodes() {
37
- return this.hiddenNodes;
38
- }
39
- /**
40
- * Accessor for the activation function.
41
- *
42
- * @return The activation function.
43
- */
44
- getActivationFunction() {
45
- return this.activationFunction;
46
- }
32
+ /**
33
+ * Accessor for the activation function.
34
+ *
35
+ * @return The activation function.
36
+ */
37
+ getActivationFunction() {
38
+ return this.activationFunction;
47
39
  }
48
- exports.MultiLayerPerceptronParameter = MultiLayerPerceptronParameter;
49
- });
40
+ }
41
+ exports.MultiLayerPerceptronParameter = MultiLayerPerceptronParameter;
50
42
  //# sourceMappingURL=MultiLayerPerceptronParameter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MultiLayerPerceptronParameter.js","sourceRoot":"","sources":["../../source/Parameter/MultiLayerPerceptronParameter.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,2EAAsE;IAGtE,MAAa,6BAA8B,SAAQ,qDAAyB;QAKxE;;;;;;;;;;WAUG;QACH,YAAY,IAAY,EACZ,YAAoB,EACpB,WAAmB,EACnB,oBAA4B,EAC5B,KAAa,EACb,WAAmB,EACnB,kBAAsC;YAC9C,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,oBAAoB,EAAE,KAAK,CAAC,CAAC;YACpE,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;YAC9B,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;QAChD,CAAC;QAED;;;;WAIG;QACH,cAAc;YACV,OAAO,IAAI,CAAC,WAAW,CAAA;QAC3B,CAAC;QAED;;;;WAIG;QACH,qBAAqB;YACjB,OAAO,IAAI,CAAC,kBAAkB,CAAA;QAClC,CAAC;KACJ;IA7CD,sEA6CC"}
1
+ {"version":3,"file":"MultiLayerPerceptronParameter.js","sourceRoot":"","sources":["../../source/Parameter/MultiLayerPerceptronParameter.ts"],"names":[],"mappings":";;;AAAA,2EAAsE;AAGtE,MAAa,6BAA8B,SAAQ,qDAAyB;IAEvD,WAAW,CAAQ;IACnB,kBAAkB,CAAoB;IAEvD;;;;;;;;;;OAUG;IACH,YAAY,IAAY,EACZ,YAAoB,EACpB,WAAmB,EACnB,oBAA4B,EAC5B,KAAa,EACb,WAAmB,EACnB,kBAAsC;QAC9C,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,oBAAoB,EAAE,KAAK,CAAC,CAAC;QACpE,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;QAC9B,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;IAChD,CAAC;IAED;;;;OAIG;IACH,cAAc;QACV,OAAO,IAAI,CAAC,WAAW,CAAA;IAC3B,CAAC;IAED;;;;OAIG;IACH,qBAAqB;QACjB,OAAO,IAAI,CAAC,kBAAkB,CAAA;IAClC,CAAC;CACJ;AA7CD,sEA6CC"}
@@ -1,33 +1,24 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Parameter = void 0;
4
+ class Parameter {
5
+ seed;
6
+ /**
7
+ * Constructor of {@link Parameter} class which assigns given seed value to seed.
8
+ *
9
+ * @param seed Seed is used for random number generation.
10
+ */
11
+ constructor(seed) {
12
+ this.seed = seed;
5
13
  }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
14
+ /**
15
+ * Accessor for the seed.
16
+ *
17
+ * @return The seed.
18
+ */
19
+ getSeed() {
20
+ return this.seed;
8
21
  }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.Parameter = void 0;
13
- class Parameter {
14
- /**
15
- * Constructor of {@link Parameter} class which assigns given seed value to seed.
16
- *
17
- * @param seed Seed is used for random number generation.
18
- */
19
- constructor(seed) {
20
- this.seed = seed;
21
- }
22
- /**
23
- * Accessor for the seed.
24
- *
25
- * @return The seed.
26
- */
27
- getSeed() {
28
- return this.seed;
29
- }
30
- }
31
- exports.Parameter = Parameter;
32
- });
22
+ }
23
+ exports.Parameter = Parameter;
33
24
  //# sourceMappingURL=Parameter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Parameter.js","sourceRoot":"","sources":["../../source/Parameter/Parameter.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,MAAa,SAAS;QAIlB;;;;WAIG;QACH,YAAY,IAAY;YACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QACpB,CAAC;QAED;;;;WAIG;QACH,OAAO;YACH,OAAO,IAAI,CAAC,IAAI,CAAA;QACpB,CAAC;KACJ;IArBD,8BAqBC"}
1
+ {"version":3,"file":"Parameter.js","sourceRoot":"","sources":["../../source/Parameter/Parameter.ts"],"names":[],"mappings":";;;AAAA,MAAa,SAAS;IAED,IAAI,CAAQ;IAE7B;;;;OAIG;IACH,YAAY,IAAY;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IACpB,CAAC;IAED;;;;OAIG;IACH,OAAO;QACH,OAAO,IAAI,CAAC,IAAI,CAAA;IACpB,CAAC;CACJ;AArBD,8BAqBC"}
@@ -1,37 +1,28 @@
1
- (function (factory) {
2
- if (typeof module === "object" && typeof module.exports === "object") {
3
- var v = factory(require, exports);
4
- if (v !== undefined) module.exports = v;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RandomForestParameter = void 0;
4
+ const BaggingParameter_1 = require("./BaggingParameter");
5
+ class RandomForestParameter extends BaggingParameter_1.BaggingParameter {
6
+ attributeSubsetSize;
7
+ /**
8
+ * Parameters of the random forest classifier.
9
+ *
10
+ * @param seed Seed is used for random number generation.
11
+ * @param ensembleSize The number of trees in the bagged forest.
12
+ * @param attributeSubsetSize Integer value for the size of attribute subset.
13
+ */
14
+ constructor(seed, ensembleSize, attributeSubsetSize) {
15
+ super(seed, ensembleSize);
16
+ this.attributeSubsetSize = attributeSubsetSize;
5
17
  }
6
- else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports", "./BaggingParameter"], factory);
18
+ /**
19
+ * Accessor for the attributeSubsetSize.
20
+ *
21
+ * @return The attributeSubsetSize.
22
+ */
23
+ getAttributeSubsetSize() {
24
+ return this.attributeSubsetSize;
8
25
  }
9
- })(function (require, exports) {
10
- "use strict";
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.RandomForestParameter = void 0;
13
- const BaggingParameter_1 = require("./BaggingParameter");
14
- class RandomForestParameter extends BaggingParameter_1.BaggingParameter {
15
- /**
16
- * Parameters of the random forest classifier.
17
- *
18
- * @param seed Seed is used for random number generation.
19
- * @param ensembleSize The number of trees in the bagged forest.
20
- * @param attributeSubsetSize Integer value for the size of attribute subset.
21
- */
22
- constructor(seed, ensembleSize, attributeSubsetSize) {
23
- super(seed, ensembleSize);
24
- this.attributeSubsetSize = attributeSubsetSize;
25
- }
26
- /**
27
- * Accessor for the attributeSubsetSize.
28
- *
29
- * @return The attributeSubsetSize.
30
- */
31
- getAttributeSubsetSize() {
32
- return this.attributeSubsetSize;
33
- }
34
- }
35
- exports.RandomForestParameter = RandomForestParameter;
36
- });
26
+ }
27
+ exports.RandomForestParameter = RandomForestParameter;
37
28
  //# sourceMappingURL=RandomForestParameter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RandomForestParameter.js","sourceRoot":"","sources":["../../source/Parameter/RandomForestParameter.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,yDAAoD;IAEpD,MAAa,qBAAsB,SAAQ,mCAAgB;QAIvD;;;;;;WAMG;QACH,YAAY,IAAY,EAAE,YAAoB,EAAE,mBAA2B;YACvE,KAAK,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;YAC1B,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAClD,CAAC;QAED;;;;WAIG;QACH,sBAAsB;YAClB,OAAO,IAAI,CAAC,mBAAmB,CAAA;QACnC,CAAC;KACJ;IAxBD,sDAwBC"}
1
+ {"version":3,"file":"RandomForestParameter.js","sourceRoot":"","sources":["../../source/Parameter/RandomForestParameter.ts"],"names":[],"mappings":";;;AAAA,yDAAoD;AAEpD,MAAa,qBAAsB,SAAQ,mCAAgB;IAEvD,mBAAmB,CAAQ;IAE3B;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,YAAoB,EAAE,mBAA2B;QACvE,KAAK,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;QAC1B,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;IAClD,CAAC;IAED;;;;OAIG;IACH,sBAAsB;QAClB,OAAO,IAAI,CAAC,mBAAmB,CAAA;IACnC,CAAC;CACJ;AAxBD,sDAwBC"}