Week 01: January 24 and 26, 2022.
Week 02: January 31 and February 2, 2022.
Week 03: February 7 and 9, 2022.
This version contains scripts for:
The updated version contains targets for:
Week 04: February 14 and 16, 2022.
Week 05: February 21 and 23, 2022.
Week 06: February 28 and March 2, 2022.
Either load into your favorite IDE (Eclipse) or open a terminal window and type: ant -p
You will find about twenty test programs covering use of arraylists, hashmaps, linked hashmaps,
hashsets, symbol tables, and programming for association relationships.
You will find target programs for the adapter, bridge, builder, chain, composite, factory, mediator, model-view-controller, observer, state, strategy and visitor design patterns.
![]() |
![]() |
Left: BWI Airport.
Right: NYC subway system and coastline.
Week 07: March 7 and 9, 2022.
Week 08: March 14 and 16, 2022.
Week 09: March 21 and 23, 2022.
Week 10: March 28 and 30, 2022.
Data Mining With Weka: Class 1 (Introduction) (pdf).
Data Mining With Weka: Class 2 (Be a Classifier) (pdf).
Data Mining With Weka: Class 3 (Simplicity First) (pdf).
Data Mining With Weka: Class 4 (Classification Boundaries) (pdf).
Data Mining With Weka: Class 5 (Putting it Together) (pdf).
Week 11: April 4 and 6, 2022.
Reading.
Lippmann R.P., An Introduction to Computing with Neural Nets (pdf),
IEEE ASSP Magazine, April 1987. See, in particular, Figures 1, 3, 12 and 14.
Reading.
Bhiksha R., Introduction to Neural Networks (pdf),
Lisbon Machine Learning School, June, 2018. Fantastic introduction to neural networks and their capabilities.
Reading.
Artificial networks learn to smell like the brain,
MIT News, October 2021.
Example 1: Modeling an OR Boolean Gate.
Python + NumPy. See: python-code.d/neural/TestNeural-BooleanORGate.py
Example 2: Modeling an OR Boolean Gate.
Deeplearning4J. See: src/nn/basic/BooleanGateOR.java
We will load the latter into Weka and then look for classification relationships among the various attributes.
Getting Started: Download an
updated version of
java-code-collections (Version: 2022-04-05).
Unzip and then look at the collection of files in /src/homework03/
There are two new test programs:
Pay particular attention to how data is stored in
WeatherDataItem.java vs PassengerDataItem.java.
We can discuss these differences in class.
Things to do:
Since this data file will be used for predicting various kinds of weather conditions, I suggest that you split the date into three separate columns for day, month and year.
Notes:
The download will unzip to a folder called java-code-collections2022-04 --- the new temporary
name should avoid anyone accidentally erasing their homework.
To Run: ant filter01, etc ... my experiments with titanic datamodel are src/filter04/ ...
Due Date: May 1, 2022
Week 12: April 11 and 13, 2022.
Example 3: Modeling an XOR Boolean Gate.
Python + NumPy. See: python-code.d/neural/TestMultilLayer-XOR-Gate01.py
TensorFlow 2 + Keras. See: python-code.d/tensorflow/TestKeras-XOR-Problem.py
Deeplearning4J. See: src/nn/basic/BooleanGateXor.java
Example 4: Modeling XNOR and XOR Boolean Gates.
TensorFlow 2 + Keras. See: python-code.d/tensorflow/TestKeras-XNOR-XOR-Problem.py
Deeplearning4J. See: src/nn/basic/BooleanGateXnorXor.java
Example 5: Points in a Convex Polygon.
Deeplearning4J. See: src/nn/basic/BooleanConvexPolygon.java
Counter Example 6: Points in a Non-Convex Polygon.
Deeplearning4J. See: src/nn/basic/BooleanNonConvexPolygon.java
Example 7: Points in a U-Shaped Polygon.
Deeplearning4J. See: src/nn/basic/BooleanNonConvexPolygon.java
Example 8: Neural Network for Digit Recognition.
Work in progress: ....
I want to create a web page for the project abstracts,
which follows the format used in Fall Semester 2020 .
Please send me:
We welcome projects that can continue beyond this class and lead to conference and/or journal publications.
Week 13: April 18 and 20, 2022.
Presentation Guidelines:
Duration: Aim for 15 minutes; No more than 20 minutes.
Slides: No more than ten slides.
Content: Project Title.
What are we are doing? Why is the problem is important?
Here's how the project relates to data mining and machine learning?
What are the data and computational challenges?
What will project success look like?
Presentation Schedule
Week 14: April 25 and 27, 2022.
Follow-up to our discussions during office hours:
Reading.
Lagaris I.E., Likas A., and Fotiadis D.I.,
Artificial Neural Networks for Solving Ordinary and Partial Differential Equations
(pdf),
May 1997.
Reading.
Chen T.Q.C., Rubanova Y., Bettencourt J., and Duvenaud D.,
Neural Ordinary Differential Equations
(pdf),
32nd Conference on Neural Information Processing Systems (NIPS),
Montreal, Canada, 2018.
Reading.
Lample G., and Charton F., Deep Learning for Symbolic Mathematics
(pdf),
Facebook AI Research, arXiv:1912.01412v1, December 2019.
Since neither of these approaches is ideal, an emerging and important area is development of computational methods that strike a middle gound:
Presentation Slides.
Perdikaris P., Physics-Informed Deep Learning
(pdf),
University of Mennsylvania, April, 2020.
See this interesting link on Github.
DeepXDE: Deep learning library for solving differential equations.
Weeks 15-16: May 2, 4 and 9, 2022.
Machine Learning Software and Tools: Python/Java Software Setup, Tools, etc (pdf) (draft) (Version: 2022-06-05).
Python Tutorial -- Part I: Introduction (pdf) (draft) (Version: 2023-01-18).
Python Tutorial -- Part 2: Objects and Classes (pdf) (draft) (Version: 2023-01-13).
Data Science: Techniques and Tools (pdf) (draft) (Version: 2022-11-21).
AutoEncoders I (pdf) (draft) (Version: 2021-12-01).
AutoEncoders II (pdf) (draft) (Version: 2021-11-27).
Recurrent Neural Networks (pdf) (draft) (Version: 2022-12-07).
Machine Learning Appendices: Tensors etc (pdf) (draft) (Version: 2022-06-05).
Presentation Guidelines:
Duration: Aim for 15 minutes; No more than 20 minutes.
Slides: No more than ten slides.
Content: Project Title.
What are we are doing? Why is the problem is important?
Here's how the project relates to data mining and machine learning?
Describe the data and computational challenges?
What will long-term project success look like?
Project Presentation Schedule
Term projects will be due Friday, May 13.
Please e-mail me a pdf of your project report.
I would aim for around 25-35 pages. No extensions!
Report Contents:
What problem is the project trying to solve? Why is the problem is important?
Describe the data and challenges in working with the data?
What role does data mining and/or machine learning play?
Preliminary results, conclusions and future work
Last Modified: June 06, 2022,
Copyright © 2022, Department of Civil and Environmental Engineering, University of Maryland.