Skip to content

Instantly share code, notes, and snippets.

View mkghosh's full-sized avatar
🎯
Focusing

Mithun Kumer Ghose mkghosh

🎯
Focusing
  • Janata Bank PLC.
  • Road# 3, Polashpur, Polashpur, Dhaka, Bangladesh
View GitHub Profile

THIS DOCUMENT

IS OUT OF

DATE

C++ Coding Standards Part 0: Automated Code Analysis

Automated analysis is the main advantage to working with a modern statically typed compiled language like C++. Code analysis tools can inform us when we have implemented an operator overload with a non-canonical form, when we should have made a method const, or when the scope of a variable can be reduced.

@mkghosh
mkghosh / MNIST_Keras2DML.py
Created April 25, 2020 07:20 — forked from NiloyPurkait/MNIST_Keras2DML.py
An example of using Apache SparkML to train a convolutional neural network in parallel using the MNIST dataset, on IBM watson studio. Written for medium article: https://medium.com/@niloypurkait/how-to-train-your-neural-networks-in-parallel-with-keras-and-apache-spark-ea8a3f48cae6
################################### Keras2DML: Parallely training neural network with SystemML#######################################
import tensorflow as tf
import keras
from keras.models import Sequential
from keras.layers import Input, Dense, Conv1D, Conv2D, MaxPooling2D, Dropout,Flatten
from keras import backend as K
from keras.models import Model
import numpy as np
import matplotlib.pyplot as plt
@mkghosh
mkghosh / html2ebook.py
Created October 16, 2015 12:02 — forked from juancarlospaco/html2ebook.py
HTML5 to eBook converter, with Table Of Contents, Compression, optional Metadata, optional output filename, Mobile Friendly, ePub v.3.0.1 compliant, runs as standalone, run as module, Python3, NO Dependencies just Python Standard Lib only.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""HTML2eBook a tiny function that converts HTML5 to eBook,Mobile Friendly."""
import os
import zipfile
from getpass import getuser