Find Jobs
Hire Freelancers

Need Python programmer to update script and remove bug

$30-250 USD

Concluído
Publicado há mais de 6 anos

$30-250 USD

Pago na entrega
I have 72 rows python script. For classification works and for regression it has bug. This project and script is connected with BigML code and you need to understand this : [login to view URL] What scripts does ? You have 1 csv file with 1 row of data. Scripts generate 1 row of data with prediction result (for classification +1 or -1 and for regression number). This is it. Very simple script. What you need to know (in theory) ? The Deepnet object you instantiate has a predict method whose first argument should be a dictionary containing each input data you want to predict for. From what I see, your code is creating a Source object with your test data records and using the result as first argument of this predict function. Unfortunately, this won't do what I guess you expect, which is getting a prediction for every row in your test file. The way to do that should be reading your CSV file locally with a standard library, like csv, and looping over the rows like in: import csv with open(test_csv_path) as f: input_data = [login to view URL](f) for test_dict in reader: prediction_info = [login to view URL](input_data) try: # classifications' output contains the prediction and the associated probability and distribution prediction = prediction_info.['prediction'] exception KeyError: # regression predictions are purely a float number prediction = prediction_info This will create predictions locally for every row in you test file. So, the input data for the [login to view URL] method is a dictionary that contains the field values used as input, and this is not what you get from api.create_source call that you used. Note that the output for a classification is a dictionary >>> local_deepnet = Deepnet("deepnet/5a15c8f192527304c20002f2") >>> [login to view URL]({"petal length":1}) {'distribution': [{'category': u'Iris-setosa', 'probability': 0.98134866219833594}, {'category': u'Iris-versicolor', 'probability': 0.014094307515319662}, {'category': u'Iris-virginica', 'probability': 0.0045570302863444431}], 'prediction': u'Iris-setosa', 'probability': 0.98134866219833594} and for a regression is purely a float >>> [login to view URL]({"species":"Iris-setosa"}) 4.5948639935457249 What is the task ? I need to change few lines of code so script will work excellent. I have scripts, PyCharm and test files on Windows server. Please bid on project if you work with BigML before or you really understand BigML API. Price : I will choose freelancer who know this and can work 1-2 hours. Price should be $30 till $50. Thank you! Regards!
ID do Projeto: 15945939

Sobre o projeto

5 propostas
Projeto remoto
Ativo há 6 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
Concedido a:
Avatar do Usuário
Hello, I have 8+ years of programming experience in Python and extensive knowledge of statistical and probabilistic machine learning algorithms. I am confident that I can fix the script. Best regards AW.
$70 USD em 3 dias
5,0 (29 avaliações)
5,6
5,6
5 freelancers estão ofertando em média $96 USD for esse trabalho
Avatar do Usuário
Dear,Sir Merry Xmas! I am very interested in your project and am ready for starting your project for now. I have read your project description very carefully and am sure that I can do that. I will work very hard and best for you. Best Regards
$155 USD em 3 dias
5,0 (79 avaliações)
7,7
7,7
Avatar do Usuário
Hi,we're all senior software developers,we've just checked your project requirements,we're able to perform your project and you'll be interesting with us,please come in contact with us to discuss for more project details... ProjectName:Need Python programmer to update script and remove bug Relevant Skills: API, Machine Learning, Python, Software Architecture,
$147 USD em 1 dia
4,8 (85 avaliações)
7,4
7,4
Avatar do Usuário
Hello sir/Madam I did not dig deep into the links you have given. Unless I got at least reply from your end, I can't spend my resources on this. But, I am pretty sure that I can finish the project in the given timeline, as I have a very deep understanding of ML and experience with given modules. Ping me if you are interested. of ML
$45 USD em 1 dia
5,0 (4 avaliações)
2,2
2,2

Sobre o cliente

Bandeira do(a) SERBIA
belgrad, Serbia
5,0
344
Método de pagamento verificado
Membro desde out. 6, 2006

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.