- partition(data, predicate): {
labels: number[];
numLabels: number;
} Parameters
predicate: ((pt1, pt2) => boolean)
- (pt1, pt2): boolean
Returns boolean
Returns {
labels: number[];
numLabels: number;
}
labels: number[]
numLabels: number
- partition(data, predicate): {
labels: number[];
numLabels: number;
} Parameters
predicate: ((pt1, pt2) => boolean)
- (pt1, pt2): boolean
Returns boolean
Returns {
labels: number[];
numLabels: number;
}
labels: number[]
numLabels: number
- partition(data, predicate): {
labels: number[];
numLabels: number;
} Parameters
predicate: ((vec1, vec2) => boolean)
- (vec1, vec2): boolean
Returns boolean
Returns {
labels: number[];
numLabels: number;
}
labels: number[]
numLabels: number
- partition(data, predicate): {
labels: number[];
numLabels: number;
} Parameters
predicate: ((vec1, vec2) => boolean)
- (vec1, vec2): boolean
Returns boolean
Returns {
labels: number[];
numLabels: number;
}
labels: number[]
numLabels: number
- partition(data, predicate): {
labels: number[];
numLabels: number;
} Parameters
predicate: ((vec1, vec2) => boolean)
- (vec1, vec2): boolean
Returns boolean
Returns {
labels: number[];
numLabels: number;
}
labels: number[]
numLabels: number
- partition(data, predicate): {
labels: number[];
numLabels: number;
} Parameters
predicate: ((vec1, vec2) => boolean)
- (vec1, vec2): boolean
Returns boolean
Returns {
labels: number[];
numLabels: number;
}
labels: number[]
numLabels: number
- partition(data, predicate): {
labels: number[];
numLabels: number;
} Parameters
data: Mat[]
predicate: ((mat1, mat2) => boolean)
- (mat1, mat2): boolean
Returns boolean
Returns {
labels: number[];
numLabels: number;
}
labels: number[]
numLabels: number