duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
| # Clean workspace | |
| rm(list=ls()) | |
| # Load MXNet | |
| require(mxnet) | |
| # Loading data and set up | |
| #------------------------------------------------------------------------------- | |
| # Load train and test datasets |
| # This script is used to resize images from 64x64 to 28x28 pixels | |
| # Clear workspace | |
| rm(list=ls()) | |
| # Load EBImage library | |
| require(EBImage) | |
| # Load data | |
| X <- read.csv("olivetti_X.csv", header = F) |
| # -*- coding: utf-8 -*- | |
| # Imports | |
| from sklearn.datasets import fetch_olivetti_faces | |
| import numpy as np | |
| # Download Olivetti faces dataset | |
| olivetti = fetch_olivetti_faces() | |
| x = olivetti.images | |
| y = olivetti.target |