Python: Anaconda - Install tensorflow keras spyder4

From OnnoWiki
Jump to navigation Jump to search

Sumber: https://towardsdatascience.com/installing-keras-tensorflow-using-anaconda-for-machine-learning-44ab28ff39cb


# conda install python=3.6
# conda create --name PythonCPU
# activate PythonCPU
conda create -n tf tensorflow
conda activate tf
conda install -c anaconda keras
conda install -c anaconda pandas
conda install -c anaconda xlrd
conda install -c anaconda xlwt
conda install -c anaconda seaborn
conda install -c anaconda scikit-learn
conda install pillow
conda install spyder

Cek

spyder


import numpy as np # For numerical fast numerical calculations
import matplotlib.pyplot as plt # For making plots
import pandas as pd # Deals with data
import seaborn as sns # Makes beautiful plots
from sklearn.preprocessing import StandardScaler # Testing sklearn
import tensorflow # Imports tensorflow
import keras # Imports keras





Referensi