• How To Create Vectors And Matrices With Numpy

    How To Create Vectors And Matrices With Numpy

    Numpy Vectors And Matrices   Numpy vectors and matrices will show up all the time in data science and machine learning. So, let’s take a look at how to create them. Let’s first import numpy. import numpy as np Next, let’s try to create our first vector row. np.array([1,2,3,4]) # array([1, 2, 3, 4]) Wasn’t
    Read More…

  • How To Add/Subtract With Numpy Matrices

    How To Add/Subtract With Numpy Matrices

    Adding/Subtracting With Matrices   Adding and subtracting matrices is a fundamental part of linear algebra and a lot of data science techniques. Let’s take a look at how to add/subtract with numpy arrays and matrices. First, let’s import numpy and create some matrices to practice our operations with. import numpy as np a = np.array([[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,16]])
    Read More…




  • How To Standardize Data In Python With Scikit Learn

    How To Standardize Data In Python With Scikit Learn

    Standardization Sometimes when you are working with datasets for data science, you will need to standardize your dataset before fitting a machine learning model to it. What exactly does standardization do? It essentially takes your values and shifts the values so that the original mean value is placed at 0 and the standard deviation is
    Read More…

  • How To Change Navigation Bar Color iOS Swift 5

    How To Change Navigation Bar Color iOS Swift 5

    Sometimes you will want to change the color of your navigation bar for branding purposes, and it is actually pretty easy to do. Use the following snippet in your view controller in viewDidLoad to change the color you would like. // get the navigation bar from the current navigation controller if there is one let
    Read More…

  • Introduction to Core ML

    Introduction to Core ML

    In the introduction to the new framework at WWDC 2017, the speakers made some interesting revelations. Check out my notes below: CoreML is a lower level library that offers a bunch of prebuilt models such as SVMs, Neural Networks, Random Forrests etc… If you don’t want to work at the model level, there are 2
    Read More…

  • Pycon 2017 Notes

    Pycon 2017 Notes

    Pycon 2017 just finished recently in Portland last week and you can check out the videos here. As I go through these videos (there is a lot of them), I’ll be taking notes on what I find useful and post them here.

  • Hello world! EHackz!

    Hello world! EHackz!

    EHackz.com is a new tutorial/coding website for hackers. Subjects that will be covered: Python iOS/Swift Android Javascript Machine Learning Frameworks Tutorials I hope you follow along with this journey, and I hope you enjoy the ride. 🙂