- http://dataaspirant.com/2016/12/27/k-nearest-neighbor-algorithm-implementaion-python-scratch/
- https://codereview.stackexchange.com/questions/154609/knn-algorithm-implemented-in-python
- https://www.youtube.com/watch?v=UqYde-LULfs
- https://machinelearningmastery.com/tutorial-to-implement-k-nearest-neighbors-in-python-from-scratch/
- https://kevinzakka.github.io/2016/07/13/k-nearest-neighbor/
- http://scikit-learn.org/stable/modules/neighbors.html
- http://scikit-learn.org/stable/modules/generated/sklearn.neighbors.KNeighborsClassifier.html
- http://www.python-course.eu/k_nearest_neighbor_classifier.php
- https://www.dataquest.io/blog/k-nearest-neighbors-in-python/
- https://medium.com/@gp_pulipaka/coding-k-nearest-neighbors-machine-learning-algorithm-in-python-9e15a61d9b97
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 numpy as np | |
import pylab as pl | |
import pandas as pd | |
from sklearn import svm | |
from sklearn import linear_model | |
from sklearn import tree | |
from sklearn.metrics import confusion_matrix |
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
# initial version: http://stackoverflow.com/a/7936523/617185 \ | |
# by Mikhail Kashkin(http://stackoverflow.com/users/85739/mikhail-kashkin) | |
def get_yt_video_id(url): | |
"""Returns Video_ID extracting from the given url of Youtube | |
Examples of URLs: | |
Valid: | |
'http://youtu.be/_lOT2p_FCvA', | |
'www.youtube.com/watch?v=_lOT2p_FCvA&feature=feedu', |
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 django.db import models | |
from django.contrib.auth.models import User | |
from django.utils.text import slugify | |
class Post(models.Model): | |
author = models.ForeignKey( | |
User, related_name='post_author') | |
title = models.CharField(max_length=200) |
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
Surat Al-Haqqah | |
13. Maka apabila sangkakala ditiup sekali tiup | |
14. dan diangkatlah bumi dan gunung-gunung, lalu dibenturkan keduanya sekali bentur. | |
15. Maka pada hari itu terjadilah hari kiamat, | |
16. dan terbelahlah langit, karena pada hari itu langit menjadi lemah. | |
17. Dan malaikat-malaikat berada di penjuru-penjuru langit. | |
Dan pada hari itu delapan orang malaikat menjunjung 'Arsy Tuhanmu di atas (kepala) mereka. | |
18. Pada hari itu kamu dihadapkan (kepada Tuhanmu), tiada sesuatupun dari keadaanmu yang tersembunyi (bagi Allah). | |
19. Adapun orang-orang yang diberikan kepadanya kitabnya dari sebelah kanannya, maka dia berkata: "Ambillah, bacalah kitabku (ini)". |
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
$ mkdir outputs/ | |
$ for f in *.mp4; do ffmpeg -i "$f" "outputs/${f%.mp4}.mp3"; done |
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
# Move all files with recursively folders into current directory | |
# Source: https://stackoverflow.com/a/14346005/6396981 | |
$ find . -name '*.JPG' | xargs -I files mv files . | |
# Convert .mov to .mp4 file | |
# 1. Original, source: https://stackoverflow.com/a/12026739/6396981 | |
$ ffmpeg -i movie.mov -vcodec copy -acodec copy out.mp4 | |
# 2. With reduce: | |
$ ffmpeg -i movie.mov -b 1000000 out.mp4 |
- https://www.youtube.com/watch?v=HlfRY-KndZo (Makka Twin Peaks 2012 Documentary HD)
- https://www.youtube.com/watch?v=cSfwQRJKnLY (Umrah 2013/1434 Mecca & Madina Full Journey HD 1080P)
- https://www.youtube.com/watch?v=ZrhOK2Zn1X4 (Hajj Documentary - #AbramjeeOnHajj - Hajj 2016)
- https://www.youtube.com/watch?v=Gg94IwN12X4 (Zamzam HAJJ 2016)
- https://www.youtube.com/watch?v=WEY26IBqNtw (Jamaah Haji Khusus 2016)
- https://www.youtube.com/watch?v=MauJC_Rj_lQ (DAQU TRAVEL - Umroh Hasanah 11 Februari 2017)
- https://www.youtube.com/watch?v=Xyxm2gps5_0 (HIGHLIGHT HAJI MAGHFIRAH 2016 PART 1)
- https://www.youtube.com/watch?v=3YOKWfc95To (HIGHLIGHT HAJI MAGHFIRAH 2016 PART 2)
- https://www.youtube.com/watch?v=sSniuuBVeZE (Dokumentasi Haji KBIH Nurul Hayat 2015 [ Short Version ])
Berikut ini beberapa tips untuk memperkuat iman/akidah, namun sebelumnya mohon dikomentari dan direvisi apabila terdapat kesalahan, dan saya mohon ampun kepada Allah.
Dimana terdapat JIN-JIN ketika di ruqyah syar'i, mengaku melihat pedang (ketika akan disembelih), melihat bala tentara dari JIN-JIN muslim, mendapati cahaya ketenangan, dll.
Semenjak manusia dilahirkan sudah ditancapkan 1 JIN (Qorin). Jadi, kalau ada orang mati kemudian ada sosok yg menyerupai orang meninggal tersebut, sudah pasti itu adalah Syaitan/JIN Qorin dan bukan RUH, dimana JIN Qorin tersebut tahu seluk beluk dari orang yg telah meninggal tersebut.
Hal diatas untuk memperkuat iman kita mengenai hal-hal ghaib,
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
<html> | |
<head> | |
<link rel="stylesheet" href="/css/progress-bar.css"> | |
</head> | |
<body> | |
<h1>Your element goes here...</h1> | |
<!-- Link disabled: static link, SPF ins disabled --> | |
<a href="/destination">Go!</a> |