Open Access. Powered by Scholars. Published by Universities.®

Physical Sciences and Mathematics Commons

Open Access. Powered by Scholars. Published by Universities.®

Computer Sciences

PDF

Series

Python

Institution
Publication Year
Publication

Articles 1 - 30 of 35

Full-Text Articles in Physical Sciences and Mathematics

Machine Learning: Face Recognition, Mohammed E. Amin May 2024

Machine Learning: Face Recognition, Mohammed E. Amin

Publications and Research

This project explores the cutting-edge intersection of machine learning (ML) and face recognition (FR) technology, utilizing the OpenCV library to pioneer innovative applications in real-time security and user interface enhancement. By processing live video feeds, our system encodes visual inputs and employs advanced face recognition algorithms to accurately identify individuals from a database of photos. This integration of machine learning with OpenCV not only showcases the potential for bolstering security systems but also enriches user experiences across various technological platforms. Through a meticulous examination of unique facial features and the application of sophisticated ML algorithms and neural networks, our project …


A Ui-Enhanced Approach To Generic Web-Based Scheduling, Tyler Hinrichs May 2024

A Ui-Enhanced Approach To Generic Web-Based Scheduling, Tyler Hinrichs

Honors Scholar Theses

Administrative scheduling is a key aspect of a wide variety of systems, but despite being a widespread need, it is not a straightforward task. Organizational uniqueness introduces complexity when attempting to use algorithmic methods to automate scheduling, as individual organizations often have their own ways of determining various details and constraints of a schedule. However, in this paper, we assert that there are relevant commonalities that many different schedules fundamentally possess, allowing us to create a generic scheduling application that can be productively used for as many different scenarios as possible. After devising a schema that captures this generic representation, …


Develop An Interactive Python Dashboard For Analyzing Ezproxy Logs, Andy Huff, Matthew Roth, Weiling Liu Apr 2024

Develop An Interactive Python Dashboard For Analyzing Ezproxy Logs, Andy Huff, Matthew Roth, Weiling Liu

Faculty Scholarship

This paper describes the development of an interactive dashboard in Python with EZproxy log data. Hopefully, this dashboard will help improve the evidence-based decision-making process in electronic resources management and explore the impact of library use.


Implementation Of Python Based High Voltage Tests For Gem Detectors, John Paul Hernandez Apr 2024

Implementation Of Python Based High Voltage Tests For Gem Detectors, John Paul Hernandez

Aerospace, Physics, and Space Science Student Publications

The Compact Muon Solenoid, CMS, and other detectors at LHC are in the process of being upgraded for the HL-LHC (High-Luminosity Large Hadron Collider) which will produce more than 5 times the particle interactions than of the current LHC. One upgrade to CMS is the introduction of new GEM detectors (Gaseous Electron Multiplier), GE2/1 and ME0 shown at right are new detectors to CMS and therefore must be tested thoroughly prior to being installed.


Parallelized Quadtrees For Image Compression In Cuda And Mpi, Aidan Jones Apr 2024

Parallelized Quadtrees For Image Compression In Cuda And Mpi, Aidan Jones

Senior Honors Theses

Quadtrees are a data structure that lend themselves well to image compression due to their ability to recursively decompose 2-dimensional space. Image compression algorithms that use quadtrees should be simple to parallelize; however, current image compression algorithms that use quadtrees rarely use parallel algorithms. An existing program to compress images using quadtrees was upgraded to use GPU acceleration with CUDA but experienced an average slowdown by a factor of 18 to 42. Another parallelization attempt utilized MPI to process contiguous chunks of an image in parallel and experienced an average speedup by a factor of 1.5 to 3.7 compared to …


Unmasking Shadows: Unraveling Crime Patterns In Nyc's Boroughs, Jack Hachicho, Muhammad Hassan Butt Dec 2023

Unmasking Shadows: Unraveling Crime Patterns In Nyc's Boroughs, Jack Hachicho, Muhammad Hassan Butt

Publications and Research

