Comments (6)
Where exactly in test.ipynb do you get this error? The first time tsne is run? Please copy paste the terminal output.
from fit-sne.
# Running t-SNE on the full MNIST in the default way (this uses perplexity=30) %time Z = fast_tsne(X50, seed=42) plt.figure(figsize=(5,5)) plt.scatter(Z[:,0], Z[:,1], c=col[y], s=.1) plt.tight_layout()
When I test this step,I encounter this error.
I use this test data and anthoer data,but after fast_tsne,the 'Z' is the same,should I add some parameters.
Thank you .
from fit-sne.
Please post the terminal output here. Open the terminal window where you started the Python notebook and copy-paste the FIt-SNE output.
from fit-sne.
`---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
~/.conda/envs/vev1/lib/python3.7/site-packages/matplotlib/axes/_axes.py in _parse_scatter_color_args(c, edgecolors, kwargs, xshape, yshape, get_next_color_func)
4290 valid_shape = False
-> 4291 raise ValueError
4292 except ValueError:
ValueError:
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
in
4
5 plt.figure(figsize=(5,5))
----> 6 plt.scatter(Z[:,0], Z[:,1], c=col[y], s=.1)
7 plt.tight_layout()
~/.conda/envs/vev1/lib/python3.7/site-packages/matplotlib/pyplot.py in scatter(x, y, s, c, marker, cmap, norm, vmin, vmax, alpha, linewidths, verts, edgecolors, plotnonfinite, data, **kwargs)
2845 verts=verts, edgecolors=edgecolors,
2846 plotnonfinite=plotnonfinite, **({"data": data} if data is not
-> 2847 None else {}), **kwargs)
2848 sci(__ret)
2849 return __ret
~/.conda/envs/vev1/lib/python3.7/site-packages/matplotlib/init.py in inner(ax, data, *args, **kwargs)
1599 def inner(ax, *args, data=None, **kwargs):
1600 if data is None:
-> 1601 return func(ax, *map(sanitize_sequence, args), **kwargs)
1602
1603 bound = new_sig.bind(ax, *args, **kwargs)
~/.conda/envs/vev1/lib/python3.7/site-packages/matplotlib/axes/_axes.py in scatter(self, x, y, s, c, marker, cmap, norm, vmin, vmax, alpha, linewidths, verts, edgecolors, plotnonfinite, **kwargs)
4452 self._parse_scatter_color_args(
4453 c, edgecolors, kwargs, xshape, yshape,
-> 4454 get_next_color_func=self._get_patches_for_fill.get_next_color)
4455
4456 if plotnonfinite and colors is None:
~/.conda/envs/vev1/lib/python3.7/site-packages/matplotlib/axes/_axes.py in _parse_scatter_color_args(c, edgecolors, kwargs, xshape, yshape, get_next_color_func)
4296 "acceptable for use with 'x' with size {xs}, "
4297 "'y' with size {ys}."
-> 4298 .format(nc=n_elem, xs=xsize, ys=ysize)
4299 )
4300 else:
ValueError: 'c' argument has 70000 elements, which is not acceptable for use with 'x' with size 25000, 'y' with size 25000.`
from fit-sne.
No, sorry, that's not what I meant. I need to see the FIt-SNE output. It should look like this:
=============== t-SNE v1.1.0 ===============
fast_tsne data_path: data.dat
fast_tsne result_path: result.dat
fast_tsne nthreads: 8
Read the following parameters:
...
and quite a lot afterwards.
What you copied are Python errors when running plt.scatter
. What I need, is Python output when running fast_tsne
.
from fit-sne.
I have solved the problem. I changed the terminal, then normal running, it should be configuration problem. Thank you .
from fit-sne.
Related Issues (20)
- Passing perplexity_list in R? HOT 1
- dyld: Library not loaded: @rpath/libfftw3.3.dylib with conda FFTW HOT 4
- Confusing instructions for Windows installation HOT 1
- Always get an error about version when using this in SEURAT 3.1.5 HOT 3
- Using no AVX instructions HOT 5
- Installation error in OSX HOT 1
- Error in pip install fitsne HOT 9
- Could not run in Google Colab HOT 1
- need to require rsvd package in R wrapper HOT 3
- Is the PyPI version up to date? HOT 3
- Memory Allocation Failed - Large Datasets HOT 7
- FFT supports only 2 components
- results file (results_date_seed-.dat) is not created HOT 3
- compile fitsne error HOT 3
- Segmentation fault sometime
- Windows installation - HOT 1
- Windows executable for Version 1.2.0 not compiling HOT 5
- How to install KlugerLab / FIt-SNE for Seurat usage in Windows 10 system
- Recommended Parameters for > 3 million cells HOT 8
- Error while compiling FIt-SNE v1.1.0 or 1.0.0 solved Fedora 31 5.6.8-200 while using with Seurat 3.1 HOT 9
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 fit-sne.