Skip to content

Instantly share code, notes, and snippets.

View gilcu2's full-sized avatar

Reynaldo Gil García gilcu2

  • Maity-space
  • Langen(Hessen)
View GitHub Profile
@gilcu2
gilcu2 / svm.py
Created March 14, 2017 06:15 — 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)
@gilcu2
gilcu2 / app.py
Created March 6, 2025 14:35
Big gist example
from __future__ import annotations
import collections.abc as cabc
import os
import sys
import typing as t
import weakref
from datetime import timedelta
from inspect import iscoroutinefunction
from itertools import chain
@gilcu2
gilcu2 / app.py
Created March 7, 2025 03:33
extra large gist file
from __future__ import annotations
import collections.abc as cabc
import os
import sys
import typing as t
import weakref
from datetime import timedelta
from inspect import iscoroutinefunction
from itertools import chain
Hello gist
@gilcu2
gilcu2 / app.py
Created March 7, 2025 04:17
1Mb gist
This file has been truncated, but you can view the full file.
from __future__ import annotations
import collections.abc as cabc
import os
import sys
import typing as t
import weakref
from datetime import timedelta
from inspect import iscoroutinefunction
from itertools import chain