New York City's crime dynamics have been on the rise for decades. Brooklyn and The Bronx have been disproportionately affected. This research aims to understand the crime landscape in these boroughs to formulate effective policies. Using crime data from official sources, statistical analyses, and data visualizations, the study identifies patterns and trends. The data encompasses over 400,000 reported incidents collected over the past 10 years, meticulously categorized by borough, crime type, and demographic information. Brooklyn has the highest overall crime rate, followed by The Bronx. Most shooting victims are Black. This highlights the need for holistic community programs to address …


Teloportwrapper: A New Tool For Understanding The Dynamic World Of Fungal Telomere Ends, Trey Stansfield Jan 2023

Teloportwrapper: A New Tool For Understanding The Dynamic World Of Fungal Telomere Ends, Trey Stansfield

Mahurin Honors College Capstone Experience/Thesis Projects

Telomeres are repetitive DNA sequence motifs found at eukaryote chromosome ends. Telomeres help protect chromosome ends from DNA damage and promote chromosome stability. Chromosomes play important roles in aging, mutation, and cancer. Eukaryotic pathogens also use telomeres to mutate and manage virulence genes. In response to chromosome end breakage newly formed telomeres, called de novo telomeres, are formed to recreate the lost telomere and sub-telomeric regions.

Magnaporthe oryzae is a fungal pathogen which causes wheat blast, a deadly plant disease in wheat. Magnaporthe oryzae is also known for its highly variable sub-regions which show high amounts of induced variability due …


Simulating The Machine Translation Of Low-Resource Languages By Designing A Translator Between English And An Artificially Constructed Language, Michaela Snyder Jan 2023

Simulating The Machine Translation Of Low-Resource Languages By Designing A Translator Between English And An Artificially Constructed Language, Michaela Snyder

Mahurin Honors College Capstone Experience/Thesis Projects

Natural language processing (NLP), or the use of computers to analyze natural language, is a field that relies heavily on syntax. It would seem intuitive that computers would thrive in this area due to their strict syntax requirements, but the syntax of natural languages leaves them unable to properly parse and generate sentences that seem normal to the average speaker. A subfield of NLP, machine translation, works mainly to computerize translation between different languages. Unfortunately, such translation is not without its weaknesses; language documentation is not created equal, and many low-resource languages—languages with relatively few kinds of documentation, most often …


An Empirical Study On The Classification Of Python Language Features Using Eye-Tracking, Jigyasa Chauhan Dec 2022

An Empirical Study On The Classification Of Python Language Features Using Eye-Tracking, Jigyasa Chauhan

Department of Computer Science and Engineering: Dissertations, Theses, and Student Research

Python, currently one of the most popular programming languages, is an object-
oriented language that also provides language feature support for other programming
paradigms, such as functional and procedural. It is not currently understood how
support for multiple paradigms affects the ability of developers to comprehend that
code. Understanding the predominant paradigm in code, and how developers classify
the predominant paradigm, can benefit future research in program comprehension as
the paradigm may factor into how people comprehend that code. Other researchers
may want to look at how the paradigms in the code interact with various code smells.
To investigate how …


Real World Projects, Real Faults: Evaluating Spectrum Based Fault Localization Techniques On Python Projects, Ratnadira Widyasari, Gede Artha Azriadi Prana, Stefanus Agus Haryono, Shaowei Wang, David Lo Nov 2022

Real World Projects, Real Faults: Evaluating Spectrum Based Fault Localization Techniques On Python Projects, Ratnadira Widyasari, Gede Artha Azriadi Prana, Stefanus Agus Haryono, Shaowei Wang, David Lo

Research Collection School Of Computing and Information Systems

Spectrum Based Fault Localization (SBFL) is a statistical approach to identify faulty code within a program given a program spectra (i.e., records of program elements executed by passing and failing test cases). Several SBFL techniques have been proposed over the years, but most evaluations of those techniques were done only on Java and C programs, and frequently involve artificial faults. Considering the current popularity of Python, indicated by the results of the Stack Overflow survey among developers in 2020, it becomes increasingly important to understand how SBFL techniques perform on Python projects. However, this remains an understudied topic. In this …


Optimization Of Orbital Trajectories Using Neuroevolution Of Augmenting Topologies, Nathan Wetherell May 2022

Optimization Of Orbital Trajectories Using Neuroevolution Of Augmenting Topologies, Nathan Wetherell

