Skip to content

Instantly share code, notes, and snippets.

Avatar

Aziz Alto iamaziz

View GitHub Profile
@iamaziz
iamaziz / tf_practice_mnist_nn_normalized_vs-_non-normalized-data.ipynb
Created Nov 14, 2020
tf_practice_MNIST_nn_normalized_vs._non-normalized-data
View tf_practice_mnist_nn_normalized_vs-_non-normalized-data.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iamaziz
iamaziz / tf_practice_1_mini_linear_nn.ipynb
Created Nov 14, 2020
tf_practice_1_mini_linear_nn.ipynb
View tf_practice_1_mini_linear_nn.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iamaziz
iamaziz / clone_table_between_redshift_databases.ipynb
Created Nov 12, 2020
Clone table from one redshift database "cluster" to another via S3 (in Python)
View clone_table_between_redshift_databases.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iamaziz
iamaziz / redshift_hook.py
Created Oct 31, 2020
Redshift Database Hook (adapter)
View redshift_hook.py
from __future__ import annotations
from functools import lru_cache, wraps
from psycopg2 import connect
from pandas import read_sql, DataFrame
class RedshiftDB:
"""Redshift Database Hook
USAGE:
@iamaziz
iamaziz / count-qura-an-words-v1.ipynb
Last active May 20, 2020
Count Qura'an Words - v1
View count-qura-an-words-v1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iamaziz
iamaziz / nyc_to_sharqiyahdata_with_love.ipynb
Last active May 15, 2020
nyc_to_sharqiyahdata_with_love.ipynb
View nyc_to_sharqiyahdata_with_love.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View software2.md

Classical Programming vs. Machine Learning Programming:

image

e.g.

image

source:

@iamaziz
iamaziz / copy-of-imagecolorizercolab.ipynb
Last active May 12, 2020
ImageColorizerColab.ipynb
View copy-of-imagecolorizercolab.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iamaziz
iamaziz / videocolorizercolab.ipynb
Last active May 12, 2020
VideoColorizerColab.ipynb
View videocolorizercolab.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iamaziz
iamaziz / metaprogramming.md
Last active May 6, 2020
Note on metaprogramming and metacalss in Python
View metaprogramming.md
Date: 4/27/2020

Why need metaprogramming? (maybe metaclass?)

Scenario:

  • I want to have a single Interface Class that has a Base Implementation Class with multiple instance implementations for other Inheriting Classes
You can’t perform that action at this time.