Comments (5)
Hey @manethedane, thanks for reporting. I have a quick question for you: did you define your gaussian_likelihood
function in the console and then run your other code from the editor?
from spyder.
from spyder.
Ok, thanks for clarification. Could you upload a screenshot to see how you're running your code?
Please be aware that you can't send images via email. Instead, you need to drag and drop them directly here, on the Github website.
from spyder.
from spyder.
Thanks @manethedane! Although it's not visible, I think you the first command you ran in the console was
import numpy as np
If that was the case, then it means you didn't run the code you have in the editor before trying to call gaussian_likelihood
in the console. And that's why you're getting this error.
So, all you need to do before running
x = np.array([1,2,4,0])
gaussian_likelihood(0.34,np.var(x),x)
is pressing F5
or clicking on the Run button in our main toolbar (i.e. the green play button). That will load your editor code in the console so you can experiment with it there.
Let us know if that solves the problem for you.
from spyder.
Related Issues (20)
- Automatic error report
- Automatic error report
- cant open dataframe in variable explorer HOT 1
- overwrite name changed file
- Spyder 6.0 beta2 release
- Traceback related to run parameters over CI
- Kernel is dead message when starting Spyder HOT 8
- Text being cut in the `About` dialog
- Warning message on the first console that is open
- Error in opening spyder HOT 1
- spyder update error HOT 1
- _ARRAY_API not found: Numpy 2.0.0 installed. HOT 4
- Opening Spyder immediately leads to this message "Spyder has encountered an internal problem" HOT 7
- Change focus to Help window after Ctrl+Shift+H
- problem in input command HOT 1
- problem when i try to open dataframe view HOT 1
- error upon opening existing console HOT 2
- Code Folding shortcuts in spyder IDE
- Build string in conda package url for Spyder in the conda-lock file release asset does not match conda-forge HOT 3
- When I tried to start use spder and I want to import numpy, something went wrong 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 spyder.