We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
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
name,url,codes,char,category,group,subgroup | |
"hundred points","https://github.githubassets.com/images/icons/emoji/unicode/1f4af.png?v8","1F4AF","💯","Smileys & Emotion (emotion)","Smileys & Emotion","emotion" | |
"input numbers","https://github.githubassets.com/images/icons/emoji/unicode/1f522.png?v8","1F522","🔢","Symbols (alphanum)","Symbols","alphanum" | |
"thumbs up","https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png?v8","1F44D","👍","People & Body (hand-fingers-closed)","People & Body","hand-fingers-closed" | |
"thumbs down","https://github.githubassets.com/images/icons/emoji/unicode/1f44e.png?v8","1F44E","👎","People & Body (hand-fingers-closed)","People & Body","hand-fingers-closed" | |
"1st place medal","https://github.githubassets.com/images/icons/emoji/unicode/1f947.png?v8","1F947","🥇","Activities (award-medal)","Activities","award-medal" | |
"2nd place medal","https://github.githubassets.com/images/icons/emoji/unicode/1f948.png?v8","1F948","🥈","Activities (award-medal)","Activities","award-medal" | |
"3rd p |
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 matplotlib.pyplot as plt | |
import numpy as np | |
plt.title('Using Oja\'s rule to find principal component') | |
# l2 norm | |
def normalise(v): | |
return v / np.linalg.norm(v) | |
# Plots the direction of a vector with a line |