University Scholar Projects

This project aims to determine the feasibility of using NeuroEvolution of Augmenting Topologies (NEAT), an advanced neural network evolution scheme, to optimize orbital transfer trajectories. More specifically, this project compares a genetically evolved neural network to a standard Hohmann transfer between Earth and Mars. To test these two methods, an N-body simulation environment was created to accurately determine the result of gravitational interactions on a theoretical spacecraft when combined with planned engine burns. Once created, this simulation environment was used to train the neural networks created using the NEAT Python module. A genetic algorithm was used to modify the topology …


The Quest For New Music: A Recommendation Algorithm For Spotify Users, Ian Curtis May 2022

The Quest For New Music: A Recommendation Algorithm For Spotify Users, Ian Curtis

Honors Projects

Music is one of the rare forms of communication that can be understood on a profound level by anyone; it has the power to cause significant emotional effects, to spark inspiration, to ignite change, to spread knowledge, and more, even regardless of song language. A popular subject of research in music pertains to recommendations; determining a song a listener would enjoy is not an easy task. Moreover, certain factors may influence a user's satisfaction with recommended songs and their likelihood to continue using a service. Focusing on the major streaming service Spotify, we build a K-Means clustering algorithm to recommend …


On The Influence Of Biases In Bug Localization: Evaluation And Benchmark, Ratnadira Widyasari, Stefanus Agus Haryono, Ferdian Thung, Jieke Shi, Constance Tan, Fiona Wee, Jack Phan, David Lo Mar 2022

On The Influence Of Biases In Bug Localization: Evaluation And Benchmark, Ratnadira Widyasari, Stefanus Agus Haryono, Ferdian Thung, Jieke Shi, Constance Tan, Fiona Wee, Jack Phan, David Lo

Research Collection School Of Computing and Information Systems

Bug localization is the task of identifying parts of thesource code that needs to be changed to resolve a bug report.As this task is difficult, automatic bug localization tools havebeen proposed. The development and evaluation of these toolsrely on the availability of high-quality bug report datasets. In2014, Kochhar et al. identified three biases in datasets used toevaluate bug localization techniques: (1) misclassified bug report,(2) already localized bug report, and (3) incorrect ground truthfile in a bug report. They reported that already localized bugreports statistically significantly and substantially impact buglocalization results, and thus should be removed. However, theirevaluation is still limited, …


Introduction To Using Python In The Digital Humanities, Elisabeth Shook Dec 2021

Introduction To Using Python In The Digital Humanities, Elisabeth Shook

Library Faculty Publications and Presentations

The materials here are from the Python for Digital Humanities Workshop taught on December 13, 2021 for the Boise State University Digital Humanities Group. This 3-hour workshop was created to provide both a very brief introduction to the various capabilities of Python and a small lesson in using Python to pull meaningful insight out of text files.


Messiness: Automating Iot Data Streaming Spatial Analysis, Christopher White, Atilio Barreda Ii Dec 2021

Messiness: Automating Iot Data Streaming Spatial Analysis, Christopher White, Atilio Barreda Ii

Publications and Research

The spaces we live in go through many transformations over the course of a year, a month, or a day; My room has seen tremendous clutter and pristine order within the span of a few hours. My goal is to discover patterns within my space and formulate an understanding of the changes that occur. This insight will provide actionable direction for maintaining a cleaner environment, as well as provide some information about the optimal times for productivity and energy preservation.

Using a Raspberry Pi, I will set up automated image capture in a room in my home. These images will …


Characterization And Automatic Updates Of Deprecated Machine-Learning Api Usages, Stefanus Agus Haryono, Thung Ferdian, David Lo, Julia Lawall, Lingxiao Jiang Sep 2021

Characterization And Automatic Updates Of Deprecated Machine-Learning Api Usages, Stefanus Agus Haryono, Thung Ferdian, David Lo, Julia Lawall, Lingxiao Jiang

Research Collection School Of Computing and Information Systems

