Instantly share code, notes, and snippets.

💥
epic

Alican Akca AlicanAKCA

💥
epic
Created March 11, 2021 14:17
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 random import json import pandas as pd import numpy as np import matplotlib.pyplot as plt import pandas as pd from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler from sklearn.metrics import confusion_matrix
Created March 3, 2021 20:05 — forked from mGalarnyk/machineLearningWeek1Quiz2.md
Machine Learning (Stanford) Coursera (Week 1, Quiz 2) for the github repo: https://github.com/mGalarnyk/datasciencecoursera/tree/master/Stanford_Machine_Learning

Machine Learning Week 1 Quiz 2 (Linear Regression with One Variable) Stanford Coursera

Github repo for the Course: Stanford Machine Learning (Coursera)

Question 1

Consider the problem of predicting how well a student does in her second year of college/university, given how well she did in her first year.

Specifically, let x be equal to the number of "A" grades (including A-. A and A+ grades) that a student receives in their first year of college (freshmen year). We would like to predict the value of y, which we define as the number of "A" grades they get in their second year (sophomore year).

Last active February 21, 2021 12:53
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
 from matplotlib import pyplot as plt from random import randint num1 =0 num2=0 summary = 0 mean = 0 numberOfBeats = 0 plt.title('') plt.ylabel('Mean') plt.xlabel('Number Of Beats')
Created January 23, 2021 12:48
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
 # Dataset : https://raw.githubusercontent.com/tidyverse/ggplot2/master/data-raw/diamonds.csv # Alican AKCA - 20.01.2021 #### Required Libraries # For Visualization and Calculation import matplotlib.pyplot as plt import matplotlib as mpl import matplotlib.pylab as pylab import seaborn as sns
Created December 16, 2020 13:44
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
 ##################################################################################### # Dec 16 2020 # # github.com/Alicanakca # ##################################################################################### import requests import json from datetime import datetime from matplotlib import pyplot as plt x = [] #For dates : year-month-day
Last active December 13, 2020 11:48
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
 @author: Alican AKCA """ import pandas as pd #Kütüphaneleri ekledik! from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler from sklearn.svm import SVC from sklearn.metrics import confusion_matrix veriler = pd.read_csv('Datasets.csv') # We have loaded our dataset. Note that it is located in the same directory. x = veriler.iloc[:,3:7].values # We will view our columns.