IP Library › Granted Patent US 12,586,399
Granted Patent B2
US 12,586,399 · App. 17/540,383 · Granted Mar 24, 2026

Date and time feature identification

Inventors: Satoshi Masuda (Nerima-ku, JP); Takaaki Tateishi (Yamato, JP); Toshihiro Takahashi (Nakano-ku, JP)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06V30/19113G06F18/24G06N3/04G06N5/022G06V30/19147G06V30/1916
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,586,399
App. No.
17/540,383
Granted
Mar 24, 2026
Kind
B2
Abstract

Methods and systems for text processing include building a knowledge base using column names and associated functions from a code base. Classifiers are trained using the knowledge base and are cross-validated to determine accuracy scores. Text is processed using a selected classifier having a highest accuracy score from the classifiers to determine date/time features.

Claims (40)

1 . A computer-implemented method for text processing, comprising:

building a knowledge base of date/time features using column names and associated functions from parsed computer source codes extracted from a code base;

training a plurality of classifiers using the knowledge base;

cross-validating the plurality of classifiers to determine accuracy scores by comparing labels generated in output layers of the plurality of classifiers using a validation dataset to the knowledge base of date/time features;

processing text using a selected classifier having a highest accuracy score from the plurality of classifiers to determine date/time features from the text knowledge base of date/time features;

generating new column information for database tables by merging column data with the date/time features determined from the text knowledge base of date/time features; and

training machine learning models with the new column information for the database tables to increase accuracy of prediction of the machine learning models.

2 . The method of claim 1 , wherein building the knowledge base includes transforming the column names to concepts using conceptual mapping.

3 . The method of claim 1 , wherein the functions are application programming interface (API) functions with predefined functions relating to date/time features.

4 . The method of claim 1 , wherein building the knowledge base includes determining a number of features to associate with each column name based on the cross-validating.

5 . The method of claim 4 , wherein the number of features is selected as a number of ground truth labels of the selected classifier.

6 . The method of claim 1 , wherein the plurality of classifiers includes a neural network classifier.

7 . The method of claim 1 , further comprising performing automated feature engineering by determining parts of different datasets that correspond to similar date/time features to generalize date/time features of the parts of the different datasets and to merge related columns in the database tables that correspond with the similar date/time features.

8 . The method of claim 1 , wherein cross-validating includes testing the trained classifiers with the validation dataset which includes a reserve portion of the knowledge base that was not used for training.

9 . The method of claim 8 , wherein the accuracy scores reflect an accuracy of each of the plurality of classifiers with respect to generated labels for the reserve portion of the knowledge base.

10 . The method of claim 1 , wherein the text is derived from a new code base, a database, or a log file.

11 . A computer program product for text processing, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions being executable by a hardware processor to cause the hardware processor to:

build a knowledge base of date/time features using column names and associated functions from parsed computer source codes extracted from a code base;

train a plurality of classifiers using the knowledge base;

cross-validate the plurality of classifiers to determine accuracy scores by comparing labels generated in output layers of the plurality of classifiers using a validation dataset to the knowledge base of date/time features;

process text using a selected classifier having a highest accuracy score from the plurality of classifiers to determine date/time features from the knowledge base of date/time features;

generate new column information for database tables with the date/time features determined from the text knowledge base of date/time features; and

train machine learning models with the new column information for the database tables to increase accuracy of prediction of machine learning models.

12 . A system for text processing, comprising:

a hardware processor; and

a memory that includes a computer program, which, when executed by the hardware processor, causes the hardware processor to:

build a knowledge base of date/time features using column names and associated functions from parsed computer source codes extracted from a code base;

train a plurality of classifiers using the knowledge base;

cross-validate the plurality of classifiers to determine accuracy scores by comparing labels generated in output layers of the plurality of classifiers using a validation dataset to the knowledge base of date/time features;

process text using a selected classifier having a highest accuracy score from the plurality of classifiers to determine date/time features from the text knowledge base of date/time features;

generate new column information for database tables with the date/time features determined from the text knowledge base of date/time features; and

train machine learning models with the new column information for the database tables to increase accuracy of prediction of machine learning models.

13 . The system of claim 12 , wherein the computer program further causes the hardware processor to transform the column names to concepts using conceptual mapping.

14 . The system of claim 12 , wherein the functions are application programming interface (API) functions with predefined functions relating to date/time features.

15 . The system of claim 12 , wherein the computer program further causes the hardware processor to determine a number of features to associate with each column name based on the cross-validating.

16 . The system of claim 15 , wherein the number of features is selected as a number of ground truth labels of the selected classifier.

17 . The system of claim 12 , wherein the plurality of classifiers includes a neural network classifier.

