Method and apparatus for data set classification based on generator features
First Claim
1. A method comprising:
- receiving, by a circuit including an image classification engine, a number K of clusters to be created by a clustering algorithm;
receiving, by the circuit including the image classification engine, a set of elements based on an image;
executing, by the circuit including the image classification engine, the clustering algorithm on the set of elements to create K clusters, each cluster having a respective subset of the set of elements;
for each cluster, computing, by the circuit including the image classification engine, a centroid of the cluster, wherein computing the centroid of the cluster is based on one or more of a value selected from a group consisting of color values of pixels associated with each element of the respective subset of the set of elements of the cluster, position values of each element of the cluster within the image, a simple average of values associated with each element of the cluster, a center of mass of the respective subset of the set of elements of the cluster, and values learned from data associated with each element of the cluster;
for each cluster, creating, by the circuit including the image classification engine, a generator of the cluster based on the respective subset of the set of elements corresponding to each cluster; and
for each element of each cluster, computing, by the circuit including the image classification engine, a cost function corresponding to the element based on the centroid, the respective subset of the set of elements, and the generator corresponding to the cluster, wherein the cost function corresponding to the element is computed by;
Abs(I−
I0*Exp(IG)),wherein I is the element, I0 is the centroid of the cluster, G is a multidimensional generator matrix corresponding to the generator, Exp( ) is a matrix exponential function, and Abs( ) is a matrix absolute value function.
4 Assignments
0 Petitions
Accused Products
Abstract
A method including receiving, by an image classification engine, a number K of clusters to be created by a clustering algorithm. The method further including receiving, by the image classification engine, a set of elements based on an image, executing, by the image classification engine, the clustering algorithm on the set of elements to create K clusters, each cluster having a respective subset of the set of elements, for each cluster, computing, by the image classification engine, a centroid of the cluster, for each cluster, creating, by the image classification engine, a generator of the cluster based on the respective subset of the set of elements corresponding to each cluster, and for each element of each cluster, computing, by the image classification engine, a cost function corresponding to the element based on the centroid, the respective subset of the set of elements, and the generator corresponding to the cluster.
-
Citations
16 Claims
-
1. A method comprising:
-
receiving, by a circuit including an image classification engine, a number K of clusters to be created by a clustering algorithm; receiving, by the circuit including the image classification engine, a set of elements based on an image; executing, by the circuit including the image classification engine, the clustering algorithm on the set of elements to create K clusters, each cluster having a respective subset of the set of elements; for each cluster, computing, by the circuit including the image classification engine, a centroid of the cluster, wherein computing the centroid of the cluster is based on one or more of a value selected from a group consisting of color values of pixels associated with each element of the respective subset of the set of elements of the cluster, position values of each element of the cluster within the image, a simple average of values associated with each element of the cluster, a center of mass of the respective subset of the set of elements of the cluster, and values learned from data associated with each element of the cluster; for each cluster, creating, by the circuit including the image classification engine, a generator of the cluster based on the respective subset of the set of elements corresponding to each cluster; and for each element of each cluster, computing, by the circuit including the image classification engine, a cost function corresponding to the element based on the centroid, the respective subset of the set of elements, and the generator corresponding to the cluster, wherein the cost function corresponding to the element is computed by;
Abs(I−
I0*Exp(IG)),wherein I is the element, I0 is the centroid of the cluster, G is a multidimensional generator matrix corresponding to the generator, Exp( ) is a matrix exponential function, and Abs( ) is a matrix absolute value function. - View Dependent Claims (2, 3, 4, 5, 6, 7, 16)
-
-
8. A circuit including an image classification engine, the image classification engine comprising:
-
a clustering module, and a classifier module, the circuit including the image classification engine to; receive a number K of clusters to be created by a clustering algorithm of the clustering module; receive a set of elements based on an image; execute the clustering algorithm on the set of elements to create K clusters, each cluster having a respective subset of the set of elements; for each cluster, execute a classifier algorithm of the classifier module to compute a centroid of the cluster, wherein computing the centroid of the cluster is based on one or more of a value selected from a group consisting of color values of pixels associated with each element of the respective subset of the set of elements of the cluster, position values of each element of the cluster within the image, a simple average of values associated with each element of the cluster, a center of mass of the respective subset of the set of elements of the cluster, and values learned from data associated with each element of the cluster; for each cluster, execute the classifier algorithm to create a generator of the cluster based on the respective subset of the set of elements corresponding to each cluster; and for each element of each cluster, execute the classifier algorithm to compute a cost function corresponding to the element based on the centroid, the respective subset of the set of elements, and the generator corresponding to the cluster, wherein the cost function corresponding to the element is computed by;
Abs(I−
I0*Exp(IG)),wherein I is the element, I0 is the centroid of the cluster, G is a multidimensional generator matrix corresponding to the generator, Exp( ) is a matrix exponential function, and Abs( ) is a matrix absolute value function. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A method comprising:
-
executing, by a circuit including an image classification engine, a clustering algorithm on a set of elements based on an image to create a number K clusters, each cluster having a respective subset of the set of elements; for each cluster, computing, by the circuit including the image classification engine, a centroid of the cluster, wherein computing the centroid of the cluster is based on one or more of a value selected from a group consisting of color values of pixels associated with each element of the respective subset of the set of elements of the cluster, position values of each element of the cluster within the image, a simple average of values associated with each element of the cluster, a center of mass of the respective subset of the set of elements of the cluster, and values learned from data associated with each element of the cluster; for each cluster, creating, by the circuit including the image classification engine, a generator of the cluster based on the respective subset of the set of elements corresponding to each cluster; for each element of each cluster, computing, by the circuit including the image classification engine, a cost function corresponding to the element based on the centroid, the respective subset of the set of elements, and the generator corresponding to the cluster; and computing, for each cluster of the K clusters, a feature based on each cost function corresponding to each element of the respective subset of the set of elements corresponding to the cluster, wherein the cost function corresponding to the element is computed by;
Abs(I−
I0*Exp(IG)),wherein I is the element, I0 is the centroid of the cluster, G is a multidimensional generator matrix corresponding to the generator, Exp( ) is a matrix exponential function, and Abs( ) is a matrix absolute value function. - View Dependent Claims (14, 15)
-
Specification