Deep Learning Notebook
Deep Learning Notebook
Shape of X: (100, 2)
Shape of y: (100,)
Split Dataset
In [3]: from sklearn.model_selection import train_test_split
WARNING:tensorflow:From C:\Users\ASHISH\anaconda3\Lib\site-packages\keras\src\backen
d.py:873: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_d
efault_graph instead.
WARNING:tensorflow:From C:\Users\ASHISH\anaconda3\Lib\site-packages\keras\src\optimi
zers\__init__.py:309: The name tf.train.Optimizer is deprecated. Please use tf.compa
t.v1.train.Optimizer instead.
Model: "sequential"
_________________________________________________________________
Layer (type) Output Shape Param #
=================================================================
dense (Dense) (None, 10) 30
=================================================================
Total params: 151 (604.00 Byte)
Trainable params: 151 (604.00 Byte)
Non-trainable params: 0 (0.00 Byte)
_________________________________________________________________
WARNING:tensorflow:From C:\Users\ASHISH\anaconda3\Lib\site-packages\keras\src\engine
\base_layer_utils.py:384: The name tf.executing_eagerly_outside_functions is depreca
ted. Please use tf.compat.v1.executing_eagerly_outside_functions instead.