2021 REU Course
This course introduces the REU students to various topics in Intelligent Systems Engineering. The course was taught in Summer 2021.
This course introduces the REU students to various topics in Intelligent Systems Engineering. The course was taught in Summer 2021.
Rstudio with Git and GitHub Slides
Programming with Python
Python is a great languge for doing data science and AI, a comprehensive list of features is available in book form. Please note that when installing Python, you always want to use a venv as this is best practice.
Installation of Python
Update to the Video:
Best practices in Python recommend to use a Python venv. This is pretty easy to do and creates a separate Python environment for you so you do not interfere with your system Python installation. Some IDEs may do this automatically, but it is still best practice to install one and bind the IDE against it. To do this:

Download Python version 3.9.5 just as shown in the first lecture.

After the download you do an additional step as follows:

on Windows you first install gitbash and do all yuour terminal work from gitbash as this is more Linuxlike. In gitbash, run
python m venv ~/ENV3
~/ENV/Script/activate
In case you like to add it to gitbash, you can add the source line to .bashrc and/or .bash_profile

In case you use VSCode, you can also do it individually in a directory where you have your code.
 On Mac:
cd TO YOUR DIR; python3.9 m venv .
 On Windows
cd TO YOUR DIR; python m venv .
Then start VSCode in the directory and it will ask you to use this venv. However, the global ENV3 venv
may be better and you cen set your interpreter to it.

On Pycharm we recommend you use the ENV3 and set the clobal interpreter
Jupyter Notebooks
Github
Introduction to Python
The first exercise will require a simple for loop, while the second is more complicated, requiring nested for loops and a break statement.
General Instructions: Create two different files with extension .ipnyb, one for each problem. The first file will be named factorial.ipnyb which is for the factorial problem, and the second prime_number.ipnyb for the prime number problem.

Write a program that can find the factorial of any given number. For example, find the factorial of the number 5 (often written as 5!) which is 12345 and equals 120. Your program should take as input an integer from the user.
Note: The factorial is not defined for negative numbers and the factorial of Zero is 1; that is 0! = 1.
You should
 If the number is less than Zero return with an error message.
 Check to see if the number is Zero—if it is then the answer is 1—print this out.
 Otherwise use a loop to generate the result and print it out.

A Prime Number is a positive whole number, greater than 1, that has no other divisors except the number 1 and the number itself. That is, it can only be divided by itself and the number 1, for example the numbers 2, 3, 5 and 7 are prime numbers as they cannot be divided by any other whole number. However, the numbers 4 and 6 are not because they can both be divided by the number 2 in addition the number 6 can also be divided by the number 3.
You should write a program to calculate prime number starting from 1 up to the
value input by the user.
You should
 If the user inputs a number below 2, print an error message.
 For any number greater than 2 loop for each integer from 2 to that number and determine if it can be divided by another number (you will probably need two for loops for this; one nested inside the other).
 For each number that cannot be divided by any other number (that is its a prime number) print it out.
Motivation for the REU
AI First Engineering
Datasets for Projects
Machine Learning Models
Students Report Help
COVID19
 Yedjou CG, Alo RA, Liu J, et al. ChemoPreventive Effect of Vegetables and Fruits Consumption on the COVID19 Pandemic. J Nutr Food Sci. 2021;4(2):029
 Geoffrey C. Fox, Gregor von Laszewski, Fugang Wang, Saumyadipta Pyne,
AICov: An Integrative Deep Learning Framework for COVID19 Forecasting
with Population Covariates, J. data sci. 19(2021), no. 2, 293313,
DOI 10.6339/21JDS1007
Last modified
July 14, 2021
:
Update _index.md (24abd640)