This file contains hidden or 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
| ekg_id,1st degree AV block,Abnormal ECG,Biatrial enlargement,Borderline ECG,Left Atrial Enlargement,Left Ventricular hypertrophy,Left axis deviation,Left bundle branch block,Low voltage QRS,Nonspecific Intraventricular Conduction Block,Nonspecific ST Wave abnormality,Nonspecific ST and T Wave abnormality,Nonspecific T Wave abnormality,Normal ECG,Normal sinus rhythm,Normal sinus rhythm with sinus arrhythmia,Possible Inferior infarct,Possible Left Atrial enlargement,Possible Left ventricular hypertrophy,Possible Right ventricular hypertrophy,Prolonged QT,Right Atrial Enlargement,Right Ventricular hypertrophy,Right axis deviation,Right bundle branch block,ST & T wave abnormality,ST wave Abnormality,Sinus Bradycardia,Sinus Tachycardia,Sinus rhythm with short PR,T wave Abnormality | |
| 10050217006_1,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 | |
| 10152197466_1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 | |
| 10164140412_1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0 | |
| 103094916 |
This file contains hidden or 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
| """ | |
| P, Q, R, S, T noktalarinin birlesik tespiti | |
| ============================================== | |
| Onceki 4 adimin (R, Q-S, P, T) bir araya getirilmis hali. | |
| Onemli kural: | |
| - Ilk R-peak'in P'si ARANMAZ (sinyalin basinda yeterli geri pencere yok) | |
| - Son R-peak'in T'si ARANMAZ (sinyalin sonunda yeterli ileri pencere yok) | |
| - Q ve S, R'nin hemen yakininda oldugu icin kenar atimlarda da bulunabilir, | |
| onlari haric tutmaya gerek yok. |
This file contains hidden or 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
| """ | |
| vectorize_signal.py | |
| =================== | |
| EKG goruntusunden mV-saniye ve [-1, 1] normalize sinyalleri uretir. | |
| Tek fonksiyon: vectorize_signal(image_path) -> (mv, normalized, meta) | |
| 10 adimli pipeline: | |
| 1. Resim okuma | |
| 2. HSV filtre (pembe izgara temizleme) |
This file contains hidden or 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 flask import Flask,render_template,flash,redirect,url_for,session,logging,request | |
| from flask_mysqldb import MySQL | |
| from wtforms import Form,StringField,TextAreaField,PasswordField,validators | |
| from passlib.handlers.sha2_crypt import sha256_crypt | |
| from wtforms.validators import DataRequired,Length,Email,EqualTo | |
| from functools import wraps | |
| import email_validator | |
| uygulama = Flask(__name__) | |
| uygulama.secret_key="meteakcanblog" |
This file contains hidden or 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 requests | |
| from bs4 import BeautifulSoup | |
| url="https://www.doviz.com/" | |
| yanıt=requests.get(url) #yanıt=response | |
| html_icerigi=yanıt.content | |
| soup=BeautifulSoup(html_icerigi,"html.parser") |
This file contains hidden or 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 os | |
| pdf=list() | |
| python=list() | |
| txt=list() | |
| images=list() | |
| exe=list() | |
| for klasöryolu,klasörismi,dosyalar in os.walk("D:/"): |
This file contains hidden or 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
| while True: | |
| sayi=int(input("Bir sayı giriniz:")) | |
| liste=list() | |
| i=0 | |
| while(i<sayi-1): | |
| i=i+1 | |
| if(sayi%i==0): | |
| liste.append(i) | |
| print("Sayının tüm bölenleri:",liste) |
This file contains hidden or 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 terscevir(yazı): | |
| return yazı[::-1] | |
| while True: | |
| yazı=input("Yazı giriniz:") | |
| print(terscevir(yazı)) |
This file contains hidden or 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
| while True: | |
| sayı=int(input("Bir sayı giriniz:")) | |
| liste=list() | |
| i=1 | |
| if(sayı==1 and sayı==0): | |
| print("Hayır,değildir.") | |
| elif(sayı==2): | |
| print("Evet,asaldır.") | |
| else: |