Anik's Tech Tutorials

Saturday, June 10, 2017

Snippet: List Comprehension vs Set AND operation

›
timeit.timeit('a = range(50);b=range(25, 75);set(a)&set(b)') # takes about 5 seconds timeit.timeit('a = range(50);b=range...
Sunday, April 30, 2017

Interesting Plot Snippet: Bitwise Or and Addition Operation

›
If the sum and the result of bitwise or operation of two numbers are the same, plotting these numbers in a scatter diagram produces a beaut...
Monday, January 9, 2017

Value Iteration in Gridworld, Reinforcement Learning

›
import operator import copy import math class State: def __init__(self, rowid, colid): self.row = rowid self.col = c...
Wednesday, December 28, 2016

Reinforcement Learning with Pygame Tutorial Part - 2

›
(Part 1: http://anixtech.blogspot.com/2016/12/reinforcement-learning-with-pygame-part.html ) I have created the second part of the tutori...
Friday, December 23, 2016

Reinforcement Learning With Pygame Part - 1

›
Following is an example of a simple game which could be used to train agents.  import pygame as pg from pygame.locals import * import sys...
Wednesday, July 27, 2016

Simplified Neural Network Backpropagation Example Python

›
This is an even simplified version of this fantastic tutorial:  https://mattmazur.com/2015/03/17/a-step-by-step-backpropagation-example/ L...
Tuesday, July 26, 2016

Who Liked Your Last N Number of Facebook Posts Most

›
Previously it was possible to find out this information for any friend's profile too. But Facebook has recently revoked that access and...
›
Home
View web version
Powered by Blogger.