Comments (3)
Agreed, the initial curve is larger. I think the main github README + that docs section should have at least something basic like
import tadasets
import matplotlib.pyplot as plt
data_clean = tadasets.dsphere(d=1, n=100, noise=0.0)
data_noisy = tadasets.dsphere(d=1, n=100, noise=0.1)
print(f"The shape of the data is: {data_clean.shape}")
plt.scatter(data_clean[:,0], data_clean[:,1], label="clean data")
plt.scatter(data_noisy[:,0], data_noisy[:,1], label="noisy data")
plt.axis('equal')
plt.legend()
plt.show()
# Let's calculate the diagram
import ripser
from persim import plot_diagrams
dgm_clean = ripser.ripser(data_clean)['dgms'][1]
dgm_noisy = ripser.ripser(data_noisy)['dgms'][1]
plot_diagrams([dgm_clean, dgm_noisy] , labels=['Clean $H_1$', 'Noisy $H_1$'], show=True)
from scikit-tda.
@galenseilis @23pointsNorth Please see the Tutorial section of the docs. Hopefully this will address some of your concerns.
from scikit-tda.
@galenseilis @23pointsNorth If you have suggestions for more broad tutorials that could be added here, please open an issue and we can address it. You can submit a PR as well if you'd like. Also please open issues/PRs on the other scikit-tda modules if you find their examples lacking as well. Thanks!
from scikit-tda.
Related Issues (20)
- scikit-tda installation error (help) HOT 1
- Processing images HOT 2
- Can you provide some images generated by this tool? HOT 2
- LICENSE file HOT 5
- Pip install -r requirements.txt fails on first attempt HOT 2
- Persistence diagram for a clique complex HOT 1
- help needed with installation error - Requested phat has different version HOT 12
- error installing scikit-tda/ripser HOT 4
- the slack invited link? HOT 1
- 1-dimensional persistence diagram of image data HOT 2
- Plotting the cocycles of dim.3, modifying the PlotCocycle2D code
- Time Series examples HOT 1
- Fix failing docs HOT 1
- Website appears to be down [BUG] HOT 2
- Most docs customization to an installable sphinx extension. HOT 2
- error for windows installation HOT 3
- do you have video how to use it? HOT 1
- Add contribution instructions for all libraries HOT 2
- Intuitive organization of submodules 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 scikit-tda.