This is a test for my lcd display.
PINS DB7:0 connected to A7:0
Other pins connected as described in lcd.h
from sklearn.base import TransformerMixin | |
class TransformWrapper(TransformerMixin): | |
"""simple wrapper for instruments like LabelEncoder. | |
It is usefull if we want to encode many features at one time. | |
They have a little bit different interface compairing to OneHotEncoder for example""" | |
def __init__(self, enc): | |
self.enc = enc |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This is a test for my lcd display.
PINS DB7:0 connected to A7:0
Other pins connected as described in lcd.h
/* | |
* rtc.c | |
* | |
* Created on: 11 июн. 2017 г. | |
* Author: stavinsky | |
*/ | |
#include "rtc.h" | |
add got_chars((char *)Buf, Len); to int8_t CDC_Receive_FS (uint8_t Buf, uint32_t *Len)
and add usb_out(); to main loop
import re | |
class NGram(): | |
pattern = re.compile('[^а-яА-Я ]+') | |
_ngrams = dict() | |
_it = 0 | |
def __init__(self): | |
self.words = dict() | |
self._it = 0 |
import argparse | |
import struct | |
from pyftdi.ftdi import Ftdi | |
from math import log2 | |
from pyftdi.spi import SpiController | |
def calculate_adf4351_registers( | |
f_out, | |
f_ref, |