This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import numpy | |
import numpy as np | |
#Create datasets | |
Z= np.random.rand(2,1) | |
y= np.random.rand(2,1) | |
# Define Sigmoid Function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import numpy library | |
import numpy as np | |
# Create a test dataset | |
Z= np.random.rand(2,1) | |
y= np.random.rand(2,1) | |
# define sigmoid function | |
def sigmoid(x, derivative=False): |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Inspired by Adafruit's tutorial: https://learn.adafruit.com/adafruit-ultimate-gps/circuitpython-parsing | |
# import libraries | |
import time | |
import board | |
import busio | |
import adafruit_gps | |
# Define RX and TX pins for the board's serial port connected to the GPS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import libraries | |
import numpy as np | |
import argparse | |
import cv2 | |
# construct the argument parse and parse the arguments | |
argp = argparse.ArgumentParser() | |
argp.add_argument("-i", "--image", help = "path to the image") | |
args = vars(argp.parse_args()) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer