Python Forum

Full Version: Input Data machine Learning
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I'm beginner in Machine Learning with Python and Anaconda.

In some samples I created on file have my algorithm "myproject.py" where I have stored my code and my algotithm trained. (Decision Tree)

I need to know how can I call this to recive some parameters to execute and return the result.

Ex.:
My algorithm has been trained to verify the car X are indicated for the profile.

My data entry would be:

Age:
City:
Use (Weekends or daily):

With that on top of the algorithm he would give me an answer.

Can anybody help me?

Thank you!
What have you tried so far? Include any code, output and errors (in their entirety) between the appropriate tags.
I just trained my algorithm and got a .py file with the code.

I would use this algorithm, where I will come up with some data for him to give me a decision.

I need to put the algorithm and production mode. For that through another code I get to call it and have the desired return.

Thank you!