Skip to content

Instantly share code, notes, and snippets.

View wyattowalsh's full-sized avatar
:shipit:
Hey there, welcome to my GitHub profile! 👋

Wyatt Walsh wyattowalsh

:shipit:
Hey there, welcome to my GitHub profile! 👋
View GitHub Profile

Numanac Monorepo 🧑‍🌾


Setup 🌱

@wyattowalsh
wyattowalsh / merge.py
Created March 3, 2024 21:10
Python3 to Merge .txt Files in a Directory
import os
import sys
def merge_txt_files(input_dir, output_file):
"""
Merges all .txt files found in the specified input directory into a single output file.
Parameters:
- input_dir (str): The directory to search for .txt files.
- output_file (str): The path to the output file where the merged content will be stored.
@wyattowalsh
wyattowalsh / prompts.md
Last active January 20, 2024 08:04
ChatGPT Prompt Templates
How would this best be enhanced, improved, optimized, and refined to produce the most advanced version possible?
What would the full implementation look like with these enhancement recommendations robustly integrated throughout the existing code?
@wyattowalsh
wyattowalsh / setup.zsh
Last active October 20, 2023 20:43
Mac Setup Scripts
#!/bin/zsh
<<COMMENT
-------------------------------------------------
setup.zsh: A macOS configuration setup script
Purpose:
Automates the setup process for a new macOS machine by installing desired Homebrew packages, cask apps, and configuring zsh.
Usage Examples:
@wyattowalsh
wyattowalsh / logger.py
Last active July 3, 2023 14:43
Python Logging Decorator + Configs
"""logger.py - logging utilities
"""
# == Imports ===============================================================
import inspect
import logging
import time
from datetime import datetime
from functools import wraps
from logging.config import fileConfig
from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Type
@wyattowalsh
wyattowalsh / icon.png
Last active January 21, 2023 02:11
Personal Logo
icon.png
@wyattowalsh
wyattowalsh / github.svg
Created January 20, 2023 21:27
GitHub Icon
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wyattowalsh
wyattowalsh / setup.sh
Last active October 18, 2023 19:43
MacOS Command Line Setup Script: Oh-My-Zsh, Homebrew, PyEnv, NVM, Java, Poetry
#!/bin/zsh
echo "Installing xcode ..."
xcode-select --install
# Check for Homebrew,
# Install if we don't have it
if test ! $(which brew); then
echo "Installing homebrew..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Machine Learning for NBA Game Attendance Prediction

This project seeks to provide a tool to accurately predict the attendance of NBA games in order to better inform the business decisions of different stakeholders across the organization. Predicting game attendance is crucial to making optimized managerial decisions such as planning necessary staffing needs or procuring the proper level of supplies (janitorial, food services, etc). The project is currently being worked on in its second version, version_2. In version 1, an entire machine learning pipeline is established throughout a host of modules ranging from web scraping for data collection to neural-network regression modeling for prediction. These efforts resulted in a high accuracy model with mean absolute error values for attendance around 800 people. However, improvements in data sources and modeling paradigms for improved accuracy are being sought in a few ways in the upcoming version. Click the link below to view the analysis and modeling versio

@wyattowalsh
wyattowalsh / daily_update.yml
Created April 1, 2021 11:54
GitHub Action File to Start the Daily Update Pipeline
# action to update my kaggle basketball dataset (see more here https://www.kaggle.com/wyattowalsh/basketball)
name: Update Kaggle Basketball Dataset - Daily
# Controls when the action will run.
on:
schedule:
- cron: "15 3 * * *" # update every night at 3:15am
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch: