Skip to content

Instantly share code, notes, and snippets.

View DivyanshByte's full-sized avatar

Divyansh Agrawal DivyanshByte

  • World, Earth
View GitHub Profile
@DivyanshByte
DivyanshByte / Colab File Downloader.ipynb
Last active June 14, 2021 12:49
Colab File Downloader.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DivyanshByte
DivyanshByte / visual_similarity.py
Created February 15, 2021 15:43
Visual Similarity With Clarifai
import json
from clarifai.rest import ClarifaiApp
from math import sqrt
from numpy import linalg
from numpy import array
from tkinter import *
from tkinter.scrolledtext import ScrolledText
from tkinter.ttk import *
from tkinter import messagebox
@DivyanshByte
DivyanshByte / recomender.py
Last active February 15, 2021 15:36
Movie Recommender Using LightFM
import numpy as np
from lightfm.datasets import fetch_movielens
from lightfm import LightFM
#fetch data from model
data = fetch_movielens(min_rating = 1.0)
#create model
model = LightFM(loss = 'warp')
from tkinter import *
from tkinter.ttk import *
import datetime
import platform
try:
import winsound
type='windows'
except:
import os
type='other'