This the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

2021 REU Course

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

Rstudio with Git and GitHub Slides 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.

Python Introduction to Python (ePub) (PDF)

Installation of Python

Installation of Python Installation of Python — June 7th, 2021 (AM)

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:

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

  2. After the download you do an additional step as follows:

    • on Mac:

      python3.9 -m venv ~/ENV3
      source ~/ENV/bin/activate
      

      you need to do the source every time you start a new window or on mac ass it to .zprofile

  • on Windows you first install gitbash and do all yuour terminal work from gitbash as this is more Linux-like. 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

  1. 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.

  2. On Pycharm we recommend you use the ENV3 and set the clobal interpreter

Jupyter Notebooks

Jupyter Notebooks Jupyter Notebooks — June 7th, 2021 (PM): This lecture provides an introduction to Jupyter Notebooks using Visual Studio as IDE.

Github

Github Video: Github
Github Video-Github 2 — June 8th, 2021 (PM): In this lecture the student can learn how to create a project on RStudio and link it with a repository on GitHub to commit, pull and push the code from RStudio.

Introduction to Python

Introduction to Python Slides: This introduction to Python cover the different data type, how to convert type of variable, understand and create flow control usign conditional statements.
Rstudio with Git and GitHub Slides Video-Introduction to Python (1) — June 9th, 2021 (AM): This introduction to Python cover the different data type, how to convert type of variable, understand and create flow control usign conditional statements.
Introduction to Python Video-Introduction to Python (2) — June 9th, 2021 (PM): This introduction to Python cover the different data type, how to convert type of variable, understand and create flow control usign conditional statements.
Introduction to Python Video-Introduction to Python (3) — June 10th, 2021 (AM): This lecture introduces the use of Google Colab to code your python program using the resources provided by Google. Also, DataFrame is introduced and use to manipulate and analyze data.
String, Numbers, Booleans Flow of control Using If statements Slides — June 10th, 2021 (PM): String, Numbers, Booleans Flow of control Using If statements
Slides: String, Numbers, Booleans Flow of control Using If statements Slides: String, Numbers, Booleans Flow of control Using If statements (2)
 Python Exercises Lab2 Python Exercises - Lab 2

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.

  1. 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

    1. If the number is less than Zero return with an error message.
    2. Check to see if the number is Zero—if it is then the answer is 1—print this out.
    3. Otherwise use a loop to generate the result and print it out.
  2. 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

    1. If the user inputs a number below 2, print an error message.
    2. 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).
    3. For each number that cannot be divided by any other number (that is its a prime number) print it out.

Motivation for the REU

Video: Motivation for the REU: Data is Driven Everything Video — June 11th, 2021 (AM): Motivation for the REU: Data is Driven Everything
Slides: Motivation for the REU: Data is Driven Everything Slides: Motivation for the REU: Data is Driven Everything
Slides: Descriptive Statistic Slides: Descriptive Statistic
Slides: Probability Slides: Probability
Video: Motivation for the REU: Data is Driven Everything Video — June 28th, 2021 (AM): Working on GitHUb Template and Mendeley references management

Data Science Tools

Slides: Data Science Tools Slides: Data Science Tools
Numpy Video — June 14th, 2021 (AM): Numpy
Pandas data frame Video — June 14th, 2021 (PM): Pandas data frame
Web Data mining Video — June 15th, 2021 (AM): Web data mining
Pandas IO Video — June 15th, 2021 (PM): Pandas IO
Pandas Video — June 16th, 2021 (AM): Pandas
Matrix Computation Video-Matrix computation — June 16th, 2021 (PM): Linear algebra is a main compornent in the field of Data Science. As a consequence, this lecture introduces the main matrix operations such as, addition, substraction, multiplication, and picewise multiplication.
Pycharm Installation and Virtual Environment setup Video: Pycharm Installation and Virtual Environment setup — June 18th, 2021 (AM)
Application of Matrix Operation using Images on Python Video: This lecture the student can learn the different applications of Matrix Operation using images on Python. — June 21st, 2021 (AM)
Data wrangling Video: Data wrangling and Descriptive Statistic Using Python — June 21st, 2021 (AM)
Data wrangling and Descriptive Statistic Using Python Video: Data wrangling and Descriptive Statistic Using Python — June 22nd, 2021 (PM)
FURY Visualization and Microsoft Lecture Video: FURY Visualization and Microsoft Lecture — June 25th, 2021 (PM)
Introduction to Probability Video: Instroduction to Probability — June 25th, 2021 (PM)
Digital Twins and Virtual Tissue ussing CompuCell3D Simulating Cancer Somatic Evolution in nanoHUB Video: Digital Twins and Virtual Tissue ussing CompuCell3D Simulating Cancer Somatic Evolution in nanoHUB — July 2nd, 2021 (AM)

AI First Engineering

AI FIrst Engineering: Learning material Video: AI First Engineering: Learning material — June 25th, 2021 (AM)
Adding content to your su21-reu repositorirs Video: Adding content to your su21-reu repositories — June 17th, 2021 (PM)
AI First Engineering: Slides: AI First Engineering

Datasets for Projects

Datasets for Projects: Data world and Kaggle Video: Datasets for Projects: Data world and Kaggle — June 29th, 2021 (AM)
Datasets for Projects: Data world and Kaggle Video: Datasets for Projects: Data world and Kaggle part 2 — June 29th, 2021 (PM)

Machine Learning Models

K-Means: Unsupervised model Video: K-Means: Unsupervised model — June 30th, 2021 (AM)
Support Vector Machine: Supervised model Video: Support Vector Machine: Supervised model — July 2nd, 2021 (PM)
Support Vector Machine: Supervised model Slides: Support Vector Machine Supervised model.
Neural Networks: Deep Learning Supervised model Video: Neural Networks: Deep Learning Supervised model — July 6th, 2021 (AM)
SVideo: Neural Networks: Deep learning Model Video: Neural Networks: Deep learning Model — July 6th, 2021 (AM)
Data Visualization: Visualizaton for Data Science Video: Data Visualization: Visualizaton for Data Science — July 7th, 2021 (AM)
Convulotional Neural Networks: Deep learning Model Video: Convulotional Neural Networks: Deep learning Model — July 8th, 2021 (AM)

Students Report Help

Student Report Help Video: Student Report Help with Introduction and Datasets — July 7th, 2021 (AM)
Student Report Help Video: Student Report Help with Introduction and Datasets — July 13th, 2021 (AM)

COVID-19

Covid-19 Video: Chemo-Preventive Effect of Vegetables and Fruits Consumption on the COVID-19 Pandemic — July 1st, 2021 (AM)