Sunday, 7 April 2024

What is Inheritance in Java?

Inheritances: member access and inheritance, super class references, Using super, multilevel hierarchy, constructor call sequence, method overriding, dynamic method dispatch, abstract classes, Object class.


1. What is inheritance?






















Super and this keyword:



Multilevel Hierarchy:





Constructor call sequence:










Method Overriding:






Dynamic Method Dispatch:



Abstract Classes:










Object Class:






Monday, 4 March 2024

Implement Boston housing price prediction problem by Linear regression using Deep Neural network

Problem Statement:

 Linear regression by using Deep Neural network: Implement Boston housing price prediction problem by Linear regression using Deep Neural network. Use the Boston House price prediction dataset. 


Implementation:
1. Open https://colab.research.google.com/
2. click on the new notebook.
3. Import all the libraries
4. Read the dataset from the path



5. Do all basic operations on dataset.


6. Exploratory Data Analysis:


7. Training a Linear Regression Model


8. Train Test Split:


9. Creating and Training the Model:


10. Predictions from our Model:



11. Model Evaluation: