Professional Documents
Culture Documents
– A po co?
Co to jest t-SNE?
b) wyliczenie podobieństw
So,usingat-distribution,
wecalculate"unscaled"
similarityscoresforallthe
pointsandthenscalethem
likebefore.
圣
XXXX
t-SNE vs PCA
Przykłady
1) Swissroll
2) Porównanie banków
import pandas as pd
from sklearn.preprocessing import MinMaxScaler, StandardScaler, LabelEncoder
import pandas as pd
import seaborn as sns
import plotly.plotly as py
import plotly.graph_objs as go
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
init_notebook_mode(connected=True)
trace0 = go.Scatter(
x = X_tsne[:, 0],
y = X_tsne[:, 1],
text=df['Nazwa'],
textposition="top center",
name = 'Piony',
mode = 'markers+text',
marker = dict(
size = 10,
color = 'rgb(228,26,28)',
line = dict(
width = 1,
color = 'rgb(0, 0, 0)'
)
)
)
data = [trace0]
Pozdrawiam serdecznie
Leave a Comment
Mirosław Mamczur
Back to top