Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3519938acmotherbooksBook PagePublication Pageseducational-resourcesacm-pubtype
Decision Trees for Text Classification in CS2March 2023
  • Author:
  • Kevin Lin
Publisher:
  • Association for Computing Machinery
  • New York
  • NY
  • United States
ISBN:978-1-4503-9430-7
Published:06 March 2023
Pages:
2
Bibliometrics
Skip Abstract Section
Abstract

In CS2 courses centering programming with recursion and data structures, binary trees can be used to represent hierarchical relationships between data. Drawing on a machine learning context, this assignment presents an application of binary trees toward text classification that demonstrates how the design of programming abstractions shapes social outcomes. By the end of this assignment, students will not only be able to define methods that recursively construct, traverse, and modify binary trees, but also begin to engage with ethical questions around the design and use of sociotechnical text classification systems.

Educational-resources Downloads

ZIP
ecse-2021-0005-File002.zip

This zip contains the supplemental materials for this article.

Contributors
  • University of Washington

Recommendations