Find Jobs
Hire Freelancers

Implement the Perceptron Learning Algorithm (PLA) for binary classification. Any one variant of the PLA will do. You are free to choose your programming language. Please do not use an off-the-shelf implementation of PLA from any package. The goal is for s

$30-250 USD

Fechado
Publicado há mais de 6 anos

$30-250 USD

Pago na entrega
PLA: Perceptron Learning Algorithm (Adaptive Decision Boundary) Recap the main idea:  Training and testing: Generalization  If there is no assumption on how the past (i.e. training data) is related to the future (i.e. test data), prediction is impossible. The relationship between past and future observations is that they both are sampled independently from the same distribution (the variables are i.i.d. – independent and identically distributed). Perceptron learning (Adaptive decision boundary) Feature vector x = (x1, x2, …, xM) (M dimensions) D = w0 + [login to view URL] + ... + [login to view URL] D >= 0: +1 D < 0: -1 w0 + [login to view URL] + ... + [login to view URL] = 0 is a hyperplane that divides the feature space into two regions PLA: 1. Initialize the weights wi , i = 0, …, M, to zero or to small random values or to some initial guesses. Choose positive constants c and k for the step size. 2. Choose the next sample point from the training set. Let the true class be d (either +1 or -1). 3. Compute D = w0 + [login to view URL] + ... + [login to view URL] . If sign(D) = d, no change is made to the weights. [sign(D) returns 1 if D >= 0 and -1 otherwise.] if sign(D) != d, then do the following updates:  wi = wi + cdxi for i = 1, …, M  w0 = w0 + cdk 4. Repeat steps 2 to 4 with each of the samples in the training set. Stop and output the result if the termination condition is met. As long as the termination condition is not satisfied, run through the entire training data set repeatedly. The termination condition is reached when  a correct classification (with zero error) is reached, or  a pre-determined maximum number of iterations is reached, or  the error rate ceases to decrease significantly (stagnation). Questions:  Is the decision boundary thus found optimal?  What if the classes are not linearly separable?  What is the difference between this approach and the least-squares method? The problem boils down to finding a set of weights wi’s (assume c and k are predetermined constants). Example: Training set = Two points in one dimension: x = -1 (d = 1) and x = -4 (d = -1). Sample size = 2. Discriminant D = w0 + w1x Initial choice w0 = 1, w1 = 2 (arbitrary) First point: D = 1 + 2(-1) = -1 whose sign does not match the sign of the given d of 1 for this point. So we need to update the weights: w0 = w0 + cdk = 1 + 1 (1) 1 (assuming c = k = 1) = 2, and w1 = w1 + cdx = 2 + 1 (1)(-1) = 1. Thus, revised weights (first update): w0 = 2, w1 = 1 Now, test the second point with the revised weights: Second point: D = 2 + 1(-4) = -2 whose sign matches that of the given d of -1 for this point => no need to update the weights. This completes the first pass through the training set. Next, the second pass through the training set: First point: D = 2 + 1(-1) = 1 which matches the sign of the true (given) d for this point. Second point: D = 2 + 1(-4) = -2 which matches the sign of the true (given) d for this point. The stopping condition is thus satisfied. Solution: 2 + x = 0 or x = -2. Algebraic proof that the weight update rule moves the decision boundary in the right (correct) direction in each step: D = w0 + ∑
ID do Projeto: 15123145

Sobre o projeto

9 propostas
Projeto remoto
Ativo há 7 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
9 freelancers estão ofertando em média $294 USD for esse trabalho
Avatar do Usuário
A proposal has not yet been provided
$242 USD em 3 dias
4,7 (438 avaliações)
7,4
7,4
Avatar do Usuário
Perceptrons was my Diploma. I've used Delphi those time, now I'd like to use Java. It's pretty neat field of mathematics/programming. Relevant Skills and Experience 20+ years in software development. Perceptrons was my Diploma. Proposed Milestones $500 USD - Complete working algo. Trained model
$500 USD em 3 dias
4,7 (22 avaliações)
6,8
6,8
Avatar do Usuário
Hey A Java expert developer is here with vast knowledge in Artificial Intellegence is here I can implement Perceptron Algorithm for you as per your need Feel Free to message me Regards Relevant Skills and Experience Java AI Machine Learning Algorithm Proposed Milestones $550 USD - Initial I hope to have a conversation with you soon We can discuss about the detials in chat
$550 USD em 7 dias
4,9 (148 avaliações)
6,3
6,3
Avatar do Usuário
7 yrs experience in the field of MySQL, Ms-Sql, Mongo DB, Oracle, Java, Software Development Be free to ping me for any advice Relevant Skills and Experience MySQL, Ms-Sql, Mongo DB, Oracle, Java PHP, HTML, Java, WordPress, Web development and management, database development SEO, SMO and digital marketing Proposed Milestones $222 USD - Cost
$222 USD em 4 dias
3,8 (17 avaliações)
4,9
4,9
Avatar do Usuário
I can implement the learning algorithm using Python. I will implement the algorithm myself based on the criteria you have specified, and accompany it with comments and explanations. Relevant Skills and Experience I am a graduate student and my current research focuses on deep learning techniques. I have over 5 years of experience with Python and machine learning techniques. Proposed Milestones $250 USD - Complete Project
$250 USD em 3 dias
4,9 (3 avaliações)
3,2
3,2
Avatar do Usuário
Develop Perceptron Learning Algorithm model Relevant Skills and Experience I have 9 years of work experience in Data Analytics with M.Phil. in Operation Research. I have created more than 50 models using R and Python. I know the basic of Machine learning to develop model. Proposed Milestones $206 USD - Output How big is the data size? number of observations and variables?
$206 USD em 5 dias
5,0 (1 avaliação)
1,6
1,6

Sobre o cliente

Bandeira do(a) UNITED STATES
St. Louis, United States
0,0
0
Método de pagamento verificado
Membro desde set. 8, 2017

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.