Skip to content

Instantly share code, notes, and snippets.

View wzjoriv's full-sized avatar
👻

Josue wzjoriv

👻
View GitHub Profile
@wzjoriv
wzjoriv / retrieve.py
Last active July 4, 2021 04:43
Retrieve attendance from zoom chat
import sys, re
"""
Author: Josue N Rivera
Date: 4/28/2021
Description: Script to retrieve attendance from zoom chat if participants type "<Present> Participant Name" in the chat
To run: Download the meeting chat from Zoom, then type on the terminal: ``python retrieve.py path/to/meeting_saved_chat.txt``
Project Link: https://github.com/JosueCom
"""
@wzjoriv
wzjoriv / organize.py
Last active July 4, 2021 04:39
Organize blackboard submission attempts into folders
import os
"""
Author: Josue N Rivera
Date: 1/31/2020
Description: Script to organize blackboard assignment submission attempts into folders after download
To run: Move script to folder with attempts, then type in terminal ``python organize.py``
Project Link: https://github.com/JosueCom/JosueCom/tree/master/scripts/blackboard
"""
@wzjoriv
wzjoriv / clustering.py
Last active May 8, 2024 02:28
Nearest Neighbor, K Nearest Neighbor and K Means (NN, KNN, KMeans) implemented only using PyTorch
import torch as th
"""
Author: Josue N Rivera (github.com/wzjoriv)
Date: 7/3/2021
Description: Snippet of various clustering implementations only using PyTorch
Full project repository: https://github.com/wzjoriv/Lign (A graph deep learning framework that works alongside PyTorch)
"""
def random_sample(tensor, k):