- Видео 34
- Просмотров 257 711
ComputationalScientist
Добавлен 1 окт 2017
Simulated Annealing Algorithm in Python - Travelling Salesperson Problem
I show how the Travelling Salesperson Problem can be solved with the Simulated Annealing Algorithm in Python (I use PyCharm and Anaconda Python).
Sorry, there is no commentary for this tutorial.
Sorry, there is no commentary for this tutorial.
Просмотров: 19 567
Видео
Create a random matrix in R (uniform, normal, Poisson, exponential)
Просмотров 1,3 тыс.5 лет назад
Generating a random matrix (uniform, normal, Poisson and exponential) in R is not straightforward. I show a trick in this tutorial. Music by Setuniman at www.freesound.org/people/setuniman/ Other sound effects have been obtained from www.zapsplat.com
Install Python 3.6 on Ubuntu 18 (with Jupyter Notebook) - full guide 3 min.
Просмотров 2,9 тыс.6 лет назад
Anaconda distribution: www.anaconda.com If you want to install additional packages but Ubuntu complains about permissions, run the following two commands: sudo chown -R username /home/username/anaconda3/ sudo chmod -R x /home/username/anaconda3/ Where your username is your username. Music by abett at freesound.org/people/abett/ Sound effects obtained from www.zapsplat.com
Circular Drum Shape Animation in 2D
Просмотров 2396 лет назад
Simulation of the eigenmodes of a circular membrane. I used a 3D surface. Theory: Can one hear the shape of a drum? by Mark Kac Music by Setuniman at www.freesound.org/people/setuniman/ Sound effects obtained from www.zapsplat.com
Square Drum Shape Animation in 3D
Просмотров 2276 лет назад
Simulation of the eigenmodes of a square membrane. I used a 3D surface. Theory: Can one hear the shape of a drum? by Mark Kac Music by Setuniman at www.freesound.org/people/setuniman/ Sound effects obtained from www.zapsplat.com
Latex and TexStudio installation on Ubuntu 18 - easy method
Просмотров 54 тыс.6 лет назад
If my tutorial helps to solve your problem, please consider supporting my channel with a small donation: www.paypal.me/compsciencetube I needed to reinstall my laptop recently, and I decided to create a tutorial on how Latex and TexStudio can be installed. You will need administrator rights. Commands: sudo apt-get update sudo apt-get install texlive-full Link: www.texstudio.org Music by Setunim...
Square Drum Shape Animation in 2D
Просмотров 1276 лет назад
Simulation of the eigenmodes of a square membrane. I used a 2D surface. Theory: Can one hear the shape of a drum? by Mark Kac Music by Setuniman at www.freesound.org/people/setuniman/ Sound effects obtained from www.zapsplat.com
Rectangular Membrane Animation in 3D
Просмотров 3766 лет назад
Simulation of the eigenmodes of a rectangular membrane. I used a 3D surface. Theory: Can one hear the shape of a drum? by Mark Kac Music by Setuniman at www.freesound.org/people/setuniman/ Sound effects obtained from www.zapsplat.com
Masked 3D surface plots with holes and smooth edges in Python - workaround
Просмотров 3 тыс.6 лет назад
Matplotlib's 'plot_surface' function can't handle masked arrays properly (either masking with NaNs or using numpy masked arrays). To plot a masked surface with 'plot_surface', a small trick must be applied. Sadly, the edges are not smooth even with this method. Another function 'plot_trisurf' can be the solution to this problem. In this tutorial, I cover this approach after demonstrating what's...
Rectangular Membrane Animation in 2D
Просмотров 2186 лет назад
Simulation of the eigenmodes of a rectangular membrane. I used a 2D surface. Theory: Can one hear the shape of a drum? by Mark Kac Music by Setuniman at www.freesound.org/people/setuniman/ Sound effects obtained from www.zapsplat.com
Animation of a Circular Drum with a Hole in 3D
Просмотров 1546 лет назад
Simulation of the eigenmodes of a circular membrane with a hole. I used a 3D surface. Theory: Can one hear the shape of a drum? by Mark Kac Music by Setuniman at www.freesound.org/people/setuniman/ Sound effects obtained from www.zapsplat.com
Animation of a Circular Drum with a Hole in 2D
Просмотров 896 лет назад
Simulation of the eigenmodes of a circular membrane with a hole. I used a 2D surface. Theory: Can one hear the shape of a drum? by Mark Kac Music by Setuniman at www.freesound.org/people/setuniman/ Sound effects obtained from www.zapsplat.com
Can you hear the shape of a drum? - Computing and Visualizing the Eigenmodes in Python
Просмотров 1,5 тыс.6 лет назад
I used the Anaconda Python 3 distribution with Jupyter Notebook. Theory: Can one hear the shape of a drum? by Mark Kac Sound effects obtained from www.zapsplat.com
Circular Drum Shape Animation in 3D
Просмотров 1,9 тыс.6 лет назад
Simulation of circular membrane eigenmodes. I used a 3D surface. Theory: Can one hear the shape of a drum? by Mark Kac Music by Setuniman at www.freesound.org/people/setuniman/ Sound effects obtained from www.zapsplat.com
Installing MatConvNet with CUDA 9.0 (GPU) support on Ubuntu 17.10
Просмотров 2,7 тыс.6 лет назад
It took me a day to figure out how to install MatConvNet with GPU support on my laptop. Because I could not find any tutorials, I decided to create one myself - hoping it will help others. Please consider subscribing to my channel and pressing the Like button, if you find this tutorial helpful. My setup: ASUS UX501V laptop with NVIDIA Geforce 960M graphics card. CUDA: developer.nvidia.com/cuda-...
Binomial option pricing model (put, call) in Python
Просмотров 14 тыс.6 лет назад
Binomial option pricing model (put, call) in Python
Simulated Annealing Visualization: Solving Travelling Salesman Problem
Просмотров 36 тыс.7 лет назад
Simulated Annealing Visualization: Solving Travelling Salesman Problem
Latin Hypercube Sampling (2D, uniform) in Python
Просмотров 13 тыс.7 лет назад
Latin Hypercube Sampling (2D, uniform) in Python
Numerical Differentiation (First) and How to Minimize Error with Python
Просмотров 2,5 тыс.7 лет назад
Numerical Differentiation (First) and How to Minimize Error with Python
Approximation of Pi Using Hit and Miss (Monte Carlo) Method with Python
Просмотров 10 тыс.7 лет назад
Approximation of Pi Using Hit and Miss (Monte Carlo) Method with Python
How did you solve it? Eigenvectors of a discretized Laplacian matrix?
I'm very interesting about this reaserch. Could i have ur email please. May be we can disucuss about it
Thank you, I have this due in 18 minutes
Thank you so much❤
bro i got a LOT OF ERRORS how do i fix it.
nice loop max iteration but it take too long
Good interesting . Cloud you share python code?
How much memory does your computer have? I only get a round circle.
wow... I wrote a code in a different way and the figure was so rudimentary. I didn't use that convergence critera of |z| < 2. Instead, I iterated the expression for z_n 10 times (because more times than that would make NaN values begin to appear) and made a linear regression over those points. If the linear coefficient was negative, then it converges. Yeah, I know, it's a pretty bad test of convergence, but I was just playing. It generated an image that was poor, it didn't get even closer to the one you generated here with your code. Thanks for showing us how you did it.
Make a vedio for bifurcation diagram
I went to a talk about this famous problem in 1969 about!
covered 3 hours of lecture in 3 minutes
Bruh Mad respect for doin this in jupyter notebook
I managed to do my job thanks to this video. Thank you! <333
That isnt mandelbrot set by python but there have some solution of 'drawing mandelbrot set'. usually programmers introduce these set by mathmatical ways or using some pararell programming but this video just use **MODULE** so i dont advise these video. :(
Thank You Somuch
how we correct this problem E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Thank you sir. it has been useful.
The function get_distance is wrong.. @Vinicius mention the correction down in the comment
what is the y in S,I,R=y
wondering the same thing
can you send me the code?
can you send me the code?
Thank You so much! I just have installed by this way
Gracias Mister...
Beautiful music too, thanks
Hippety poppity your code is now my property
hi thank you very much...but I have a question, how can you modify the range of the sample to be between 0-2 instead of just between 0-1?
Rule 64 and 72 look the same
You have a problem in the algoritm. The function get_distance is wrong. The right way to have the distance of two points is with: np.sqrt((a.x-b.x)**2 + (a.y-b.y)**2)
Yup works fine after I fixed this. Thx pal
yes, the manhattan distance is without the sqrt as: numpy.abs(a.x-b.x) + numpy.abs(a.y-b.y).....or eucleadian distance is as numpy.sqrt((a.x-b.x)**2 + (a.y-b.y)**2)
Tripping music when heard after waking up at 4 am to write the thesis... Thanks ;)
Thank you this worked I finally made my beloved mandelbrot set in python. 💪😃
May God bless you abundantly for this piece!
thank you I made it
Is this American or European
You're an AI aren't you??!!
65 second explanation and i got the basic idea of simulated annealing. Perfect video!
Fantastic tutorial ! Thank you very much <3
my thankss!!!
I am Japanese. Thank you.
While I am going to run a file it is showing "Package installation" notification..what is the next step in that case..I mean should I link the texlive/miktex packages with texstudio?
how can we use the mask in removing unwanted triangulation a region ?
Awesome explanation sir thank you
can u send me its Source code ..because its very important to me ...please send...
Thank you for the video. It was suggested to us in our Markov Chain lecture.
Thanks for the video, I have followed your tutorial but my last graph I have only three points being connected. What might be the cause?
Same issue over here, I am trying to figure out what I am doing wrong compared to the video.. Have you found the mistake already?
FYI, I think the SA contains a small error with writing back the "old" layout/route/name it if you do not accept the worse solution. If you fix that, all points will show up in the graph.
Thank you!
what is S0
hi, how can I do this using the message passing method?
Thank you so much...
It is nicely working..Thanks.