To open a file in Vim:
vim <filename>
Navigation | |
---|---|
h |
move one character left |
j |
move one row down |
#!/usr/bin/eggdrop | |
# ^- This should contain a fully qualified path to your Eggdrop executable. | |
# | |
# $Id: eggdrop.conf,v 1.51 2008-02-16 20:15:30 guppy Exp $ | |
# | |
# This is a sample Eggdrop configuration file which includes all possible | |
# settings that can be used to configure your bot. | |
# | |
# The pound signs (#) that you see at the beginning of some lines mean that | |
# the remainder of that line is a comment, or just for your information. By |
# Standard scientific Python imports | |
import pylab as pl | |
import numpy as np | |
from time import time | |
# Import datasets, classifiers and performance metrics | |
from sklearn import datasets, svm, pipeline | |
from sklearn.kernel_approximation import (RBFSampler, | |
Nystroem) | |
from sklearn.utils import shuffle |
"""Another way, note this one will load the whole array into memory .""" | |
from keras.preprocessing.image import ImageDataGenerator | |
import h5py | |
from keras.utils.io_utils import HDF5Matrix | |
seed=0 | |
batch_size=32 | |
# we create two instances with the same arguments | |
data_gen_args = dict( | |
rotation_range=90., |