A data pattern analysis optimization processing device of an embodiment comprises a time-series data storage unit, a prediction unit, a division unit, and a time-series pattern extraction unit. The time-series data storage unit stores a plurality of pieces of time-series data composed of items in order of time. The prediction unit calculates, on the basis of the proportion of pieces of time-series data in which each of the items appears, the upper-limit prediction value of the pattern number of time-series patterns each composed of a predetermined series number of items and appearing in the pieces of time-series data at a frequency exceeding a minimum support. When the upper-limit prediction value exceeds the upper limit value of a pattern number to be processed by a calculator for performing a pattern analysis, the division unit divides the pieces of time-series data into groups on the basis of the increased series number of series items, and gives an instruction to execute prediction processing. When the upper-limit prediction value is less than or equal to the upper limit value of the pattern number to be processed by the calculator, the time-series pattern extraction unit gives an instruction to extract time-series patterns on a group-by-group basis.
展开▼