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
# For video processing | |
import cv2 | |
import PIL.Image,PIL.ImageTk | |
# For GUI | |
from tkinter import * | |
import tkinter as tk | |
from tkinter.filedialog import * | |
from tkinter.messagebox import * | |
# Create class |
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 pytube import * | |
import tkinter as tk | |
from tkinter import * | |
from tkinter import ttk | |
from tkinter.filedialog import * | |
from tkinter.messagebox import * | |
from threading import * | |
import webbrowser | |
file_size = 0 |
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
'''Question : Create a python class PCA in “pca.py” to implement PCA (Principle component analysis). | |
The deliverable is a class that can be used as follows: | |
from pca import PCA | |
… . | |
… . | |
pca_model = PCA(n_component=2) | |
pca_model.fit(x) | |
print(pca_model.variance_ratio) | |
print(pca_model.transform(data))''' |