Skip to content

Instantly share code, notes, and snippets.

@Lineldor
Lineldor / _vimrc
Created September 7, 2018 02:58 — forked from xurenlu/_vimrc
vim 配置文件
"vimim 相关
let g:vimim_enable_static_enu=1
"let g:vimim_enable_sexy_input_style=1
" 关闭中文标点
let g:vimim_disable_chinese_punctuation=1
"中英文之间不加空格
let g:vimim_disable_seamless_english_input=1
set dictionary-=/etc/funclist.txt dictionary+=/etc/funclist.txt
@Lineldor
Lineldor / timeseries_cnn.py
Created July 24, 2017 14:45 — forked from jkleint/timeseries_cnn.py
Example of using Keras to implement a 1D convolutional neural network (CNN) for timeseries prediction.
#!/usr/bin/env python
"""
Example of using Keras to implement a 1D convolutional neural network (CNN) for timeseries prediction.
"""
from __future__ import print_function, division
import numpy as np
from keras.layers import Convolution1D, Dense, MaxPooling1D, Flatten
from keras.models import Sequential