Other articles


  1. Simple Neural Network

    from numpy import exp, array, random, dot
    
    # Define neural network class
    class NeuralNetwork():
        def __init__(self):
            #Seed random number generator
            random.seed(1)
    
            # Model single neuron with 3 inputs and 1 output
            # Assign random weights to a 3 x 1 matrix with values between -1 and 1
            self.synaptic_weights = 2 …
    read more
  2. Simple Linear Regression

    from numpy import *
    
    def computer_error_for_line_given_points(b, m, points):
        # Initialize error at 0
        totalError = 0
        # Loop through all points
        for i in range(0, len(points)):
            # Get x value
            x = points[i, 0]
            # Get y value
            y = points[i, 0]
            # Get squared difference and add to total error
            totalError += (y - (m …
    read more
  3. Identify Fraud from Enron Financial Statements

    Purpose

    The goal of this project is to identify employees from Enron that have been in on the fraud committed that came to light in 2001. This will be based on a machine learning algorithm using public Enron financial and email information.

    Data Exploration

    The dataset that will be used …

    read more

social