Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 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 |
This file contains 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 | |
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') |
This file contains 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 tkinter import * | |
from tkinter.ttk import * | |
import datetime | |
import platform | |
try: | |
import winsound | |
type='windows' | |
except: | |
import os | |
type='other' |