18 . The system of claim 12 , wherein the computer program further causes the hardware processor to perform automated feature engineering by determining parts of different datasets that correspond to similar date/time features to generalize date/time features of the parts of the different datasets and to merge related columns in the database tables that correspond with the similar date/time features.

19 . The system of claim 12 , wherein cross-validation includes testing the trained classifiers with the validation dataset which includes a reserve portion of the knowledge base that was not used for training.

20 . The system of claim 19 , wherein the accuracy scores reflect an accuracy of each of the plurality of classifiers with respect to generated labels for the reserve portion of the knowledge base.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 2, 2021
From: MASUDA, SATOSHI; TATEISHI, TAKAAKI; TAKAHASHI, TOSHIHIRO
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 058266/0149 →
Continuity (1)
Related Publication 20230177856A1 · Jun 8, 2023
References Cited (30)
US 7149347B1 · Wnek · 2006 [cited by examiner]
US 8099322B2 · Watanabe · 2012 [cited by examiner]
US 11429895B2 · Yakovlev · 2022 [cited by examiner]
US 11663523B2 · Polleri · 2023 [cited by examiner]
US 11734629B2 · Lyman · 2023 [cited by examiner]
US 20050108630A1 · Wasson · 2005 [cited by examiner]
US 20060195465A1 · Atchison · 2006 [cited by examiner]
US 20070025704A1 · Tsukazaki · 2007 [cited by examiner]
US 20100250540A1 · Adda · 2010 [cited by examiner]
US 20190065467A1 · Dey · 2019 [cited by examiner]
US 20210004435A1 · Xia · 2021 [cited by examiner]
US 20210004651A1 · Sainani et al. · 2021 [cited by applicant]
US 20220076164A1 · Conort · 2022 [cited by examiner]
US 20220300557A1 · Basu · 2022 [cited by examiner]
US 20230153280A1 · Rout · 2023 [cited by examiner]
US 20240330412A1 · Frazier · 2024 [cited by examiner]
Mell et al., “The NIST Definition of Cloud Computing”, National Institute of Standards and Technology, Special Publication 800-145. Sep. 2011, pp. 1-7. [cited by applicant]
Su, Ting, et al. “A survey on data-flow testing”, ACM Computing Surveys (CSUR), vol. 50, No. 1, Article 5. Mar. 10, 2017, pp. 1-35. [cited by applicant]
Zhou, Ying, et al. The research of concept extraction in ontology extension based on extended association rules. In2016 IEEE International Conference of Online Analysis and Computing Science (ICOACS). May 28, 2016, pp. … [cited by applicant]
Anonymous. “Contextual Feature Generation Using Meta Learning for Automated Machine Learning”, IP.Com, Prior Art Database Technical Disclosure. Dec. 7, 2020, pp. 1-6. [cited by applicant]
Vlachos, Michail, et al. “On periodicity detection and structural periodic similarity”, InProceedings of the 2005 SIAM international conference on data mining, Society for Industrial and Applied Mathematics. Apr. 21, 20… [cited by applicant]
Tsoumakas, Grigorios, et al. “Mining multi-label data”, InData mining and knowledge discovery handbook Springer, Boston, MA., Jul. 7, 2010, pp. 667-685. [cited by applicant]
Anonymous. “Bike Sharing”, Kaggle User Content. Aug. 4, 2021, pp. 1-45. [cited by applicant]
Elfeky, Mohamed, et al. “Periodicity detection in time series databases”, Knowledge and Data Engineering, IEEE Transactions on, vol. 17, No. 7. Jul. 2005, pp. 1-13. [cited by applicant]
Agrawal, Samarth. “Feature Engineering of DateTime Variables for Data Science, MachineLearning”, KDnuggets. Jun. 7, 2021, pp. 1-10. [cited by applicant]
Anonymous. “Complete Guide To Datetime Parsing With Pandas”, Analytics India Magazine. Mar. 5, 2021, pp. 1-27. [cited by applicant]
Zevan. “Unit-2-Project”, Baltimore_Crime.ipynb. Aug. 4, 2021, pp. 1-18. [cited by applicant]
Lakshmanan, Swetha. “Simple Ways to Extract Features From DateVariable Using Python”, Medium. May 1, 2019, pp. 1-7. [cited by applicant]
Maharana, Siddhant. “atlanta-crime-prediction”, Feature_Engineering.ipynb. Aug. 4, 2021, pp. 1-6. [cited by applicant]
Zymrael. “wattnet-fx-trading”, 03_datasets_alignment (extended).ipynb. Aug. 4, 2021, pp. 1-12. [cited by applicant]