Skip to content

Instantly share code, notes, and snippets.

@vikash-sinha04
vikash-sinha04 / apache_log_topnlinks.scala
Created April 12, 2020 17:19 — forked from girisandeep/apache_log_topnlinks.scala
A example program to find top N IP Addresses from Apache Logs using Spark. This is part of CloudxLab.com.
@vikash-sinha04
vikash-sinha04 / sigmoidGraph.py
Created March 26, 2019 15:50 — forked from Will-777/sigmoidGraph.py
simple sigmoid function with Python
#import section
from matplotlib import pylab
import pylab as plt
import numpy as np
#sigmoid = lambda x: 1 / (1 + np.exp(-x))
def sigmoid(x):
return (1 / (1 + np.exp(-x)))
mySamples = []