Skip to content

Instantly share code, notes, and snippets.

View HabibMrad's full-sized avatar
🏠
Working from home (Always ready to help)

Habib Mrad HabibMrad

🏠
Working from home (Always ready to help)
  • Beirut - Lebanon
  • 11:09 (UTC +02:00)
View GitHub Profile
@HabibMrad
HabibMrad / normcore-llm.md
Created October 29, 2023 12:26 — forked from veekaybee/normcore-llm.md
Normcore LLM Reads
@HabibMrad
HabibMrad / get_dataset.py
Created September 18, 2020 15:05 — forked from ardamavi/get_dataset.py
For reading datasets and converting to numpy files.
# Arda Mavi
import os
import numpy as np
from os import listdir
from scipy.misc import imread, imresize
from keras.utils import to_categorical
from sklearn.model_selection import train_test_split
# Settings:
img_size = 64
@HabibMrad
HabibMrad / readme.md
Created July 20, 2020 14:18 — forked from aaizemberg/readme.md
Data Scientist with Python (DataCamp)
@HabibMrad
HabibMrad / Data Manipulation with pandas.md
Created July 20, 2020 11:51 — forked from misho-kr/Data Manipulation with pandas.md
Summary of "Data Manipulation with pandas" course on Datacamp

pandas is the world's most popular Python library, used for everything from data manipulation to data analysis. Learn how to manipulate DataFrames, as you extract, filter, and transform real-world datasets for analysis. Using real-world data, including Walmart sales figures and global temperature time series, you’ll learn how to import, clean, calculate statistics, and create visualizations—using pandas!

Lead by Maggie Matsui, Data Scientist at DataCamp

Transforming Data

Inspect DataFrames and perform fundamental manipulations, including sorting rows, subsetting, and adding new columns

@HabibMrad
HabibMrad / image-processing-with-keras-in-python.ipynb
Created July 18, 2020 17:29
Image Processing with Keras in Python.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Deep Learning Papers Reading Roadmap

If you are a newcomer to the Deep Learning area, the first question you may have is "Which paper should I start reading from?"

Here is a reading roadmap of Deep Learning papers!

The roadmap is constructed in accordance with the following four guidelines:

  • From outline to detail
  • From old to state-of-the-art
@HabibMrad
HabibMrad / min-char-rnn.py
Created May 30, 2019 10:19 — forked from karpathy/min-char-rnn.py
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
@HabibMrad
HabibMrad / IntroToSQLForDataScience_Notes.md
Created January 1, 2019 23:56 — forked from maptastik/IntroToSQLForDataScience_Notes.md
Notes from DataCamp's "Intro to SQL for Data Science" course

Get a list of distinct values for a column in a table

SELECT DISTINCT column FROM table;

Get the count of rows in a table

SELECT COUNT(*) FROM table;
@HabibMrad
HabibMrad / machineLearningWeek3Quiz1.md
Created August 8, 2018 23:57 — forked from mGalarnyk/machineLearningWeek3Quiz1.md
Machine Learning (Stanford) Coursera Logistic Regression Quiz (Week 3, Quiz 1) for the github repo: https://github.com/mGalarnyk/datasciencecoursera/tree/master/Stanford_Machine_Learning

Machine Learning Week 3 Quiz 1 (Logistic Regression) Stanford Coursera

Github repo for the Course: Stanford Machine Learning (Coursera)
Quiz Needs to be viewed here at the repo (because the image solutions cant be viewed as part of a gist)

Question 1

Answer | Explanation

@HabibMrad
HabibMrad / lecture11.md
Created June 5, 2018 16:15 — forked from Y4suyuki/lecture11.md
Lecture note of Mathematical Biostatistics Boot Camp 1 by Brian Caffo, PhD at Coursera https://www.coursera.org/course/biostats

Plotting Data

Histgram

Histogram display a sample estimate of the density or mass function by plotting a bar graph of the frequency or proportion of times that a variable takes specific values, or a range of values for continuous data, within a sample

Pros and Cons

  • Histograms are useful and easy, apply to continuous, discrete and even unordered data
  • They use a lot of ink and space to display very little information
  • It's difficult to display several at the same time for comparisons Also, for this data it's probably preferable to consider log base 10, since the raw histogram simplay says that most islands are small

Stem and leaf plot