JoeyLee-22 / LogisticRegression

A logistic regression program using python and NumPy to classify four inputs as a backslash or not
1 stars 0 forks source link

Hey Joey, #1

Open saarangbond opened 4 years ago

saarangbond commented 4 years ago

Nice project! I was just wondering what the four inputs were.

JoeyLee-22 commented 4 years ago

Thanks! this is just my intro into machine learning, it's just an array of 4 elements where a one means an on pixel and a zero means an off pixel. by backslash I mean like [[1,0] [0,1]]

it kinda looks like a backslash

JoeyLee-22 commented 4 years ago

Oh yh the LR1 is the first version where my 0th element is always the weight of the bias, this gets updated in LR2, that's why there are five elements in the input in LR1

saarangbond commented 4 years ago

Ahhhh, it is clearer now. Very cool! So is this unsupervised?

JoeyLee-22 commented 4 years ago

Thanks! It's supervised, there is a variable called training_output which is the labels for the training data