Skip to content

Instantly share code, notes, and snippets.

View pskrunner14's full-sized avatar

Prabhsimran Singh pskrunner14

View GitHub Profile
@amarion35
amarion35 / tdnn.py
Created October 11, 2018 17:33 — forked from amarioncosmo/tdnn.py
TDNN Layer in Keras
from keras import backend as K
from keras.engine.base_layer import Layer, InputSpec
from keras import activations
from keras.layers.convolutional import _Conv
import numpy as np
class TDNN(_Conv):
# Original TDNN
# A. Waibel, T. Hanazawa, G. Hinton, K. Shikano and K. J. Lang,
# "Phoneme recognition using time-delay neural networks,"
@adityaguptai
adityaguptai / Amazon Food Reviews EDA, NLP and Text Preprocessing.ipynb
Last active May 30, 2019 13:16
Amazon-Food-Reviews-Analysis-and-Modelling [Machine Learning | Data Analysis] Data Analysis on Amazon Fine Food Reviews dataset. Data Source: https://www.kaggle.com/snap/amazon-fine-food-reviews The Amazon Fine Food Reviews dataset consists of reviews of fine foods from Amazon. Number of reviews: 568,454 Number of users: 256,059 Number of produc…
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@asford
asford / .gitignore
Last active April 5, 2023 11:58
pybind11 ostream example
# Created by https://www.gitignore.io/api/c++,cmake
### C++ ###
# Prerequisites
*.d
# Compiled Object files
*.slo
*.lo
@therightstuff
therightstuff / _end-to-end-enc.js.md
Last active December 19, 2023 02:17
Javascript / Node.js end-to-end encryption
@PurpleBooth
PurpleBooth / README-Template.md
Last active April 24, 2025 18:58
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@sloria
sloria / recorder.py
Last active April 12, 2024 11:43
WAV recording functionality using pyaudio
# -*- coding: utf-8 -*-
'''recorder.py
Provides WAV recording functionality via two approaches:
Blocking mode (record for a set duration):
>>> rec = Recorder(channels=2)
>>> with rec.open('blocking.wav', 'wb') as recfile:
... recfile.record(duration=5.0)
Non-blocking mode (start and stop recording):
@ederwander
ederwander / Speech.py
Created January 10, 2012 15:12
Real time VAD implementation using Google Speech Api
#Eng Eder de Souza 01/12/2011
#Speech Recognizer prototype ...
#Real time VAD implementation using Google Speech Api
from tempfile import mkstemp
from subprocess import call
from os import remove, listdir
from matplotlib.mlab import find
import pyaudio
import numpy as np