Skip to content

Blake Rayvid

Menu
  • About
  • Portfolio
Menu

Tag: Pandas

Compare Stock Returns

Posted on June 1, 2025July 6, 2025 by Blake

This page lets you enter multiple stock tickers (eg. AAPL, MSFT, GOOGL) and even portfolio expressions (eg. 1.75*NVDA+2.5*AMZN+5.5*KO) and compare their returns visually against a benchmark (like SPY). It’s built with Python and Flask on the backend. Data comes from Yahoo Finance via the yfinance library, pandas crunches the numbers, and matplotlib generates the plots….

Continue reading

Sentiment Classifier

Posted on July 12, 2024May 23, 2025 by Blake

My Flatiron School Data Science Bootcamp Phase 3 Project was to address the business problem of brand reputation management by monitoring and analyzing Twitter sentiment. The goal was to develop a machine learning model that can correctly classify tweets as positive, negative, or neutral, and provide insights to improve brand perception and engagement strategies. View…

Continue reading

Skyrim Alchemy Optimizer

Posted on June 10, 2024June 11, 2025 by Blake

This Jupyter notebook can be used to maximize alchemy profitability using the ingredients you have on hand in The Elder Scrolls V: Skyrim. It uses integer linear programming from scipy.optimize.milp to determine which potions to make, and in what quantities, to maximize total value. It needs a csv file of the ingredients you have with…

Continue reading

Efficient Portfolio

Posted on December 7, 2020July 5, 2025 by Blake

This is a Python implementation of Robert C. Merton’s efficient or minimum-variance portfolio algorithm from the paper An Analytic Derivation of the Efficient Portfolio Frontier (1972). Building on the work of Harry Markowitz, Merton describes a way to assign weights to a list of securities to make a portfolio that has the lowest variance in…

Continue reading

Categories

  • Data Science
  • Exploration
  • Finance
  • Health
  • Interactive
  • Optimization
  • Utilities

Tags

D3.js Desmos Flask Gemini API JavaScript JQuery MATLAB Matplotlib Netlify NLTK NumPy P5.js Pandas PostgreSQL Python QuantConnect Railway Scikit-Learn SciPy Spacy TensorFlow YFinance

© 2025 Blake Rayvid. All rights reserved.