Skip to content

Instantly share code, notes, and snippets.

View TupotaValentyn's full-sized avatar
🔥
I may be slow to respond.

Valik TupotaValentyn

🔥
I may be slow to respond.
  • Uapp
  • Cherkassy
View GitHub Profile
@TupotaValentyn
TupotaValentyn / nn1.py
Last active January 14, 2024 23:38
Neural Network sample 1
count = 10
coefficient = 2
inputs = [n + 1 for n in range(count)]
targets = [i * coefficient for i in inputs]
EPOACH = 25
w = 0.1
learning_rate = 0.1
type Tuple<Entity = number> = [Entity, Entity];
type Circle = number;
type Rectangle = Tuple;
type Triangle = [number, number, number];
type Shape = Circle | Rectangle | Triangle;

type ShapeEntity = {
    area: number;

GLOBAL VARIABLES

  • ${PROJECT_NAME}
  • ${FILE_NAME}
  • ${NAME}
  • ${USER}
  • ${DATE}
  • ${TIME}
  • ${YEAR}
  • ${MONTH}
@TupotaValentyn
TupotaValentyn / internet.md
Last active April 14, 2021 18:38
Internet

Internet

Internet - interconnected network


Host - a network host is a computer or other device connected to a computer network. A host may work as a server offering information resources, services, and applications to users or other hosts on the network. Hosts are assigned at least one network address.

Host

@TupotaValentyn
TupotaValentyn / CSS_Animation.md
Last active January 28, 2021 18:00
About css

Animation

Properties

animation-name: declares the name of the @keyframes at-rule to manipulate.

animation-duration: the length of time it takes for an animation to complete one cycle.

animation-timing-function: establishes preset acceleration curves such as ease or linear.