Due to the rise of AI applications, machine learning (ML) libraries, often written in Python, have become far more accessible. ML libraries tend to be updated periodically, which may deprecate existing APIs, making it necessary for application developers to update their usages. In this paper, we build a tool to automate deprecated API usage updates. We first present an empirical study to better understand how updates of deprecated ML API usages in Python can be done. The study involves a dataset of 112 deprecated APIs from Scikit-Learn, TensorFlow, and PyTorch. Guided by the findings of our empirical study, we propose …


Characterizing Students’ Engineering Design Strategies Using Energy3d, Jasmine Singh, Viranga Perera, Alejandra Magana, Brittany Newell Apr 2021

Characterizing Students’ Engineering Design Strategies Using Energy3d, Jasmine Singh, Viranga Perera, Alejandra Magana, Brittany Newell

Discovery Undergraduate Interdisciplinary Research Internship

The goals of this study are to characterize design actions that students performed when solving a design challenge, and to create a machine learning model to help future students make better engineering design choices. We analyze data from an introductory engineering course where students used Energy3D, an open source computer-aided design software, to design a zero-energy home (i.e. a home that consumes no net energy over a period of a year). Student design actions within the software were recorded into text files. Using a sample of over 300 students, we first identify patterns in the data to assess how students …


Using Information Theory To Extract Patterns From Categorical Raster Data, David Percy Apr 2021

Using Information Theory To Extract Patterns From Categorical Raster Data, David Percy

Systems Science Faculty Publications and Presentations

Information theory -- Reconstructability Analysis (RA) implemented in the Occam software -- was used to extract patterns from National Land Cover Data. The aim was to predict temporal change in evergreen forests from time-lagged and spatially adjacent states. The NLCD satellite data were preprocessed with Python and submitted to Occam for analysis, and Occam output was also explored with R-studio. The effectiveness of RA methodology for the analysis of this type of categorical space-time grid data was demonstrated.


Conversational A.I.: Predicting Future Response Sentiment In One-On-One Dialogue, Josephine Bahr Apr 2021

Conversational A.I.: Predicting Future Response Sentiment In One-On-One Dialogue, Josephine Bahr

2021 Academic Exhibition

This project focuses on mathematical applications for one-on-one texting conversations. Welcome to the realm of conversational A.I. (artificial intelligence), a field that also studies the commonly-known predictive text. Instead of suggesting words, however, this project will make predictions in text sentiment. Text sentiment models detect emotion in natural written language. With the development of models that can tag present emotions, this project looks to further apply the field of text sentiment. If a model exists to tag present emotion, then perhaps the tags can be used to predict future emotion. This project specifically applies this question to texting conversations between …


Introduction To Computers And Programming Using Python: A Project-Based Approach, Esma Yildirim, Daniel Garbin, Mathieu Sassolas, Kwang Hyun Kim Jan 2021

Introduction To Computers And Programming Using Python: A Project-Based Approach, Esma Yildirim, Daniel Garbin, Mathieu Sassolas, Kwang Hyun Kim

Open Educational Resources

