I hereby claim:
- I am khyrulimam on github.
- I am khairulimam (https://keybase.io/khairulimam) on keybase.
- I have a public key ASB9tQwIEy_EnWa1GCQJw1iRKcDcvDqHsgwAhVBO7m3Gygo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| from numpy.linalg import svd | |
| import numpy | |
| d1 = "Shipment of gold damaged in a fire" | |
| d2 = "Delivery of silver arrived in a silver truck" | |
| d3 = "Shipment of gold arrived in a truck" | |
| docs = [d1,d2,d3] | |
| tokenized_doc = [d.lower().split() for d in docs] |
| from lsirina.lsi.similarity import calc_similarity | |
| d1 = "Shipment of gold damaged in a fire" | |
| d2 = "Delivery of silver arrived in a silver truck" | |
| d3 = "Shipment of gold arrived in a truck" | |
| query = "gold silver truck" | |
| docs = [d1,d2,d3] | |
| tokenized_doc = [d.split() for d in docs] |
| import random | |
| population = [random.randint(70, 100) for n in range(100)] | |
| def comparePopulationMeanAndSampleMean(population, numberOfSample): | |
| populationMean = sum(population)/population.__len__() | |
| random.shuffle(population) | |
| sample = population[:numberOfSample] | |
| sampleMean = sum(sample)/sample.__len__() | |
| print "population mean: %s \nsample mean: %s" % (populationMean, sampleMean) |
| #!/usr/bin/python3 | |
| import requests | |
| import os | |
| import argparse | |
| import shutil | |
| def download(): | |
| ap = argparse.ArgumentParser() | |
| ap.add_argument('-u', '--username', required=True, help='username yout want to download') | |
| ap.add_argument('-d', '--directory', required=False, help='Directory location for images') |
| var omTeloletOm = { | |
| lowBoundFreq: 300, //initial frequency value | |
| upperBoundFreq: 800, | |
| freqState: this.lowBoundFreq, | |
| init: function() { | |
| context = new(window.AudioContext || window.webkitAudioContext)(); | |
| oscilator = context.createOscillator(); | |
| oscilator.type = 'sawtooth'; | |
| oscilator.frequency.value = this.lowBoundFreq; | |
| gain = context.createGain(); |
| import cv2 as cv | |
| from matplotlib import pyplot as plt | |
| #load image | |
| rgb_image = cv.imread('images/bebek_imut.jpg') | |
| #see the output | |
| rgb_image | |
| #print rgb_image's shape |