Mathematica notebooks that I have written for the CS174 and CS267A and B classes or adapted from class projects submitted by students can be found in the following three directories.

They are free to use with proper credit.

ANN
Mathematica Notebooks on Artificial Neural Networks
BNN
Mathematica Notebooks on Biological Neural Networks
GRA
Mathematica Notebooks on Graphics Concepts and Algorithms.