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
#!/bin/bash | |
read -p "What is your monthly income (TL): " tl | |
tl=$(echo $tl | tr -d '\n') | |
value=$(echo $tl | tr -d '\n' | sed 's/[^0-9]*//g') | |
taxMoney=$((value * 12)) | |
totalEarned=$((value * 12)) | |
totalTax=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
package main | |
import ( | |
"context" | |
"log" | |
"github.com/aws/aws-sdk-go-v2/aws" | |
"github.com/aws/aws-sdk-go-v2/config" | |
"github.com/aws/aws-sdk-go-v2/service/sqs" | |
) |
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 pandas as pd | |
import numpy as np | |
import matplotlib.pyplot as plt | |
def hypothesis(x, θ): | |
hypothesis = np.matmul(θ.T, x) | |
return hypothesis | |
def loss_function(h_x, y): | |
loss_error = 1 /2 *(h_x - y) *(h_x - y) |