Skip to content

Instantly share code, notes, and snippets.

View anandkumar89's full-sized avatar
πŸ’­
πŸ“š πŸ“š πŸ“š πŸ“š

Anand anandkumar89

πŸ’­
πŸ“š πŸ“š πŸ“š πŸ“š
View GitHub Profile
@andr0idsensei
andr0idsensei / unvectorized_nnet.py
Last active March 15, 2021 06:45
Vectorized neural network implementation for the Coursera ML course by Andrew Ng, based on the Python implementation written by John Wittenauer here http://www.johnwittenauer.net/machine-learning-exercises-in-python-part-5/ The un-vectorized version is also available for comparison.
import numpy as np
import time
from sklearn.preprocessing import OneHotEncoder
from scipy.io import loadmat
from scipy.optimize import minimize
def load_data(filename):
""" Loads the MNIST data from the given Matlab file name. """
try:
@protrolium
protrolium / ffmpeg.md
Last active December 1, 2025 21:36
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with:

@d3noob
d3noob / .block
Last active November 21, 2023 09:38
Interactive d3.js tree diagram
license: mit