edge-impulse-api 1.92.17 → 1.92.20
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.
|
@@ -321,6 +321,7 @@ type getRawDataMetadataCooccurrenceQueryParams = {
|
|
|
321
321
|
topNKeyA?: number;
|
|
322
322
|
topNKeyB?: number;
|
|
323
323
|
normalize?: 'none' | 'global';
|
|
324
|
+
excludeDisabledSamples?: boolean;
|
|
324
325
|
};
|
|
325
326
|
type getRawDataMetadataDistributionQueryParams = {
|
|
326
327
|
category: RawDataCategory;
|
|
@@ -328,6 +329,7 @@ type getRawDataMetadataDistributionQueryParams = {
|
|
|
328
329
|
topN?: number;
|
|
329
330
|
binCount?: number;
|
|
330
331
|
groupByLabel?: boolean;
|
|
332
|
+
excludeDisabledSamples?: boolean;
|
|
331
333
|
};
|
|
332
334
|
type getSampleQueryParams = {
|
|
333
335
|
limitPayloadValues?: number;
|
|
@@ -994,6 +996,7 @@ export declare class RawDataApi {
|
|
|
994
996
|
* @param topNKeyA Maximum number of top values to return for keyA
|
|
995
997
|
* @param topNKeyB Maximum number of top values to return for keyB
|
|
996
998
|
* @param normalize Controls how normalizedMatrix is computed. Use none to disable normalization (normalizedMatrix omitted), or global to return percentages across all matrix cells.
|
|
999
|
+
* @param excludeDisabledSamples Whether to exclude samples that are marked as disabled.
|
|
997
1000
|
*/
|
|
998
1001
|
getRawDataMetadataCooccurrence(projectId: number, queryParams: getRawDataMetadataCooccurrenceQueryParams, options?: {
|
|
999
1002
|
headers: {
|
|
@@ -1009,6 +1012,7 @@ export declare class RawDataApi {
|
|
|
1009
1012
|
* @param topN Maximum number of top categories to return for categorical values
|
|
1010
1013
|
* @param binCount Number of bins to use for numeric histogram values
|
|
1011
1014
|
* @param groupByLabel Include per-label breakdown for each bucket
|
|
1015
|
+
* @param excludeDisabledSamples Whether to exclude samples that are marked as disabled.
|
|
1012
1016
|
*/
|
|
1013
1017
|
getRawDataMetadataDistribution(projectId: number, queryParams: getRawDataMetadataDistributionQueryParams, options?: {
|
|
1014
1018
|
headers: {
|
|
@@ -3496,6 +3496,7 @@ class RawDataApi {
|
|
|
3496
3496
|
* @param topNKeyA Maximum number of top values to return for keyA
|
|
3497
3497
|
* @param topNKeyB Maximum number of top values to return for keyB
|
|
3498
3498
|
* @param normalize Controls how normalizedMatrix is computed. Use none to disable normalization (normalizedMatrix omitted), or global to return percentages across all matrix cells.
|
|
3499
|
+
* @param excludeDisabledSamples Whether to exclude samples that are marked as disabled.
|
|
3499
3500
|
*/
|
|
3500
3501
|
async getRawDataMetadataCooccurrence(projectId, queryParams, options = { headers: {} }) {
|
|
3501
3502
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/metadata-cooccurrence'
|
|
@@ -3549,6 +3550,9 @@ class RawDataApi {
|
|
|
3549
3550
|
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.normalize) !== undefined) {
|
|
3550
3551
|
localVarQueryParameters['normalize'] = models_1.ObjectSerializer.serialize(queryParams.normalize, "'none' | 'global'");
|
|
3551
3552
|
}
|
|
3553
|
+
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeDisabledSamples) !== undefined) {
|
|
3554
|
+
localVarQueryParameters['excludeDisabledSamples'] = models_1.ObjectSerializer.serialize(queryParams.excludeDisabledSamples, "boolean");
|
|
3555
|
+
}
|
|
3552
3556
|
localVarHeaderParams = {
|
|
3553
3557
|
...localVarHeaderParams,
|
|
3554
3558
|
...options.headers,
|
|
@@ -3604,6 +3608,7 @@ class RawDataApi {
|
|
|
3604
3608
|
* @param topN Maximum number of top categories to return for categorical values
|
|
3605
3609
|
* @param binCount Number of bins to use for numeric histogram values
|
|
3606
3610
|
* @param groupByLabel Include per-label breakdown for each bucket
|
|
3611
|
+
* @param excludeDisabledSamples Whether to exclude samples that are marked as disabled.
|
|
3607
3612
|
*/
|
|
3608
3613
|
async getRawDataMetadataDistribution(projectId, queryParams, options = { headers: {} }) {
|
|
3609
3614
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/metadata-distribution'
|
|
@@ -3650,6 +3655,9 @@ class RawDataApi {
|
|
|
3650
3655
|
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.groupByLabel) !== undefined) {
|
|
3651
3656
|
localVarQueryParameters['groupByLabel'] = models_1.ObjectSerializer.serialize(queryParams.groupByLabel, "boolean");
|
|
3652
3657
|
}
|
|
3658
|
+
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeDisabledSamples) !== undefined) {
|
|
3659
|
+
localVarQueryParameters['excludeDisabledSamples'] = models_1.ObjectSerializer.serialize(queryParams.excludeDisabledSamples, "boolean");
|
|
3660
|
+
}
|
|
3653
3661
|
localVarHeaderParams = {
|
|
3654
3662
|
...localVarHeaderParams,
|
|
3655
3663
|
...options.headers,
|