Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View Collonville's full-sized avatar
🍻
Happy beer!!!! Wow!!!!!!

Collonville Collonville

🍻
Happy beer!!!! Wow!!!!!!
View GitHub Profile
@Artiume
Artiume / cuda_11.1_installation_on_Ubuntu_20.04
Last active December 1, 2023 10:25 — forked from Mahedi-61/cuda_11.8_installation_on_Ubuntu_22.04
CUDA 11.1 Installation on Ubuntu 20.04
#!/bin/bash
## This gist contains instructions about cuda v11.1 and cudnn 7.6 installation in Ubuntu 20.04 for Tensorflow 2.1.0
### steps ####
# verify the system has a cuda-capable gpu
# download and install the nvidia cuda toolkit and cudnn
# setup environmental variables
# verify the installation
###

Voice Meeter Bananaを使ってビデオ会議のノイズ軽減をするメモ.md

自宅でビデオ会議をしていると、空調とか屋外のノイズなどをマイクが拾いがちなので、Voice Meeter Bananaを使ってノイズを軽減するための工夫をあれこれ試してみたメモ。

使うもの

@craffel
craffel / mrr.py
Created January 19, 2016 02:47
Compute mean reciprocal rank between two sets of feature vectors
def mean_reciprocal_rank(X, Y, indices, metric='hamming'):
''' Computes the mean reciprocal rank of the correct match
Assumes that X[n] should be closest to Y[n]
Default uses hamming distance
:parameters:
- X : np.ndarray, shape=(n_examples, n_features)
Data matrix in X modality
- Y : np.ndarray, shape=(n_examples, n_features)
Data matrix in Y modality
- indices : np.ndarray
@mblondel
mblondel / letor_metrics.py
Last active January 14, 2024 16:27
Learning to rank metrics.
# (C) Mathieu Blondel, November 2013
# License: BSD 3 clause
import numpy as np
def ranking_precision_score(y_true, y_score, k=10):
"""Precision at rank k
Parameters