SpikeInterface / SpikeInterface/spikeinterface
regarding computing PCA components
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 847
- Forks
- 280
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 29
Description
I keep getting this error whenever I try to run
pc = si.compute_principal_components(we, **job_kwargs)
error:
AttributeError: 'IncrementalPCA' object has no attribute 'components_'
what could be the reason ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the si.compute_principal_components(we, **job_kwargs) entry point and inspect how the IncrementalPCA object is fitted before components_ is accessed. Reproduce the error with the reported call and determine whether the issue is caused by input data, job options, or the fitting sequence; done means the cause and a verified correction or clear usage guidance are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, scikit-learn
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100