Comments (4)
I have this problem too but I solved it.
You can view my pull request.
from data-analysis.
Thanks for update. as per pull request i have replace code but no luck iam getting below error.
Python 3.7.1 (default, Oct 28 2018, 08:39:03) [MSC v.1912 64 bit (AMD64)] :: Anaconda custom (64-bit) on win32
Type "help", "copyright", "credits" or "license" for more information.
from stocker import *
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\687488\stocker\stocker.py", line 525
test['correct'] = (np.sign(test['pred_diff'][1:]) == np.sign(test['real_diff'][1:])) * 1
^
TabError: inconsistent use of tabs and spaces in indentation
from data-analysis.
inconsistent use of tabs and spaces in indentation
That is a little wired. Are you using the latest pull request?
It works fine on my computer and I can't see anything wrong with tabs or spaces.
Maybe you can try add [1:]
in the right place manually?
from data-analysis.
I am pretty sure that
RuntimeWarning: invalid value encountered in sign
This warning is caused by test['correct'] = (np.sign(test['pred_diff']) == np.sign(test['real_diff'])) * 1 ^
And by adding [1:]
begind test['']
will solve this.
from data-analysis.
Related Issues (20)
- Date cover upto only 2018-03-27 HOT 9
- Comparison google trends: ConversionError: Failed to convert value(s) to axis units:
- Graphs don't seem to render in Google Colab HOT 3
- medium
- Kernel crashes when loading data for the widgets HOT 2
- Confused about some aspects of grid search reccommendations.
- KeyError: 'User_ID' In: /Data-Analysis/bayesian-lr/Bayesian Linear Regression Demonstration
- can you share links to each code folder pls?
- cannot import name 'Stocker' from 'stocker'
- cannot import name 'Stocker' from 'stocker' HOT 4
- Any plans to add stocker into PyPI ? HOT 2
- 'DataFrame' object has no attribute 'ix' HOT 3
- Data is outdated. (Stocker) HOT 2
- The plots are not displayed "Plotly Whirlwind Introduction.ipynb"
- Stocker library error
- why occur AttributeError: 'StanModel' object has no attribute 'fit_class'? HOT 1
- How to add new data in, or train new data HOT 4
- ValueError" occurred with the message "rotation must be 'vertical', 'horizontal' or a number, not 45"
- cloning this repository does not retrieve data: over data quota error HOT 1
- Data analysis
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data-analysis.