Skip to content

Instantly share code, notes, and snippets.

Avatar

Beniamin Kalinowski BeniaminK

  • Warsaw, Poland
View GitHub Profile
View grid_sample.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@BeniaminK
BeniaminK / min-char-rnn.py
Created Oct 6, 2018 — forked from karpathy/min-char-rnn.py
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
View min-char-rnn.py
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
View Matrix
#!/usr/local/bin/io
Matrix := Object clone
Matrix mainList := list()
Matrix dim := method(x, y,
for(i, 1, x, mainList push(list()))
for(i, 1, x, mainList foreach(arr, arr setSize(y)))
self
View gist:389d14f8de27f89599a6
#include <iostream>
using namespace std;
int main()
{
double tab[10] = { 7, 8, 6, 4, 5, 9, 0, 3, 1, 2 };
double srednia = 0;
for (int i = 0; i < 10; i++)
{
cout << tab[i] << "\t";
}
View zwracanie_struktur
#include <iostream>
using namespace std;
struct suma_roznica
{
int suma;
int roznica;
};
You can’t perform that action at this time.