Skip to content

rcghpge/data-3461-ml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning in Python @ UTA

Machine Learning in Python @ UTA. Dr. Jawad. Spring 2025


Lab

Labs section of the course.

Development Environment Setup

To run an initial Python development environment there are several methods via Jupyter notebooks, VS Code, PyCharm, Spyder, the Anaconda distribution, or on the command line in Bash. For beginner-friendly, Jupyter Notebooks or Anaconda is recommended for a seamless development and workflow environment. See Resources and Documentation section.


Getting Started

To get started see Github documentation to install this repository into your local machine: Cloning a Repository

Python Development Workflow in Bash

Install Python

If not using Anaconda or other workflow development environments, clone the repository and install Python directly in Bash:

# Install Python
sudo apt install python3

# Install pip package manager
sudo apt install python3-pip

Run a Python Interactive Shell:

python3

You can run Python scripts directly in Bash:

# Create a Python script
nano hello.py

# Run Python script
python3 hello.py

For package management and virtual environments:

# Create a virtual environment
python3 -m venv ml-env

# Activate virtual environment
source ml-env/bin/activate

# Install Python libraries
pip install numpy pandas scikit-learn matplotlib seaborn jupyter

Anaconda Development Workflow Setup

Anaconda is a distribution stack for Python and R, designed for data science and machine learning. It includes Spyder, Jupyter, and pre-installed libraries.

  1. Download and install Anaconda from Anaconda Downloads
  2. Launch the Anaconda Navigator GUI for managing environments and tools.

Create an Environment in Anaconda:

# Create interactive environment
conda create -n ml-env python=3.9

# Activate the environment
conda activate ml-env

# Install required packages
conda install numpy pandas scikit-learn matplotlib seaborn jupyter

Run Spyder or Jupyter:

  • Open Spyder: Launch from the Anaconda Navigator or run Spyder in the terminal.
  • Run Jupyter Notebook: Launch from Navigator or run the following command in Bash:
jupyter notebook

Resources and Documentation


About

Machine Learning in Python @ UTA. Spring 2025

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages