Skip to content

Instantly share code, notes, and snippets.

View davidseungjin's full-sized avatar

David Lee davidseungjin

View GitHub Profile
@davidseungjin
davidseungjin / Binary Search Tree.cpp
Created May 13, 2019 04:13 — forked from harish-r/Binary Search Tree.cpp
Binary Search Tree Implementation in C++
#include<iostream>
using namespace std;
class BST
{
struct node
{
int data;
node* left;
@davidseungjin
davidseungjin / Understaning_ANN_2.ipynb
Created October 31, 2020 23:04 — forked from naturale0/Understaning_ANN_2.ipynb
Implementation of (1) softmax classifier with polynomial kernel function, (2) 2-layer neural network
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@davidseungjin
davidseungjin / svm.py
Created November 2, 2020 05:26 — forked from mblondel/svm.py
Support Vector Machines
# Mathieu Blondel, September 2010
# License: BSD 3 clause
import numpy as np
from numpy import linalg
import cvxopt
import cvxopt.solvers
def linear_kernel(x1, x2):
return np.dot(x1, x2)