Welcome to the “Introduction to Computers and Programming using Python: A Project-based Approach”. This book is designed to teach basic programming skills to students who are new to the field of computing using a project-based learning approach. It has been designed to give freedom to the instructor, both in format and topics ultimately used throughout the course. While we provide 13 turnkey projects, it is only expected that 3 or 4 are used over the course of a semester, and all projects are provided both as textual instructions (the student version of this OER) and Jupyter Notebooks (one with and …


Bugsinpy: A Database Of Existing Bugs In Python Programs To Enable Controlled Testing And Debugging Studies, Ratnadira Widyasari, Sheng Qin Sim, Camellia Lok, Haodi Qi, Jack Phan, Qijin Tay, Constance Tan, Fiona Wee, Jodie Ethelda Tan, Yuheng Yieh, Brian Goh, Ferdian Thung, Hong Jin Kang, Thong Hoang, David Lo, Eng Lieh Ouh Nov 2020

Bugsinpy: A Database Of Existing Bugs In Python Programs To Enable Controlled Testing And Debugging Studies, Ratnadira Widyasari, Sheng Qin Sim, Camellia Lok, Haodi Qi, Jack Phan, Qijin Tay, Constance Tan, Fiona Wee, Jodie Ethelda Tan, Yuheng Yieh, Brian Goh, Ferdian Thung, Hong Jin Kang, Thong Hoang, David Lo, Eng Lieh Ouh

Research Collection School Of Computing and Information Systems

The 2019 edition of Stack Overflow developer survey highlights that, for the first time, Python outperformed Java in terms of popularity. The gap between Python and Java further widened in the 2020 edition of the survey. Unfortunately, despite the rapid increase in Python's popularity, there are not many testing and debugging tools that are designed for Python. This is in stark contrast with the abundance of testing and debugging tools for Java. Thus, there is a need to push research on tools that can help Python developers.One factor that contributed to the rapid growth of Java testing and debugging tools …


Fern Or Fractal... Or Both?, Christina Babcock Apr 2020

Fern Or Fractal... Or Both?, Christina Babcock

Research and Scholarship Symposium Posters

Fractals are series of self similar sets and can be found in nature. After researching the Barnsley Fern and the iterated function systems using to create the fractal, I was able to apply what I learned to create a fractal shell. This was done using iterated function systems, matrices, random numbers, and Python coding.


Ai Education Matters: Data Science And Machine Learning With Magic: The Gathering, Todd W. Neller Aug 2019

Ai Education Matters: Data Science And Machine Learning With Magic: The Gathering, Todd W. Neller

Computer Science Faculty Publications

In this column, we briefly describe a rich dataset with many opportunities for interesting data science and machine learning assignments and research projects, we take up a simple question, and we offer code illustrating use of the dataset in pursuit of answers to the question.


Activity - Python Functions - Scrabble Game, Robert J. Domanski Jan 2019

Activity - Python Functions - Scrabble Game, Robert J. Domanski

Open Educational Resources

A Python Functions activity - "Scrabble game" - for CS0 students. Part of the CUNY CS04All project.


Activity - Python Lists - "Hangman Game", Robert J. Domanski Jan 2019

Activity - Python Lists - "Hangman Game", Robert J. Domanski

Open Educational Resources

A Python Lists activity - "Hangman game" - for CS0 students. Part of the CUNY CS04All project.


Activity - Python If-Else - "The Dating Equation", Robert J. Domanski Jan 2019

Activity - Python If-Else - "The Dating Equation", Robert J. Domanski

Open Educational Resources

A Python IF-ELSE activity - "The Dating Equation" - for CS0 students. Part of the CUNY CS04All project.


Activity - Python Lists - "Gift Exchange", Robert J. Domanski Jan 2019

Activity - Python Lists - "Gift Exchange", Robert J. Domanski

Open Educational Resources

A Python Lists activity - "Gift Exchange" - for CS0 students. Part of the CUNY CS04All project.


Activity - Python Functions - Drawing With Turtle, Robert J. Domanski Jan 2019

Activity - Python Functions - Drawing With Turtle, Robert J. Domanski

Open Educational Resources

A Python Functions activity - "Drawing with Turtle" - for CS0 students. Part of the CUNY CS04All project.


Marketing The Mountain State: A Large N Study Of User Engagement On Twitter, Kirk Richardson Jun 2017

Marketing The Mountain State: A Large N Study Of User Engagement On Twitter, Kirk Richardson

Capstone Projects – Politics and Government

Much of the evolving research on the use of social media in destination marketing emphasizes how information diffusion influences the reputational image of place. The present study uses Twitter data to focus on the relative differences in user engagement across discrete account types. Specifically, this is done to examine how the official destination marketing organization of Montana—the Montana Office of Tourism (MTOT)—performs relative to other account types. Several regression analyses conducted on Twitter data associated with an ongoing MTOT place branding campaign reveal that tweets sent from ‘official’ accounts are more likely to be retweeted, and are estimated to receive …


Make A Twitter Bot In Python: Iterative Code Examples, Robin Camille Davis, Mark E. Eaton Apr 2016

Make A Twitter Bot In Python: Iterative Code Examples, Robin Camille Davis, Mark E. Eaton

Publications and Research

A tutorial based upon the LACUNY Emerging Technologies Committee’s “Build Your Own Twitter Bot” day in December 2015, which was billed as a gentle introduction to programming in Python.