Python Data Science Jobs & Interviews
18.4K subscribers
148 photos
3 videos
17 files
261 links
Your go-to hub for Python and Data Science—featuring questions, answers, quizzes, and interview tips to sharpen your skills and boost your career in the data-driven world.

Admin: @Hussein_Sheikho
加入频道
Question 19: #scipy
Which of the following methods are commonly used for derivative-based optimization in SciPy?

Option 1: fmin_bfgs

Option 2: minimize with method='BFGS'

Option 3: minimize with method='Newton-CG'

Option 4: fmin

Correct Response: 1, 2, 3

Explanation: Methods like fmin_bfgs and minimize with method='BFGS' or 'Newton-CG' are commonly used for derivative-based optimization in SciPy. fmin, on the other hand, implements the Nelder-Mead algorithm, which is a derivative-free method

https://yangx.top/DataScienceQ
Please open Telegram to view this post
VIEW IN TELEGRAM
👍7
Question 9 (Intermediate):
In SciPy, which function is used to solve ordinary differential equations (ODEs)?

A) scipy.optimize.minimize()
B) scipy.integrate.solve_ivp()
C) scipy.signal.lfilter()
D) scipy.linalg.solve()

#Python #SciPy #NumericalMethods #ODEs

By: https://yangx.top/DataScienceQ
2