Comments (4)
I have the exact same issue
from dowhy.
so it seems it works fine with Python 3.6 and it gives me an error with Python 3.7. the other issue is with networkx it has to be 2.x version to work. which I suggest adding the version of dependencies in the "requirement" file the version of dependencies.
I have added the versions of the packages in the virtual env that dowhy works.
requirements.txt
from dowhy.
Thanks for your patience @rghelichi . You are right---this is fixed when network is 2.x. I have updated the requirements.txt now.
from dowhy.
I have tried many solutions but can't seem to solve the problem. This code is in Python 2.7 and I am using Python 3.7. While searching I find out that this gives an error in Python 3.7. Can anyone help me how to remove this error in Python 3.7?
print('Loading c3d features ...')
features = h5py.File(self._options['feature_data_path'], 'r')
self._feature_ids = features.keys()
self._features = {video_id:np.asarray(features[video_id].values() [0]) for video_id in
self._feature_ids}
This is the error I am getting:
E:\jupyter book\data_provider.py in <dictcomp>(.0)
---> 68 self._features
{video_id:np.asarray(features[video_id].values()[0]) for
video_id in self._feature_ids}
69
70
TypeError: 'ValuesViewHDF5' object is not subscriptable
from dowhy.
Related Issues (20)
- Refutation & Overlap Error ("data_subset_refuter", "add_unobserved_common_cause", assess_support_and_overlap_overrule) HOT 2
- No Backdoor Path Available
- Clarification on how to use gcm properly for confounders adjustment HOT 5
- Can you provide code demo for each function? HOT 2
- How is propensity score matching implemented? HOT 2
- Interpreting mean while using logistic regression to estimate causal effect. HOT 1
- model.estimate_effect and model.refute_astimate throws 'A column-vector y was passed ...' error
- RuntimeWarning: divide by zero encountered in divide when using evaluate_causal_model HOT 5
- Auto assign_causal_mechanisms is taking so much time in gcm HOT 12
- falsify_graph HOT 8
- Remove use of CausalModel from test files and notebooks
- Is there a way to work with a structural causal model where nodes have multiple values? For use in root cause analysis. HOT 8
- graph should be directed acyclic HOT 4
- dowhy replication issue and output discrepancy with statsmodels HOT 2
- how to show summary stats (R squared, p value, F stat) from causal estimate HOT 3
- dowhy 0.11.1 dependences looks not being loaded HOT 2
- Creating CausalModel with frontdoor variables HOT 2
- Sensitiviy Analysis for Binary Outcome HOT 2
- 'squared' is deprecated error while running evaluate_causal_model HOT 2
- Consistently different values for estimated effect?
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 dowhy.