Skip to content

LeeChangYoon/Machine-Learning-Basics-And-Applications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Machine-Learning-Basics-And-Applications

Machine learning basics and applications, especially about the supervised learning.

Index

  1. Machine_Learning_HW1
  2. Machine_Learning_HW2
  3. Machine_Learning_HW3



Machine_Learning_HW1

Description

In this project, we will discuss the basic concepts that are used to implement the linear regression model: gradient descent and least square. Then, we will discuss how we evaluate the performance of the prediction model by evaluating the error: mean squared error (MSE). After discussing all the concepts, we will present the implemented python code for task 1 and task 2, which represents each model that applies gradient descent and the least squaremethod of the linear regression model. In the result, we will show the prediction graph according to the given data set and the coefficients for the predicted model. Also, there will be comparisons between the built-in linear regression models and the implemented models.

Linear Regression

  • Visualization of the linear regression model of task 1 with the original data set

image

  • Visualization of the linear regression model of task 2 with the original data set

image

Environment

  • Building Environment:
  1. The environment that can open the ipython notebook: COLAB, Jupyter Notebook
  2. Each cell in the notebook should be executed sequentially.
  • File Upload: Before cell execution, the given data set must be uploaded first.

image image

Machine_Learning_HW2

Description

In this project, we will discuss the basic concepts that are used to implement the logistic regression model: sigmoid, logistic regression, hyperbolic function, decision boundary, and underfitting and overfitting. Then, we will discuss how we evaluate the performance of the prediction model by evaluating the error: cross entropy function. After discussing all the concepts, we will present the implemented python code for task 1 and task 2, which represents training the model with the training data set and classifying the data in the test data set using the trained model. In the result, we will show the prediction graph according to the given data set and the coefficients for the predicted model. Also, there will be comparisons between the built-in logistic regression models and the implemented models.

Logistic Regression

  • Classification for the train data set by implemented logistic regression model

image

  • Classification for the test data set by built-in polynomial logistic regression model

image

Environment

Building Environment:

  1. The environment that can open the ipython notebook: COLAB, Jupyter Notebook
  2. Each cell in the notebook should be executed sequentially
  • File Upload: Before cell execution, the given data set must be uploaded first.

image image

Machine_Learning_HW3

Description

In this project, we will discuss the basic concepts that are used to implement the neural network model: perceptron model, activation functions, multi-layer perceptron (MLP), MLP regressor, chain rule, and backpropagation. Then, we will discuss how we evaluate the performance of the prediction model by evaluating the error: mean squared error (MSE). After discussing all the concepts, we will present the implemented python code of multiple classes that are used in the MLP regressor, which represents training the model with the training data. In the result, we will show the prediction graph according to the given data set and the coefficients for the predicted model. Also, there will be comparisons between the built-in logistic regression models and the implemented models

Multi-Layer Perceptron Model (MLP)

  • Result of the multi-perceptron (MLP) model training and its visualization:

image

  • Weights of each layer in the multi-layer perceptron (MLP) model:

image

Environment

  • Building Environment:
  1. The environment that can open the ipython notebook: COLAB, Jupyter Notebook
  2. Each cell in the notebook should be executed sequentially
  • File Upload: Before cell execution, the given data set must be uploaded first.

image

About

Machine learning basics, especially about the supervised learning.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published