|
Imparting data literacy is a topic of timely interest for UNC. A key foundation for data science is linear algebra, the study of scaling and combining multidimensional objects. These objects can be images, medical records, sounds, social networks. They all tend to be represented by groupings of numbers (vectors, ), and combining them to form new objects is encoded in yet other groupings of numbers (matrices ). Traditional teaching of the associated mathematical concepts typically use hand exercises for small vectors, i.e.,
Though correct, such presentations do not explore the rich variety of applications of linear algebra to the large-scale applications driving the current interest in data science.
This course builds upon previous experience to provide live course material that combines theoretical concepts with embedded computation and visualization. The new technologies to be used are:
An editing platform for live documents (TeXmacs, http://texmacs.org/tmweb/home/welcome.en.html)
Embedded Octave/Matlab computation in TeXmacs (through interfaces I have personally developed for Windows, OS X)
Data sets gathered from a variety of sources to provide realistic applications (Kaggle, MIT Faces)
Elimination of drudgery. After a few basic examples have been mastered, live documents allow effortless exploration of “what if” type questions, e.g., what if the vectors are colinear?, what if the vectors are orthogonal?, what if the vectors are nearly colinear?
Appreciation of application range. Live documents allow realistic applications, for instance the face recognition example below, but also examples from the humanities (see syllabus).
Familiarity with data input/output. Students gain an appreciation of the steps needed to transform real data into mathematical constructs, e.g., from electroencephalograms to vectors.
Job-market skills to complement theory. Basic coding, computer architecture and operations are learned along with the mathematics.
In this example, the MIT data base of face images is processed to produce various representations of an “average individual”. All operations are modifiable directly from within the document allowing student exploration of the topic of facial recognition.
octave: |
|
octave: |
|
octave: |
|
octave: |
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |