Iterative sampling based dataset clustering
Abstract
In some examples, iterative sampling based dataset clustering may include sampling a dataset that includes a plurality of items to identify a specified number of sampled items. The sampled items may be clustered to generate a plurality of clusters. Un-sampled items may be assigned from the plurality of items to the clusters. Remaining un-sampled items that are not assigned to the clusters may be identified. A ratio associated with the remaining un-sampled items and the plurality of items may be compared to a specified threshold. Based on a determination that the ratio is greater than the specified threshold, an indication of completion of clustering of the plurality of items may be generated.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 0.
Claims (18 — 3 Independent, 15 Dependent)
- Claim 1Independent Claim
An apparatus comprising: a processor; and a computer readable medium on which is stored machine readable instructions that cause the processor to cluster a plurality of items in a dataset, including instructions that cause the processor to: sample a specified number of items from the plurality of items in the dataset; cluster the sampled items into a plurality of clusters based on a specified clustering granularity; identify a topic for each cluster of the plurality of clusters; assign a number of un-sampled items from the dataset to the plurality of clusters based on the topics of the plurality of clusters, wherein the number of the un-sampled items assigned to the plurality of clusters is less than all of the un-sampled items in the dataset; following the assignment of the number of the un-sampled items from the dataset to the plurality of clusters, determine a remaining number of the un-sampled items in the dataset that are not assigned to any clusters; determine a unsampled to total ratio that is based on the remaining number of the un-sampled items in the dataset that are not assigned to any clusters over a total number of the plurality of items in the dataset; compare the unsampled to total ratio to a specified clustering threshold, wherein the specified clustering threshold indicates a desired percentage of items indicating a percentage of items that are to be clustered; based on a determination that the unsampled to total ratio is greater than the specified clustering threshold, generate an indication that clustering of the plurality of items in the dataset is complete; or based on a determination that the unsampled to total ratio is less than or equal to the specified clustering threshold, repeat the sampling of items from the dataset, the clustering, the assigning, the determining of the remaining number of the un-sampled items in the dataset that are not assigned to any clusters, and the determining of the unsampled to total ratio until the unsampled to total ratio is greater than the specified clustering threshold.
- Claim 2Depends on #1
The apparatus according to claim 1, wherein, to sample the specified number of items from the plurality of items in the dataset, the instructions further cause the processor to: randomly sample the specified number of items from the plurality of items in the dataset.
- Claim 3Depends on #1
The apparatus according to claim 1, wherein, to determine the unsampled to total ratio, the instructions further cause the processor to: determine a value by subtracting the remaining number of the un-sampled items in the dataset that are not assigned to any clusters from the total number of the plurality of items in the dataset, and divide the determined value by the total number of the plurality of items in the dataset to obtain the unsampled to total ratio.
- Claim 4Depends on #1
The apparatus according to claim 1, wherein the instructions further cause the processor to: based on a determination that the unsampled to total ratio is less than or equal to the specified clustering threshold, further sample a further specified number of the un-sampled items remaining in the dataset; and cluster the further sampled items to generate a further plurality of clusters.
- Claim 5Depends on #4
The apparatus according to claim 4, wherein the instructions further cause the processor to: for each further cluster of the further plurality of clusters, compare the plurality of clusters to the further cluster to identify one of the plurality of clusters that is most similar to the further cluster; count a number of intersected points between the further cluster and the most similar cluster; and in response to the number of intersected points exceeding a topic threshold, transfer the topic of the most similar cluster to the further cluster.
- Claim 6Depends on #1
The apparatus according to claim 1, wherein, to identify the topic for each cluster of the plurality of clusters, the instructions further clause the processor to: for each cluster of the plurality of clusters, separate each item assigned to the cluster into sentences; for each sentence, identify noun phrases; rank the noun phrases according to a term frequency measure; identify, from the ranked noun phrases, a specified number of highest ranked noun phrases; and utilize the highest ranked noun phrases with a deep neural network model to identify the topic of the cluster.
- Claim 7Depends on #1
The apparatus according to claim 1, wherein the specified clustering granularity comprises a value between 0, representing a more general clustering granularity, and 1, representing a more specific clustering granularity.
- Claim 8Depends on #1
The apparatus according to claim 1, including further instructions that cause the processor to: before sampling a specified number of items from the plurality of items in the dataset, reduce the dataset to cases that fall within a specified window to generate a slimmed plurality of items in the dataset.
- Claim 9Independent Claim
A computer-implemented method comprising: sampling, by a processor, a specified number of items from a plurality of items in a dataset; clustering, by the processor, the sampled items into a plurality of clusters, based on a specified clustering granularity; identifying, by the processor, a topic for each cluster of the plurality of clusters; assigning, by the processor, a number of un-sampled items from the dataset to the plurality of clusters based on the topics of the plurality of clusters, wherein the number of the un-sampled items assigned to the plurality of clusters is less than all of the un-sampled items in the dataset; following the assignment of the number of the un-sampled items from the dataset to the clusters, determining, by the processor, a remaining number of the un-sampled items in the dataset that are not assigned to any clusters; determining, by the processor, a unsampled to total ratio that is based on the remaining number of the un-sampled items in the dataset that are not assigned to any clusters over a total number of the plurality of items in the dataset; comparing, by the processor, the unsampled to total ratio to a specified clustering threshold, wherein the specified clustering threshold indicates a desired percentage of items indicating a percentage of items that are to be clustered; based on a determination that the unsampled to total ratio is greater than the specified clustering threshold, generating, by the processor, an indication that clustering of the plurality of items in the dataset is complete; or based on a determination that the unsampled to total ratio is less than or equal to the specified clustering threshold, repeating, by the processor, the sampling of items from the dataset, the clustering, the assigning, the determining of the remaining number of the un-sampled items in the dataset that are not assigned to any clusters, and the determining of the unsampled to total ratio until the unsampled to total ratio is greater than the specified clustering threshold.
- Claim 10Depends on #9
The computer-implemented method according to claim 9, further comprising: based on a determination that the unsampled to total ratio is less than or equal to the specified threshold, sampling a further specified number of the un-sampled items remaining in the dataset; and clustering the further sampled items to generate a further plurality of clusters.
- Claim 11Depends on #10
The computer-implemented method according to claim 10, further comprising: for each further cluster of the plurality of clusters, comparing the plurality of clusters to the further cluster to identify one of the plurality of clusters that is most similar to the further cluster; counting a number of intersected points between the further cluster and the most similar cluster; and in response to the number of intersected points exceeding a topic threshold, transferring the topic of the most similar cluster to the further cluster.
- Claim 12Depends on #9
The computer-implemented method according to claim 9, wherein sampling, by the processor, the specified number of items from the plurality of items in the dataset comprises: randomly sampling the specified number of items from the plurality of items in the dataset.
- Claim 13Depends on #9
The computer-implemented method according to claim 9, wherein determining the unsampled to total ratio comprises: determining a value by subtracting the remaining number of the un-sampled items in the dataset that are not assigned to any clusters from the total number of the plurality of items in the dataset, and dividing the determined value by the total number of the plurality of items in the dataset to obtain the unsampled to total ratio.
- Claim 14Depends on #9
The computer-implemented method according to claim 9, identifying the topic for each cluster of the plurality of clusters comprises: for each cluster of the plurality of clusters, separating each item assigned to the cluster into sentences; for each sentence, identifying noun phrases; ranking the noun phrases according to a term frequency measure; identifying, from the ranked noun phrases, a specified number of highest ranked noun phrases; and utilizing the highest ranked noun phrases with a deep neural network model to identify the topic of the cluster.
- Claim 15Independent Claim
One or more hardware storage devices that store instructions that are executable by one or more processors to cause the one or more processors to: sample a specified number of items from the plurality of items in the dataset; cluster the sampled items into a plurality of clusters, based on a specified clustering granularity; identify a topic for each cluster in the plurality of clusters; assign a number of un-sampled items from the dataset to the plurality of clusters based on the topics of the plurality of clusters, wherein the number of the un-sampled items assigned to the plurality of clusters is less than all of the un-sampled items in the dataset; following the assignment of the number of the un-sampled items from the dataset to the plurality of clusters, determine a remaining number of the un-sampled items in the dataset that are not assigned to any clusters; determine a unsampled to total ratio that is based on the remaining number of the un-sampled items in the dataset that are not assigned to any clusters over a total number of the plurality of items in the dataset; compare the ratio to a specified clustering threshold, wherein the specified clustering threshold indicates a desired percentage of items indicating a percentage of items that are to be clustered; based on a determination that the unsampled to total ratio is greater than the specified clustering threshold, generate an indication that clustering of the plurality of items in the dataset is complete; or based on a determination that the unsampled to total ratio is less than or equal to the specified clustering threshold, repeat the sampling of items from the dataset, the clustering, the assigning, the determining of the remaining number of the un-sampled items in the dataset that are not assigned to any clusters, and the determining of the unsampled to total ratio until the unsampled to total ratio is greater than the specified clustering threshold.
- Claim 16Depends on #15
The one or more hardware storage devices of claim 15, wherein, to determine the unsampled to total ratio, the instructions further cause the processor to: determine a value by subtracting the remaining number of the un-sampled items in the dataset that are not assigned to any clusters from the total number of the plurality of items in the dataset, and divide the determined value by the total number of the plurality of items in the dataset to obtain the unsampled to total ratio.
- Claim 17Depends on #15
The one or more hardware storage devices of claim 15, wherein the instructions further cause the processor to: based on a determination that the unsampled to total ratio is less than or equal to the specified threshold, sample a further specified number of the un-sampled items remaining in the dataset; and cluster the further sampled items to generate a further plurality of clusters.
- Claim 18Depends on #17
The one or more hardware storage devices of claim 17, wherein the instructions further cause the processor to: for each further cluster of the further plurality of clusters, compare the plurality of clusters to the further cluster to identify one of the plurality of clusters that is most similar to the further cluster; count a number of intersected points between the further cluster and the most similar cluster; and in response to the number of intersected points exceeding a topic threshold, transfer the topic of the most similar cluster to the further cluster.
Technical Overview & Description
BACKGROUND A dataset may include a plurality of items. For example, a dataset may include on the order of hundreds of thousands, or a significantly higher magnitude of items. Examples of items may include documents, cases represented using natural language text, etc. In some examples, the items may need to be clustered to organize contents of the dataset. Factors such as a number of the items may impact a time needed to complete a clustering operation. The time needed to complete the clustering operation may directly impact downstream processes such as implementation of real-time virtual assistance, implementation of mitigation procedures to prevent system breach, etc. BRIEF DESCRIPTION OF DRAWINGS Features of the present disclosure are illustrated by way of example and not limited in the following figure(s), in which like numerals indicate like elements, in which: FIG. 1 illustrates a layout of an iterative sampling based dataset clustering apparatus in accordance with an embodiment of the present disclosure; FIG. 2 illustrates a logical flow to illustrate a clustering operation of the iterative sampling based dataset clustering apparatus of FIG. 1 in accordance with an embodiment of the present disclosure; FIG. 3 illustrates a logical flow to illustrate a topic generation operation of the iterative sampling based dataset clustering apparatus of FIG. 1 in accordance with an embodiment of the present disclosure; FIG. 4 illustrates further details of the architectural layout of the iterative sampling based dataset clustering apparatus of FIG. 1 in accordance with an embodiment of the present disclosure; FIG. 5 illustrates feedback with respect to a generated topic to illustrate operation of the iterative sampling based dataset clustering apparatus of FIG. 1 in accordance with an embodiment of the present disclosure; FIG. 6 illustrates selection of an item to be moved from one topic to another topic to illustrate operation of the iterative sampling based dataset clust
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (21)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Hopke, et al.,
- “
- The Use of Sampling to Cluster Large Data Sets
- ”
- , In Journal of Chemometrics and Intelligent Laboratory Systems, vol. 8, Issue 2, Jun. 1, 1990, pp. 195-204.
- Sayyadi, et al.,
- “
- A Graph Analytical Approach for Topic Detection
- ”
- , In Journal of ACM Transactions on Internet Technology, vol. 13, Issue 2, Dec. 1, 2013, 23 Pages.