Skip to content

Code and Data for Text Classification of AI Related Patents Research Paper

Notifications You must be signed in to change notification settings

MIRICMILAN/US-AI-Patents

Repository files navigation

Using Supervised Machine Learning for Large-Scale Classification in Management Research

Code and Data for: Miric, M., Jia, N., & Huang, K. G. (2023). Using supervised machine learning for large-scale classification in management research: The case for identifying artificial intelligence patents. Strategic Management Journal, 44(2), 491–519. [https://doi.org/10.1002/smj.3441].

Abstract

Researchers increasingly use unstructured text data to construct quantitative variables for analysis. This goal has traditionally been achieved using keyword-based approaches, which require researchers to specify a dictionary of keywords mapped to the theoretical concepts of interest. However, recent machine learning (ML) tools for text classification and natural language processing can be used to construct quantitative variables and to classify unstructured text documents. In this paper we demonstrate how to employ ML tools for this purpose and discuss one application for identifying artificial intelligence (AI) technologies in patents. We compare and contrast various ML methods with the keyword-based approach, demonstrating the advantages of the ML approach. We also leverage the classification outcomes generated by ML models to demonstrate general patterns of AI technology development.

About

This online repository contains the code needed to reconstruct the tables and figures from the paper. We demonstrate several classification approaches:

  • Notebook A. Text Classification with a Bag-of-Words Representation Open In Colab
  • Notebook B. Text Classification with a Embedding Based Text Representation Open In Colab
  • Notebook C. Text Classification using a Convolutional Neural Network Open In Colab
  • Notebook D. Text CLassification using Transformer Based Models Open In Colab
  • Notebook X. Summary and Comparison of Different Classification Approaches Open In Colab

Notebooks are shown in GitHub but you can explort and open in Google Colab to replicate and utilize in own research projects.

License & Reuse

This code is availible with a Attribution-NonCommercial (CC BY-NC) license. You are welcome to use, or reuse the code as you wish. We hope that if you find this work helpful you will cite the research paper.

Natural language processing and text classification is a rapidly advancing field. We hope to keep this repository updated and add new code, extensions or updated data as they become availible. If you would like us to link or share additional extensions, please let us know.

Citation

@article{miric2023using,
  title={Using supervised machine learning for large-scale classification in management research: The case for identifying artificial intelligence patents},
  author={Miric, Milan and Jia, Nan and Huang, Kenneth G},
  journal={Strategic Management Journal},
  volume={44},
  number={2},
  pages={491--519},
  year={2023},
  publisher={Wiley Online Library}
}

About

Code and Data for Text Classification of AI Related Patents Research Paper

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published