Skip to content

Instantly share code, notes, and snippets.

View aidevnn's full-sized avatar
🆓
Free

Maths Coder aidevnn

🆓
Free
View GitHub Profile
@aidevnn
aidevnn / xor.py
Last active April 17, 2019 02:10 — forked from stewartpark/xor.py
Simple XOR learning with keras and custom log callback
from keras.models import Sequential
from keras.layers.core import Dense, Dropout, Activation
from keras.optimizers import SGD
from keras.callbacks import Callback
import numpy as np
import time
from tabulate import tabulate
X = np.array([[0,0],[0,1],[1,0],[1,1]])
y = np.array([[0],[1],[1],[0]])
@aidevnn
aidevnn / torch.xor.py
Last active April 17, 2019 04:38 — forked from user01/torch.xor.py
Toy XOR network with pyTorch
import torch
from torch.autograd import Variable
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
class Net(nn.Module):
def __init__(self):
super(Net, self).__init__()
@aidevnn
aidevnn / issue_driven_development.md
Created September 27, 2022 12:22
Issue-Driven Development

Issue-driven Development

Principle of issue-driven development is simple:

  • Always associate development to GitHub issue.

Issue-driven development achieves:

  • Modularity: Commits and branches are self-contained.
  • Granularity: Commits and branches intend a single Issue.
  • Transparency: Discussion on each edition can be seen on Issue.