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 timing | |
import sys | |
from random import randint, uniform | |
class Perceptron: | |
weights = [] | |
c = 0.01 | |
error_0 = 0 |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script src="https://unpkg.com/@reactivex/[email protected]/dist/global/Rx.js"></script> |
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
//Menu: Browse scriptkit.app | |
//Description: Launch scriptkit.app in your browser | |
//Note: Feels free to delete this script! | |
exec(`open https://scriptkit.app`) |
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
//Menu: Browse scriptkit.app | |
//Description: Launch scriptkit.app in your browser | |
//Note: Feels free to delete this script! | |
exec(`open https://scriptkit.app`) |
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
//Menu: Browse scriptkit.app | |
//Description: Launch scriptkit.app in your browser | |
//Note: Feels free to delete this script! | |
exec(`open https://scriptkit.app`) |
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
//Menu: Browse scriptkit.app | |
//Description: Launch scriptkit.app in your browser | |
//Note: Feels free to delete this script! | |
exec(`open https://scriptkit.app`) |