Skip to content

Instantly share code, notes, and snippets.

View ravi07bec's full-sized avatar
🏠
Senior Applied Scientist

ravi Shankar ravi07bec

🏠
Senior Applied Scientist
View GitHub Profile
@ravi07bec
ravi07bec / neuralnets_imagedetection.ipynb
Last active March 10, 2019 09:22
NeuralNets_ImageDetection.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
title
Superbad (2007)
Don Jon (2013)
Scooby-Doo (2002)
Atlantis: The Lost Empire (2001)
Rollerball (2002)
Shaun of the Dead (2004)
Harry Potter and the Goblet of Fire (2005)
Blade II (2002)
Sidewalks of New York (2001)
{
"embeddings": [
{
"tensorName": "My tensor2",
"tensorShape": [
1000,
50
],
"tensorPath": "https://gist.githubusercontent.com/ravi07bec/c8b76059933c95e31e8e7f12c858b81b/raw/3a85ab6f0794307f0d0247cfe10a96a3bf31c0c6/tensor_movies_sample.tsv",
"metadataPath": "https://gist.githubusercontent.com/ravi07bec/b2dfd16c94c1571bb5d70149ace8a532/raw/7bf62eb1d2b06420dc40a8527a0f3a01e1f9ca36/metadata_movies.csv"
![sprite_ordered (11)](https://user-images.githubusercontent.com/15666390/96564874-87e15880-1278-11eb-906c-c276e1f49dbd.png)
We can't make this file beautiful and searchable because it's too large.
level_0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
1 4.3675303e-05 -0.0003468264 0.00021069124 -0.00038058124 0.00012702681 -0.0001869537 8.8659115e-05 -0.00014270283 -0.00030096248 -0.00010907004 -8.517876e-05 -0.00050501525 0.00012727082 0.00022129156 -7.872656e-05 0.00018361211 0.00052753836 0.00036550965 3.461726e-05 0.0005437024 6.750226e-05 -0.00024802238 -6.973185e-05 9.736419e-05 0.00032808445 -7.645786e-05 3.8169324e-05 -1.3515353e-05 -0.00045509078 -0.0005130805 0.00015992671 -1.5735626e-05 -0.0002179239 -0.0005079247 -0.00031870356 0.00032070652 0.00017063133 -0.00018781982 -0.0002487707 0.0002976507 0.0002546385 -0.0003643781 0.00011140853 -0.0004399661 3.1851232e-05 0.00052819774 0.00010386534 0.00031620637 -4.0005893e-05 -0.00025734492 -0.00011184439 -8
from datetime import datetime
from gensim.models import Word2Vec
from fse import IndexedList
#Data Inputs
movies=pd.read_csv('ml-latest/movies.csv')
links=pd.read_csv('ml-latest/ratings.csv')
links=links.sample(frac=0.05)
We can't make this file beautiful and searchable because it's too large.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
-0.008826861 0.14712125 0.14984393 0.03741063 -0.447161 0.750259 0.17495684 0.39537993 -0.19258313 -0.33608186 0.03766776 0.46875164 0.25622755 0.030031884 -0.21934327 0.81438655 -0.30240303 -0.32825795 -0.5412107 0.014231324 0.2349854 1.0813432 -0.12823704 0.25709152 -0.24238282 0.19340871 0.041515462 -0.058305223 0.17574815 0.52108234 0.26135543 -0.5616022 -0.59634197 0.11061073 0.8746614 -0.0008210669 0.25566977 0.3999487 0.13468345 -0.12887232 -0.15199159 -0.06385901 0.10250424 0.33175743 0.10983313 -0.41795734 0.05240363 0.10812743 -0.03821073 -0.11447425 0.009639623 -0.2860793 -0.11930247 0.56726474 -0.33321252 -0.15417482 -0.36149317 -0.11043632 0.18114583 -0.15371099 -0.27607924 -0.36437076 0.015887987 -0.19109431 -0
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
color
acorn
alloy
almond
aloe
american navy
anchor
angel blue
anthracite
antique indigo
{
"embeddings": [
{
"tensorName": "music_vector",
"tensorShape": [
1000,
100
],
"tensorPath": "https://gist.githubusercontent.com/ravi07bec/1a24e0ea2867e4f1d30667abb06b4d51/raw/9c77f650b6363b88fe093843f4f352c784d82db3/sample_tensor_artist.tsv"
,
This file has been truncated, but you can view the full file.
<html>
<head><meta charset="utf-8" /></head>
<body>
<div>
<script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
<script type="text/javascript">/**
* plotly.js v1.57.1
* Copyright 2012-2020, Plotly, Inc.
* All rights reserved.