rshrc / sales-forecast-ml Goto Github PK
View Code? Open in Web Editor NEWWeb app to predict sales of a new product :chart_with_upwards_trend:
Web app to predict sales of a new product :chart_with_upwards_trend:
Yo!
Please read this fully.
Why do you work so hard? Meh, you know very little when compared to others. There are many people in MUJ who know "TON MORE" than you but are still down to earth and humble. All you know is to spit venom and back-bitch 'bout others. You were an awesome guy, but then turned completely around from 2nd year. Not sure what you brag 'bout, but hey, with that attitude, you ain't going anywhere.
Why am I leaving this here? 'Coz you love collaboration right? So I thought Github is best for you! All you care is your reputation and your attitude. If you hate someone, because they are getting ahead of you, you start shitting yourself and start spewing venom on them.
Stay humble, stay down-to-earth and respect others. Don't make people hate you. No wonder people leave confessions for you on Insta. They literally talk about you and your shitty attitude.
Take it as a competition, a healthy one. Don't hate people becoz they know more than you. I know someone who's been very very badly affected by you. You have no idea in what shape he is now. None of us have the courage to confront you, becoz we cannot afford the ruckus you and your gang'd create if you'd know our identities.
Don't take this the wrong way, but I had no other choice. This is just an advice. :)
I click on the predict button in the product form. After that i receive this error. Any solution for that..
django == 2.2.5
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/backends/mysql/base.py in execute
return self.cursor.execute(query, args) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/MySQLdb/cursors.py in execute
res = self._query(query) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/MySQLdb/cursors.py in _query
db.query(q) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/MySQLdb/connections.py in query
_mysql.connection.query(self, query) …
The above exception ((1146, "Table 'sale.predict_product' doesn't exist")) was the direct cause of the following exception:
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/core/handlers/exception.py in inner
response = get_response(request) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/core/handlers/base.py in _get_response
response = self.process_exception_by_middleware(e, request) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/core/handlers/base.py in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs) …
/home/emxcel/Projects_python/sales-forecast-ml-master/predict/views.py in product_describe_view
product_detail = product_form.save() …
/home/emxcel/Projects_python/sales-forecast-ml-master/predict/forms.py in save
product.save() …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/models/base.py in save
force_update=force_update, update_fields=update_fields) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/models/base.py in save_base
force_update, using, update_fields, …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/models/base.py in _save_table
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/models/base.py in _do_insert
using=using, raw=raw) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/models/manager.py in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/models/query.py in _insert
return query.get_compiler(using=using).execute_sql(return_id) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/models/sql/compiler.py in execute_sql
cursor.execute(sql, params) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/backends/utils.py in execute
return super().execute(sql, params) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/backends/utils.py in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/backends/utils.py in _execute_with_wrappers
return executor(sql, params, many, context) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/backends/utils.py in _execute
return self.cursor.execute(sql, params) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/utils.py in exit
raise dj_exc_value.with_traceback(traceback) from exc_value …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/backends/utils.py in _execute
return self.cursor.execute(sql, params) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/django/db/backends/mysql/base.py in execute
return self.cursor.execute(query, args) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/MySQLdb/cursors.py in execute
res = self._query(query) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/MySQLdb/cursors.py in _query
db.query(q) …
/home/emxcel/anaconda3/envs/oenv/lib/python3.6/site-packages/MySQLdb/connections.py in query
_mysql.connection.query(self, query) …
In you ML core code, you are training the linear regression model based on the the cluster it is in and then pickling it. But when you are predicting, you are using the same pickled regression model irrespective of the cluster it belongs to? Why?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.