TypeError: fit() missing 3 required positional arguments: 'adata', 'x_lim', and 'y_lim'
See original GitHub issueI encountered the following error when calling dyn.vf.Potential(adata)
import dynamo as dyn
dyn.get_all_dependencies_version()
adata = dyn.sample_data.DentateGyrus()
dyn.pp.recipe_monocle(adata)
dyn.tl.dynamics(adata)
dyn.tl.reduceDimension(adata, basis='umap', enforce=True)
dyn.tl.cell_velocities(adata, basis='umap')
dyn.tl.cell_wise_confidence(adata)
dyn.vf.VectorField(adata, basis='umap')
dyn.vf.topography(adata, basis='umap')
dyn.ext.ddhodge(adata, basis="umap")
adata.uns["VecFld"] = adata.uns.get("VecFld_umap")
dyn.vf.Potential(adata)
TypeError Traceback (most recent call last)
----> 1 dyn.vf.Potential(adata)
python3.8/site-packages/dynamo/vectorfield/scPotential.py in Potential(adata, DiffMat, method, **kwargs)
453 DiffMat = DiffusionMatrix if DiffMat is None else DiffMat
454 pot = Pot(Function, DiffMat, **kwargs)
–> 455 pot.fit(method=method)
456
457 return adata
TypeError: fit()
missing 3 required positional arguments: 'adata'
, 'x_lim'
, and 'y_lim'
Issue Analytics
- State:
- Created 2 years ago
- Comments:14
Top Results From Across the Web
TypeError: fit() missing 1 required positional argument: 'y'
I am trying to predict economic cycles using Gaussian Naive Bayes "Classifier". data (input X) :
Read more >TypeError: fit() missing 1 required positional argument: 'y'
TypeError : fit() missing 1 required positional argument: 'y'. As I was trying to fit my linear model (Logistic Regression ) to my...
Read more >Sklearn xgb.fit: TypeError: fit() missing 1 required positional ...
First the classifier needs to be created. Then it can be fit. sklearn API works in an object oriented interface here - create...
Read more >[Solved] TypeError when calling function - Python Forum
I'm trying to plot a multi-gaussian function to some data, ... + 3 ]). TypeError: gaussian() missing 1 required positional argument: 'width' ...
Read more >Notebook23027410e3 - Kaggle
Explore and run machine learning code with Kaggle Notebooks | Using data from Glass ... TypeError: predict() missing 1 required positional argument: 'X'....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
certainly, will do! we are delayed in updating those because of other commitments recently but will start to work on updating dynamo and all related readthedocs pages largely starting from next week. Thanks!
Please also update the last cell of the tutorial as well since it also raises an error.