Category: ব্লগ । Blog
ব্লগ । Blog
Jan 05
Basic Matrix Operations:
Basic Matrix Operations: def matrix_multiplication ( m, n ): # Creates a list containing 5 lists, each of 8 items, all set to 0 o_row, o_col = len(m), len(n[0]); output_matrix = [[0 for x in range(o_row)] for y in range(o_col)] one_output_cell = 0 rowCount = 0 colCount = 0 temp = 0 for aRow in …
Jan 05
Basic Numpy Operations
Basic Numpy Operations import numpy as np a = np.arange(15).reshape(3, 5) print(a) print(a.shape) print(a.ndim) print(a.dtype.name) print(a.itemsize) print(a.size) print(type(a)) b = np.array([6, 7, 8]) print(b) type(b) #
Jan 05
Implement Gradient Descend:
" Gradient descent is a first-order iterative optimization algorithm for finding the minimum of a function. To find a local minimum of a function usinggradient descent, one takes steps proportional to the negative of the gradient (or approximategradient) of the function at the current point. Gradient descent – Wikipedia https://en.wikipedia.org/wiki/Gradient_descent " Gradient Descend # From …
Dec 30
International News: Stock Market melty, Part II: Theme of the Week
International News: Stock Market melty, Part II: Theme of the Week: Bloomberg There Is Logic Behind the Stock Market – Shira Ovide Ugly Markets Might Contaminate the U.S. Economy – Mohamed A. El-Erian Trump’s ‘Tremendous Buy’ Stock Market Isn’t a Bargain – Stephen Gandel The Market Swoon Isn’t All About Trump – Justin Fox Trump’s …
Dec 23
Market melty: Theme of the Week
From Bloomberg Opinion on Stock Market News . Junk Bonds Endure an Awful Day But Live to Tell About It – Brian Chappatta Mnuchin Forgot to Check His Figures on Stock Volatility – Nir Kaissar Fed’s No-Win: Balancing Growth and Market Fragility – Mohamed A. El-Erian A Financial Canary in a Coal Mine – John …
Dec 21
Different types of Distance for ML Algorithms
Manhattan, Cosine, Ln Form # http://dataaspirant.com/2015/04/11/five-most-popular-similarity-measures-implementation-in-python/ # Manhattan def manhattan(x, y): return sum( abs(a-b) for a, b in zip(x,y)) d = manhattan([5,10], [30,20]) print(d) #—— Cosine Distance import math def square_rooted(x): return math.sqrt(sum([a * a for a in x])) def cosine_distance(x, y): numerator = sum ( a * b for a, b in zip(x, y …
Oct 26
Future Startup Weekly
Future Startup Weekly Email "FS Weekly Please find the updates that you missed from FS in last 7 days. If you enjoy them, please share the mail with others. Adzuna Acquires UK’s Leading Tech Startup Job Board Work in Startups Chaldal Launches Bangladesh’s Largest E-commerce Warehouse CMED Health Wins The HEAD Foundation Innovative Social Enterprise …
Aug 31
These Startups Want To Shake Up Primary Education, Fashion, Real Estate Buying, Travel, And What Food You Consume In Dhaka
These Startups Want To Shake Up Primary Education, Fashion, Real Estate Buying, Travel, And What Food You Consume In Dhaka These Startups Want To Shake Up Primary Education, Fashion, Real Estate Buying, Travel, And What Food You Consume In Dhaka FS Weekly Digest: The Insights You Missed Last Week (Late)
