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
echo "Startup git bash" | |
path_to_key = "" # Enter path of the key to add | |
path_to_repo = "" # Enter path of repo to cd into | |
cd "$path_to_repo" | |
eval $(ssh-agent -s) # Starting up the ssh-agent |
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
#HILL CIPHER | |
#include <bits/stdc++.h> | |
using namespace std; | |
vector<int> multiply(vector<vector<int>> mat,vector<int> vec){ | |
vector<int> ans(vec.size(),0); | |
for(int i=0;i<mat.size();i++){ | |
for(int j=0;j<vec.size();j++){ | |
ans[i] += mat[i][j]*vec[j]; | |
} | |
ans[i]%=26; |
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
1. Find S | |
import pandas as pd | |
import numpy as np | |
def train(X, y): | |
# Create the most specific hypothesis | |
hypothesis = [] | |
for i in range(len(X[0])): | |
hypothesis.append("null") |