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
def sigmoid(x): | |
return 1/(1+np.exp(-x)) | |
def backprop(x): | |
return x * (1-x) | |
np.random.seed(10) | |
x = np.array([[1,0,1,0],[0,0,1,0],[1,0,0,1],[0,0,0,1]]) | |
y = np.array([[1,0,1,0]]).T |
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
Curso do A Cloud Guru | |
Testes do Whizlabs | |
FAQs (https://aws.amazon.com/pt/faqs/) | |
- Serverless: Lambda, API Gateway, DynamoDB, ElastiCache, S3 | |
- Dev Tools: CodeCommit, CodePipeline, CodeDeploy, CodeBuild | |
- Security: IAM, Cognito, KMS | |
- Automation and Monitoring: Elastic Beanstalk, CloudFormation, CloudWatch, X-Ray | |
- Containers: ECS, ECR |
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
class SuffixAutomaton: | |
def __init__(self): | |
self.states = [] | |
self.link = [] | |
self.length = [] | |
def build(self, string): | |
# Cria o estado inicial do automata | |
self.states.append({}) |
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
#Code automatically generated with jfuzzylite 6.0. | |
library(ggplot2); | |
engine.name = "Proximity" | |
engine.fll = "Engine: Proximity | |
InputVariable: signal | |
enabled: true | |
range: 30,000 120,000 | |
lock-range: true |
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 math | |
class JaroWinkler: | |
def jaro_winkler(self, d, r): | |
len_d = len(d) | |
len_r = len(r) | |
p = math.floor(max(len_d, len_r) / 2) - 1 | |