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
| ##### Install a lot of stuff first ##### | |
| $sudo apt-get update | |
| ##install python | |
| $ wget http://09c8d0b2229f813c1b93-c95ac804525aac4b6dba79b00b39d1d3.r79.cf1.rackcdn.com/Anaconda-2.0.1-Linux-x86_64.sh | |
| $ sudo bash anaconda........sh | |
| ##install necessary libs | |
| $ sudo apt-get install -y python-matplotlib python-tornado ipython ipython-notebook python-setuptools python-pip |
| #!/bin/bash | |
| CORES=7 | |
| OUTPUT=${OUTPUT:-results} | |
| array=( | |
| AssignmentTwo | |
| ContinuousPeaksTest | |
| CountOnesTest | |
| FlipFlopTest |
| # -*- coding: utf-8 -*- | |
| __author__ = "David Shinn" | |
| __license__ = "MIT" | |
| from collections import defaultdict | |
| import itertools | |
| import os | |
| import pdb | |
| import numpy as np | |
| import pandas as pd |
| library(MDPtoolbox) | |
| library(Matrix) | |
| library(ggplot2) | |
| library(grid) | |
| library(gridExtra) | |
| library(doMC) | |
| cores <- detectCores() - (detectCores() / 2) / 2 | |
| registerDoMC(cores=cores) | |
| set.seed(1234) |
| from __future__ import print_function, division | |
| import datetime as dt | |
| import pandas as pd | |
| import numpy as np | |
| import scipy.optimize as sopt | |
| def gradebook(): | |
| columns = ("Assignment", "Due", "Grade", "Weight") |
| #!/bin/bash | |
| # 1. Install CUDA | |
| echo "Installing CUDA..." | |
| # Only install if CUDA is not already installed. | |
| if ! dpkg-query -W cuda; then | |
| # The 16.04 installer works with 16.10. | |
| curl -O http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb | |
| dpkg -i ./cuda-repo-ubuntu1604_8.0.61-1_amd64.deb | |
| apt-get update | |
| apt-get install cuda -y |
This configuration worked for me, hope it helps
It is based on: https://becominghuman.ai/deep-learning-gaming-build-with-nvidia-titan-xp-and-macbook-pro-with-thunderbolt2-5ceee7167f8b
and on: https://stackoverflow.com/questions/44744737/tensorflow-mac-os-gpu-support
Steps to follow to run your python code without typing python filename.py.
You can simply run by typing filename if you follow these simple steps.