Please add an example for LogisticRegression Class.
Hello,
I'm working on a machine learning project that try to predict some numeric outputs of numeric and non-numeric data inputs from database.
Could you give an example that run regression and/or random forest algorithms on a sample data as details given above paragraph-input:numeric and non_numeric data, output:numeric; such as predict revenue of a shop via looking its history data (exmp: revenues output based on days and number of customer data, ...); and data should be in database?
Example scenario:
Datatable inputtraindata in database:
day, customer#, weather, revenue
D1 10 Sunny 101,2
D2 12 Rain 98,0
D3 15 Cloudy 103,5
...
...
...
D25 16 Sunny 145,4
So, code should be predict revenue of following rows data:
D1 14 Rain ?
D2 13 Rain ?
I am looking forward your help?(:-)). Thanks.