clarifai-web-grpc 10.0.1 → 10.0.2
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.
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
10.0.
|
|
1
|
+
10.0.2
|
|
@@ -28128,6 +28128,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
28128
28128
|
id: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
28129
28129
|
model: (f = msg.getModel()) && proto.clarifai.api.Model.toObject(includeInstance, f),
|
|
28130
28130
|
groundTruthDataset: (f = msg.getGroundTruthDataset()) && proto.clarifai.api.Dataset.toObject(includeInstance, f),
|
|
28131
|
+
predictionsDataset: (f = msg.getPredictionsDataset()) && proto.clarifai.api.Dataset.toObject(includeInstance, f),
|
|
28131
28132
|
summary: (f = msg.getSummary()) && proto.clarifai.api.MetricsSummary.toObject(includeInstance, f),
|
|
28132
28133
|
confusionMatrix: (f = msg.getConfusionMatrix()) && proto.clarifai.api.ConfusionMatrix.toObject(includeInstance, f),
|
|
28133
28134
|
cooccurrenceMatrix: (f = msg.getCooccurrenceMatrix()) && proto.clarifai.api.CooccurrenceMatrix.toObject(includeInstance, f),
|
|
@@ -28197,6 +28198,11 @@ proto.clarifai.api.EvalMetrics.deserializeBinaryFromReader = function (msg, read
|
|
|
28197
28198
|
reader.readMessage(value, proto.clarifai.api.Dataset.deserializeBinaryFromReader);
|
|
28198
28199
|
msg.setGroundTruthDataset(value);
|
|
28199
28200
|
break;
|
|
28201
|
+
case 18:
|
|
28202
|
+
var value = new proto.clarifai.api.Dataset;
|
|
28203
|
+
reader.readMessage(value, proto.clarifai.api.Dataset.deserializeBinaryFromReader);
|
|
28204
|
+
msg.setPredictionsDataset(value);
|
|
28205
|
+
break;
|
|
28200
28206
|
case 2:
|
|
28201
28207
|
var value = new proto.clarifai.api.MetricsSummary;
|
|
28202
28208
|
reader.readMessage(value, proto.clarifai.api.MetricsSummary.deserializeBinaryFromReader);
|
|
@@ -28301,6 +28307,10 @@ proto.clarifai.api.EvalMetrics.serializeBinaryToWriter = function (message, writ
|
|
|
28301
28307
|
if (f != null) {
|
|
28302
28308
|
writer.writeMessage(14, f, proto.clarifai.api.Dataset.serializeBinaryToWriter);
|
|
28303
28309
|
}
|
|
28310
|
+
f = message.getPredictionsDataset();
|
|
28311
|
+
if (f != null) {
|
|
28312
|
+
writer.writeMessage(18, f, proto.clarifai.api.Dataset.serializeBinaryToWriter);
|
|
28313
|
+
}
|
|
28304
28314
|
f = message.getSummary();
|
|
28305
28315
|
if (f != null) {
|
|
28306
28316
|
writer.writeMessage(2, f, proto.clarifai.api.MetricsSummary.serializeBinaryToWriter);
|
|
@@ -28472,6 +28482,34 @@ proto.clarifai.api.EvalMetrics.prototype.clearGroundTruthDataset = function () {
|
|
|
28472
28482
|
proto.clarifai.api.EvalMetrics.prototype.hasGroundTruthDataset = function () {
|
|
28473
28483
|
return jspb.Message.getField(this, 14) != null;
|
|
28474
28484
|
};
|
|
28485
|
+
/**
|
|
28486
|
+
* optional Dataset predictions_dataset = 18;
|
|
28487
|
+
* @return {?proto.clarifai.api.Dataset}
|
|
28488
|
+
*/
|
|
28489
|
+
proto.clarifai.api.EvalMetrics.prototype.getPredictionsDataset = function () {
|
|
28490
|
+
return /** @type{?proto.clarifai.api.Dataset} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Dataset, 18));
|
|
28491
|
+
};
|
|
28492
|
+
/**
|
|
28493
|
+
* @param {?proto.clarifai.api.Dataset|undefined} value
|
|
28494
|
+
* @return {!proto.clarifai.api.EvalMetrics} returns this
|
|
28495
|
+
*/
|
|
28496
|
+
proto.clarifai.api.EvalMetrics.prototype.setPredictionsDataset = function (value) {
|
|
28497
|
+
return jspb.Message.setWrapperField(this, 18, value);
|
|
28498
|
+
};
|
|
28499
|
+
/**
|
|
28500
|
+
* Clears the message field making it undefined.
|
|
28501
|
+
* @return {!proto.clarifai.api.EvalMetrics} returns this
|
|
28502
|
+
*/
|
|
28503
|
+
proto.clarifai.api.EvalMetrics.prototype.clearPredictionsDataset = function () {
|
|
28504
|
+
return this.setPredictionsDataset(undefined);
|
|
28505
|
+
};
|
|
28506
|
+
/**
|
|
28507
|
+
* Returns whether this field is set.
|
|
28508
|
+
* @return {boolean}
|
|
28509
|
+
*/
|
|
28510
|
+
proto.clarifai.api.EvalMetrics.prototype.hasPredictionsDataset = function () {
|
|
28511
|
+
return jspb.Message.getField(this, 18) != null;
|
|
28512
|
+
};
|
|
28475
28513
|
/**
|
|
28476
28514
|
* optional MetricsSummary summary = 2;
|
|
28477
28515
|
* @return {?proto.clarifai.api.MetricsSummary}
|
|
@@ -28128,6 +28128,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
28128
28128
|
id: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
28129
28129
|
model: (f = msg.getModel()) && proto.clarifai.api.Model.toObject(includeInstance, f),
|
|
28130
28130
|
groundTruthDataset: (f = msg.getGroundTruthDataset()) && proto.clarifai.api.Dataset.toObject(includeInstance, f),
|
|
28131
|
+
predictionsDataset: (f = msg.getPredictionsDataset()) && proto.clarifai.api.Dataset.toObject(includeInstance, f),
|
|
28131
28132
|
summary: (f = msg.getSummary()) && proto.clarifai.api.MetricsSummary.toObject(includeInstance, f),
|
|
28132
28133
|
confusionMatrix: (f = msg.getConfusionMatrix()) && proto.clarifai.api.ConfusionMatrix.toObject(includeInstance, f),
|
|
28133
28134
|
cooccurrenceMatrix: (f = msg.getCooccurrenceMatrix()) && proto.clarifai.api.CooccurrenceMatrix.toObject(includeInstance, f),
|
|
@@ -28197,6 +28198,11 @@ proto.clarifai.api.EvalMetrics.deserializeBinaryFromReader = function (msg, read
|
|
|
28197
28198
|
reader.readMessage(value, proto.clarifai.api.Dataset.deserializeBinaryFromReader);
|
|
28198
28199
|
msg.setGroundTruthDataset(value);
|
|
28199
28200
|
break;
|
|
28201
|
+
case 18:
|
|
28202
|
+
var value = new proto.clarifai.api.Dataset;
|
|
28203
|
+
reader.readMessage(value, proto.clarifai.api.Dataset.deserializeBinaryFromReader);
|
|
28204
|
+
msg.setPredictionsDataset(value);
|
|
28205
|
+
break;
|
|
28200
28206
|
case 2:
|
|
28201
28207
|
var value = new proto.clarifai.api.MetricsSummary;
|
|
28202
28208
|
reader.readMessage(value, proto.clarifai.api.MetricsSummary.deserializeBinaryFromReader);
|
|
@@ -28301,6 +28307,10 @@ proto.clarifai.api.EvalMetrics.serializeBinaryToWriter = function (message, writ
|
|
|
28301
28307
|
if (f != null) {
|
|
28302
28308
|
writer.writeMessage(14, f, proto.clarifai.api.Dataset.serializeBinaryToWriter);
|
|
28303
28309
|
}
|
|
28310
|
+
f = message.getPredictionsDataset();
|
|
28311
|
+
if (f != null) {
|
|
28312
|
+
writer.writeMessage(18, f, proto.clarifai.api.Dataset.serializeBinaryToWriter);
|
|
28313
|
+
}
|
|
28304
28314
|
f = message.getSummary();
|
|
28305
28315
|
if (f != null) {
|
|
28306
28316
|
writer.writeMessage(2, f, proto.clarifai.api.MetricsSummary.serializeBinaryToWriter);
|
|
@@ -28472,6 +28482,34 @@ proto.clarifai.api.EvalMetrics.prototype.clearGroundTruthDataset = function () {
|
|
|
28472
28482
|
proto.clarifai.api.EvalMetrics.prototype.hasGroundTruthDataset = function () {
|
|
28473
28483
|
return jspb.Message.getField(this, 14) != null;
|
|
28474
28484
|
};
|
|
28485
|
+
/**
|
|
28486
|
+
* optional Dataset predictions_dataset = 18;
|
|
28487
|
+
* @return {?proto.clarifai.api.Dataset}
|
|
28488
|
+
*/
|
|
28489
|
+
proto.clarifai.api.EvalMetrics.prototype.getPredictionsDataset = function () {
|
|
28490
|
+
return /** @type{?proto.clarifai.api.Dataset} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Dataset, 18));
|
|
28491
|
+
};
|
|
28492
|
+
/**
|
|
28493
|
+
* @param {?proto.clarifai.api.Dataset|undefined} value
|
|
28494
|
+
* @return {!proto.clarifai.api.EvalMetrics} returns this
|
|
28495
|
+
*/
|
|
28496
|
+
proto.clarifai.api.EvalMetrics.prototype.setPredictionsDataset = function (value) {
|
|
28497
|
+
return jspb.Message.setWrapperField(this, 18, value);
|
|
28498
|
+
};
|
|
28499
|
+
/**
|
|
28500
|
+
* Clears the message field making it undefined.
|
|
28501
|
+
* @return {!proto.clarifai.api.EvalMetrics} returns this
|
|
28502
|
+
*/
|
|
28503
|
+
proto.clarifai.api.EvalMetrics.prototype.clearPredictionsDataset = function () {
|
|
28504
|
+
return this.setPredictionsDataset(undefined);
|
|
28505
|
+
};
|
|
28506
|
+
/**
|
|
28507
|
+
* Returns whether this field is set.
|
|
28508
|
+
* @return {boolean}
|
|
28509
|
+
*/
|
|
28510
|
+
proto.clarifai.api.EvalMetrics.prototype.hasPredictionsDataset = function () {
|
|
28511
|
+
return jspb.Message.getField(this, 18) != null;
|
|
28512
|
+
};
|
|
28475
28513
|
/**
|
|
28476
28514
|
* optional MetricsSummary summary = 2;
|
|
28477
28515
|
* @return {?proto.clarifai.api.MetricsSummary}
|
package/package.json
CHANGED
|
@@ -3944,6 +3944,11 @@ export class EvalMetrics extends jspb.Message {
|
|
|
3944
3944
|
hasGroundTruthDataset(): boolean;
|
|
3945
3945
|
clearGroundTruthDataset(): EvalMetrics;
|
|
3946
3946
|
|
|
3947
|
+
getPredictionsDataset(): Dataset | undefined;
|
|
3948
|
+
setPredictionsDataset(value?: Dataset): EvalMetrics;
|
|
3949
|
+
hasPredictionsDataset(): boolean;
|
|
3950
|
+
clearPredictionsDataset(): EvalMetrics;
|
|
3951
|
+
|
|
3947
3952
|
getSummary(): MetricsSummary | undefined;
|
|
3948
3953
|
setSummary(value?: MetricsSummary): EvalMetrics;
|
|
3949
3954
|
hasSummary(): boolean;
|
|
@@ -4015,6 +4020,7 @@ export namespace EvalMetrics {
|
|
|
4015
4020
|
id: string,
|
|
4016
4021
|
model?: Model.AsObject,
|
|
4017
4022
|
groundTruthDataset?: Dataset.AsObject,
|
|
4023
|
+
predictionsDataset?: Dataset.AsObject,
|
|
4018
4024
|
summary?: MetricsSummary.AsObject,
|
|
4019
4025
|
confusionMatrix?: ConfusionMatrix.AsObject,
|
|
4020
4026
|
cooccurrenceMatrix?: CooccurrenceMatrix.AsObject,
|
|
@@ -34673,6 +34673,7 @@ proto.clarifai.api.EvalMetrics.toObject = function(includeInstance, msg) {
|
|
|
34673
34673
|
id: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
34674
34674
|
model: (f = msg.getModel()) && proto.clarifai.api.Model.toObject(includeInstance, f),
|
|
34675
34675
|
groundTruthDataset: (f = msg.getGroundTruthDataset()) && proto.clarifai.api.Dataset.toObject(includeInstance, f),
|
|
34676
|
+
predictionsDataset: (f = msg.getPredictionsDataset()) && proto.clarifai.api.Dataset.toObject(includeInstance, f),
|
|
34676
34677
|
summary: (f = msg.getSummary()) && proto.clarifai.api.MetricsSummary.toObject(includeInstance, f),
|
|
34677
34678
|
confusionMatrix: (f = msg.getConfusionMatrix()) && proto.clarifai.api.ConfusionMatrix.toObject(includeInstance, f),
|
|
34678
34679
|
cooccurrenceMatrix: (f = msg.getCooccurrenceMatrix()) && proto.clarifai.api.CooccurrenceMatrix.toObject(includeInstance, f),
|
|
@@ -34752,6 +34753,11 @@ proto.clarifai.api.EvalMetrics.deserializeBinaryFromReader = function(msg, reade
|
|
|
34752
34753
|
reader.readMessage(value,proto.clarifai.api.Dataset.deserializeBinaryFromReader);
|
|
34753
34754
|
msg.setGroundTruthDataset(value);
|
|
34754
34755
|
break;
|
|
34756
|
+
case 18:
|
|
34757
|
+
var value = new proto.clarifai.api.Dataset;
|
|
34758
|
+
reader.readMessage(value,proto.clarifai.api.Dataset.deserializeBinaryFromReader);
|
|
34759
|
+
msg.setPredictionsDataset(value);
|
|
34760
|
+
break;
|
|
34755
34761
|
case 2:
|
|
34756
34762
|
var value = new proto.clarifai.api.MetricsSummary;
|
|
34757
34763
|
reader.readMessage(value,proto.clarifai.api.MetricsSummary.deserializeBinaryFromReader);
|
|
@@ -34881,6 +34887,14 @@ proto.clarifai.api.EvalMetrics.serializeBinaryToWriter = function(message, write
|
|
|
34881
34887
|
proto.clarifai.api.Dataset.serializeBinaryToWriter
|
|
34882
34888
|
);
|
|
34883
34889
|
}
|
|
34890
|
+
f = message.getPredictionsDataset();
|
|
34891
|
+
if (f != null) {
|
|
34892
|
+
writer.writeMessage(
|
|
34893
|
+
18,
|
|
34894
|
+
f,
|
|
34895
|
+
proto.clarifai.api.Dataset.serializeBinaryToWriter
|
|
34896
|
+
);
|
|
34897
|
+
}
|
|
34884
34898
|
f = message.getSummary();
|
|
34885
34899
|
if (f != null) {
|
|
34886
34900
|
writer.writeMessage(
|
|
@@ -35137,6 +35151,43 @@ proto.clarifai.api.EvalMetrics.prototype.hasGroundTruthDataset = function() {
|
|
|
35137
35151
|
};
|
|
35138
35152
|
|
|
35139
35153
|
|
|
35154
|
+
/**
|
|
35155
|
+
* optional Dataset predictions_dataset = 18;
|
|
35156
|
+
* @return {?proto.clarifai.api.Dataset}
|
|
35157
|
+
*/
|
|
35158
|
+
proto.clarifai.api.EvalMetrics.prototype.getPredictionsDataset = function() {
|
|
35159
|
+
return /** @type{?proto.clarifai.api.Dataset} */ (
|
|
35160
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.Dataset, 18));
|
|
35161
|
+
};
|
|
35162
|
+
|
|
35163
|
+
|
|
35164
|
+
/**
|
|
35165
|
+
* @param {?proto.clarifai.api.Dataset|undefined} value
|
|
35166
|
+
* @return {!proto.clarifai.api.EvalMetrics} returns this
|
|
35167
|
+
*/
|
|
35168
|
+
proto.clarifai.api.EvalMetrics.prototype.setPredictionsDataset = function(value) {
|
|
35169
|
+
return jspb.Message.setWrapperField(this, 18, value);
|
|
35170
|
+
};
|
|
35171
|
+
|
|
35172
|
+
|
|
35173
|
+
/**
|
|
35174
|
+
* Clears the message field making it undefined.
|
|
35175
|
+
* @return {!proto.clarifai.api.EvalMetrics} returns this
|
|
35176
|
+
*/
|
|
35177
|
+
proto.clarifai.api.EvalMetrics.prototype.clearPredictionsDataset = function() {
|
|
35178
|
+
return this.setPredictionsDataset(undefined);
|
|
35179
|
+
};
|
|
35180
|
+
|
|
35181
|
+
|
|
35182
|
+
/**
|
|
35183
|
+
* Returns whether this field is set.
|
|
35184
|
+
* @return {boolean}
|
|
35185
|
+
*/
|
|
35186
|
+
proto.clarifai.api.EvalMetrics.prototype.hasPredictionsDataset = function() {
|
|
35187
|
+
return jspb.Message.getField(this, 18) != null;
|
|
35188
|
+
};
|
|
35189
|
+
|
|
35190
|
+
|
|
35140
35191
|
/**
|
|
35141
35192
|
* optional MetricsSummary summary = 2;
|
|
35142
35193
|
* @return {?proto.clarifai.api.MetricsSummary}
|