Skip to content

Instantly share code, notes, and snippets.

View nikopartanen's full-sized avatar
🐱

Niko Partanen nikopartanen

🐱
View GitHub Profile
@nikopartanen
nikopartanen / NeedlemanWunsch.png
Created May 20, 2019 10:47 — forked from slowkow/NeedlemanWunsch.png
Plot the score matrix from a Needleman-Wunsch pairwise sequence alignment
NeedlemanWunsch.png
@nikopartanen
nikopartanen / cyrillic2latin_file_renamer.py
Created December 2, 2017 13:12 — forked from etrushkin/cyrillic2latin_file_renamer.py
Cyrillic to Latin File Changer
#!/usr/bin/python
# -*- coding: utf-8 -*-
# http://stackoverflow.com/questions/5574702/how-to-print-to-stderr-in-python
from __future__ import print_function
import sys
def eprint(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)
import errno
@nikopartanen
nikopartanen / w2v_visualizer.py
Last active November 30, 2017 18:02 — forked from BrikerMan/w2v_visualizer-v2.py
Convert gensim word2vec to tensorboard visualized model, detail: https://eliyar.biz/using-pre-trained-gensim-word2vector-in-a-keras-model-and-visualizing/ This version contains small edits done by Niko Partanen
# encoding: utf-8
"""
@author: BrikerMan
@contact: [email protected]
@blog: https://eliyar.biz
@version: 1.0
@license: Apache Licence
@file: w2v_visualizer.py
@time: 2017/7/30 上午9:37
@comment: Modified by Niko Partanen in 30.11.2017