Skip to content
Concise and Practical AI/ML
  • Pages
    • Preface
    • What are AI and ML
    • Mathematics Recap
      • Calculus
      • Algebra
    • icon picker
      Libraries to Use
    • Models for ML
    • Methods of ML
    • Neuralnet Alphabet
    • Neuralnet
      • Neuron
        • Types of Neurons
        • Input Separations
        • Activation Functions
      • Layers in Network
      • Loss Functions
      • Gradient Descent
      • Feedforward
      • Backpropagation
      • Optimisers & Training
      • Techniques in ML
        • Normalisation
        • Regularisation
        • Concatenation
        • Boosted & Combinatory
        • Heuristic Hyperparams
      • Problems in Neuralnet
        • Overfitting
        • Explosion and Vanishing
    • Supervised Learning
      • Regression
      • Classification
    • Reinforcement Learning
      • Concepts
      • Learning Tactics
      • Policy Network
      • Bellman Equation
      • Q-table
      • Q-network
    • Unsupervised Learning
      • Some Applications
    • Incremental Learning
    • Case Studies
      • Algorithm Approximator
      • Regression
      • Classification
      • Sequence Learning
      • Pattern Learning
      • Generative
    • Notable Mentions

Libraries to Use

What is TensorFlow

TensorFlow is a popular gradient-based machine learning library to be used in Python but still at optimal speed because TensorFlow modules are all built from C/C++ and exported for Python.

What is Keras

Keras is a theoretical library which runs on multiple platform including TensorFlow, PyTorch, and some others.

AI and ML Tools

Library: TensorFlow —
Notebook: Colab —

Load TensorFlow & Keras

Loading steps:
First load the TensorFlow root package
Second load the Keras package
Third load the core most things called layers
4th load the activation functions for layers
5th is the end to wrap up a model, load abstract model class and functions
Optionally load callback classes and functions to log in training.
%reset -f

# Libs
import tensorflow as tf
from tensorflow.keras import *
from tensorflow.keras.layers import *
from tensorflow.keras.activations import *
from tensorflow.keras.models import *
from tensorflow.keras.callbacks import *

# PROGRAMME ENTRY POINT
print("TensorFlow version:",tf.__version__)
# EOF

 
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.