Comments (2)
The real issue is that the tests shouldn't require the data. The good way to handle this would be to use mock
to build an object which does the same things as the data object but for the (hopefully) smaller cases that the tests test. These difficulties with testing the routines in isolation indicate design problems, and we should avoid just plastering over them.
from dwpm-mixture-model.
I agree. I will keep this issue open until we deal with fixing the data handling entirely.
from dwpm-mixture-model.
Related Issues (20)
- Improve coverage of tgo tests HOT 1
- Use logging module instead of print warnings
- Create a README file HOT 2
- Error in math in tgo.py HOT 1
- Remove references to `math` HOT 1
- Remove clone code HOT 1
- Extend test suite HOT 2
- Delete unused code HOT 1
- Make alchemyst a collaborator
- Don't re-raise exceptions
- Split functionality into different files HOT 5
- Case conflict: nComp_tests.py vs ncomp_tests.py HOT 3
- Code climate push hook
- `data.optimse` in main.py
- `tgo_tests.py` not running HOT 1
- Add alchemyst as a collaborator
- Dealing with 'nan' values and RuntimeWarnings during optimisation HOT 3
- Remove automatically generated files HOT 1
- Make testing code always runnable HOT 1
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 dwpm-mixture-model.