Skip to content

Instantly share code, notes, and snippets.

View nuhil's full-sized avatar
🎯
Focusing

Nuhil Mehdy nuhil

🎯
Focusing
View GitHub Profile
Regression Two-class Classification Multi-class Classification Clustering Anomaly Detection Dimensionality Reduction
Linear Regression1, 2 Logistic Regression1, 2 Logistic Regression1, 2 Gaussian mixture model1 PCA-based Anomaly Detection[1](https://docs.microsof
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1. Introduction and Installation


  • VirtualBox, is free, available on every major platform, and built-in to Vagrant. Vagrant can work with many other providers.

  • Some operating system distributions include a vagrant package in their upstream package repos. Please do not install Vagrant in this manner.

Verify installation -

vagrant
@nuhil
nuhil / iterm2-solarized.md
Created November 8, 2017 02:47 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@nuhil
nuhil / js.md
Last active July 1, 2024 20:45
Javascript Handbook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nuhil
nuhil / usage.rst
Created July 15, 2017 03:15
Miniconda Commands

Managing environments

With conda, you can create, export, list, remove, and update environments that have different versions of Python and/or packages installed in them. Switching or moving between environments is called activating the environment. You can even share an environment file with a coworker.

Anytime you wish to see the full documentation for any command, type the command followed by --help. For example, to learn about the conda environment command:

@nuhil
nuhil / main.py
Created May 18, 2017 21:54 — forked from miloharper/main.py
A simple neural network written in Python.
from numpy import exp, array, random, dot
class NeuralNetwork():
def __init__(self):
# Seed the random number generator, so it generates the same numbers
# every time the program runs.
random.seed(1)
# We model a single neuron, with 3 input connections and 1 output connection.
@nuhil
nuhil / miniconda.md
Last active July 15, 2017 03:14
Configure and Manage Your Environment with Anaconda

Configure and Manage Your Environment with Anaconda

Per the Anaconda docs:

Conda is an open source package management system and environment management system for installing multiple versions of software packages and their dependencies and switching easily between them. It works on Linux, OS X and Windows, and was created for Python programs but can package and distribute any software.

Overview

@nuhil
nuhil / property.py
Created July 22, 2016 15:37
Python Property
class Pizza:
def __init__(self, toppings):
self.toppings = toppings
self._pineapple_allowed = False
@property
def pineapple_allowed(self):
return self._pineapple_allowed
@pineapple_allowed.setter