Jaisohn Kim, PhD
Jaisohn Kim, PhD
  • Видео 133
  • Просмотров 366 430
Binary Logistic Regression in MATLAB, Part 2: Model Fitting
Binary Logistic Regression in MATLAB (2/2)
This two-part video series implements binary logistic regression in MATLAB. In the first video, we load, clean, and explore a dataset related to vehicle purchasing decisions. In the second video, we fit the binary logistic regression model to the data and analyze its accuracy via a confusion matrix.
Kaggle site: www.kaggle.com/datasets/gabrielsantello/cars-purchase-decision-dataset/data
Data file: github.com/tjkim96/Numerical-Methods-Codes/blob/main/07%20Advanced%20Data%20Analysis/car_data.csv
Blank .m file: github.com/tjkim96/Numerical-Methods-Codes/blob/main/07%20Advanced%20Data%20Analysis/CarPurchases_blank.m
Master (complete and commented) file: ...
Просмотров: 320

Видео

Binary Logistic Regression in MATLAB, Part 1: Data Exploration
Просмотров 4248 месяцев назад
Binary Logistic Regression in MATLAB (1/2) This two-part video series implements binary logistic regression in MATLAB. In the first video, we load, clean, and explore a dataset related to vehicle purchasing decisions. In the second video, we fit the binary logistic regression model to the data and analyze its accuracy via a confusion matrix. Kaggle site: www.kaggle.com/datasets/gabrielsantello/...
Mass-Spring-Damper MATLAB Design Problem (2/2)
Просмотров 1 тыс.2 года назад
Virginia Tech ME 2004: Mass-Spring-Damper MATLAB Design Problem (2/2) This two-part video series implements the famous mass-spring-damper system into MATLAB...with a twist. We need to find some damping values which satisfy two performance constraints. The first video introduces the problem and sets up the foundation of the code used in this video. This video solves the system via MATLAB's ode45...
Mass-Spring-Damper MATLAB Design Problem (1/2)
Просмотров 2,3 тыс.2 года назад
Virginia Tech ME 2004: Mass-Spring-Damper MATLAB Design Problem (1/2) This two-part video series implements the famous mass-spring-damper system into MATLAB...with a twist. We need to find some damping values which satisfy two performance constraints. This video introduces the problem and sets up the foundation of the code used in the second video. The second video solves the system via MATLAB'...
Coding the Mass-Spring-Damper System in MATLAB (2/2)
Просмотров 12 тыс.2 года назад
Virginia Tech ME 2004: Coding the Mass-Spring-Damper System in MATLAB (2/2) This two-part video series implements the famous mass-spring-damper system into MATLAB. The solutions are obtained via ode45(). The previous video introduces the system and decomposes the governing 2nd-order ODE into a series of coupled 1st-order ODEs. This video solves the system via MATLAB's ode45() and illustrates a ...
Coding the Mass-Spring-Damper System in MATLAB (1/2)
Просмотров 13 тыс.2 года назад
Virginia Tech ME 2004: Coding the Mass-Spring-Damper System in MATLAB (1/2) This two-part video series implements the famous mass-spring-damper system into MATLAB. The solutions are obtained via ode45(). This video introduces the system and decomposes the governing 2nd-order ODE into a series of coupled 1st-order ODEs. The next video solves the system via MATLAB's ode45() and illustrates a few ...
Coding the SIR Epidemic Model in MATLAB (2/2)
Просмотров 13 тыс.2 года назад
Virginia Tech ME 2004: Coding the SIR Epidemic Model in MATLAB (2/2) This is the second of a two-part video sequence on solving a system of 1st order ODEs related to an epidemic in MATLAB. The first video introduced the model and re-cast the system of 1st order ODEs into matrix form. This video implements the model in MATLAB and conducts a mathematical follow-up analysis. Blank .m file: bit.ly/...
Coding the SIR Epidemic Model in MATLAB (1/2)
Просмотров 7 тыс.2 года назад
Virginia Tech ME 2004: Coding the SIR Epidemic Model in MATLAB This is the first of a two-part video sequence on solving a system of 1st order ODEs related to an epidemic in MATLAB. This video introduces the model and re-casts the system of 1st order ODEs into matrix form. Blank .m file: bit.ly/Epidemic_blank Master (complete and commented) file: bit.ly/Epidemic_master Problem statement: bit.ly...
Numerical Methods: Matrix Inverse
Просмотров 1,6 тыс.2 года назад
Virginia Tech ME 2004: Matrix Inverse This video reviews some basic concepts of the matrix inverse, including the physical interpretation of the matrix inverse. Slides: bit.ly/MatrixInverse (This is a re-upload of an identical video which had some screen flickering issues I only discovered recently. The issues have been resolved in this re-upload.)
Solving 1st Order ODEs in MATLAB: Population Modeling (2/2)
Просмотров 8772 года назад
Virginia Tech ME 2004: Solving 1st Order ODEs in MATLAB, Population Modeling (2/2) This is the second of a two-part video sequence on solving a 1st order ODE related to modeling the Earth's population in MATLAB. The first video sketches the phase portrait and anticipated solution by hand. This video numerically solves and interprets the solution in MATLAB. Blank .m file: bit.ly/PopulationModel_...
Solving 1st Order ODEs in MATLAB: Population Modeling (1/2)
Просмотров 8162 года назад
Virginia Tech ME 2004: Solving 1st Order ODEs in MATLAB, Population Modeling (1/2) This is the first of a two-part video sequence on solving a 1st order ODE related to modeling the Earth's population in MATLAB. This video sketches the phase portrait and anticipated solution by hand. The next video numerically solves and interprets the solution in MATLAB. Blank .m file: bit.ly/PopulationModel_bl...
Solving 1st Order ODEs in MATLAB: Skydiver (2/2)
Просмотров 9482 года назад
Virginia Tech ME 2004: Solving 1st Order ODEs in MATLAB, Skydiver (2/2) This is the second of a two-part video sequence on solving a 1st order ODE related to the velocity of a freefalling skydiver in MATLAB. The first video sketches the phase portrait and anticipated solution by hand. This video numerically solves and interprets the solution in MATLAB. Blank .m file: bit.ly/Skydiver_blank Maste...
Solving 1st Order ODEs in MATLAB: Skydiver (1/2)
Просмотров 1,1 тыс.2 года назад
Virginia Tech ME 2004: Solving 1st Order ODEs in MATLAB, Skydiver (1/2) This is the first of a two-part video sequence on solving a 1st order ODE related to the velocity of a freefalling skydiver in MATLAB. This video sketches the phase portrait and anticipated solution by hand. The next video numerically solves and interprets the solution in MATLAB. Blank .m file: bit.ly/Skydiver_blank Master ...
Solving 1st Order ODEs in MATLAB: Lumped Thermal Mass (2/2)
Просмотров 8472 года назад
Virginia Tech ME 2004: Solving 1st Order ODEs in MATLAB, Lumped Thermal Mass (2/2) This is the second of a two-part video sequence on solving a 1st order ODE related to a lumped thermal mass in MATLAB. The first video sketches the phase portrait and anticipated solution by hand. This video numerically solves and interprets the solution in MATLAB. Blank .m file: bit.ly/LumpedThermalMass_blank Ma...
Solving 1st Order ODEs in MATLAB: Lumped Thermal Mass (1/2)
Просмотров 2202 года назад
Virginia Tech ME 2004: Solving 1st Order ODEs in MATLAB, Lumped Thermal Mass (1/2) This is the first of a two-part video sequence on solving a 1st order ODE related to a lumped thermal mass in MATLAB. This video sketches the phase portrait and anticipated solution by hand. The next video numerically solves and interprets the solution in MATLAB. NOTE: The OneNote page I'm drawing on (when we sta...
Numerical Integration Conceptual Example (Space Time Diagrams)
Просмотров 8172 года назад
Numerical Integration Conceptual Example (Space Time Diagrams)
Numerical Integration Example (Shear-Moment Diagrams)
Просмотров 5442 года назад
Numerical Integration Example (Shear-Moment Diagrams)
Numerical Integration: Mechanical Work
Просмотров 9322 года назад
Numerical Integration: Mechanical Work
Numerical Differentiation: Step Size Exploration
Просмотров 2,4 тыс.2 года назад
Numerical Differentiation: Step Size Exploration
Numerical Methods: Numerical Differentiation Overview
Просмотров 2,6 тыс.2 года назад
Numerical Methods: Numerical Differentiation Overview
Integrating the Unit Step and Delta Functions
Просмотров 6 тыс.2 года назад
Integrating the Unit Step and Delta Functions
1st Order ODEs Overview
Просмотров 5452 года назад
1st Order ODEs Overview
Integrating a Pulsing Function (2/2)
Просмотров 6502 года назад
Integrating a Pulsing Function (2/2)
Integrating a Pulsing Function (1/2)
Просмотров 7072 года назад
Integrating a Pulsing Function (1/2)
Numerical Differentiation: Stopping Distances
Просмотров 8852 года назад
Numerical Differentiation: Stopping Distances
Integration Review and the Unit Step/Pulse Functions
Просмотров 1,2 тыс.2 года назад
Integration Review and the Unit Step/Pulse Functions
Numerical Methods: Root Finding Example 1 (Redlich-Kwong Equation of State)
Просмотров 2,6 тыс.2 года назад
Numerical Methods: Root Finding Example 1 (Redlich-Kwong Equation of State)
Numerical Methods: Root Finding Example 2 (Population Study)
Просмотров 4422 года назад
Numerical Methods: Root Finding Example 2 (Population Study)
How to Perform Manual Iterations of the Newton-Raphson Method
Просмотров 6372 года назад
How to Perform Manual Iterations of the Newton-Raphson Method
Finding the Fixed Points of an ODE via Newton-Raphson
Просмотров 8382 года назад
Finding the Fixed Points of an ODE via Newton-Raphson

Комментарии

  • @josejimenez850
    @josejimenez850 7 дней назад

    Thank you for the summary!! You made it very easy to get it in a couple seconds!

  • @leonor2582
    @leonor2582 20 дней назад

    THANK YOU SO MUCH! This was so helpful!

  • @gfgtyhhiy
    @gfgtyhhiy 27 дней назад

    thank youuuuu

  • @GenaEnSamIAm
    @GenaEnSamIAm 27 дней назад

    Best video I have found on the topic!! 😊

  • @ShadowShinobi108
    @ShadowShinobi108 Месяц назад

    Im an international student studying overseas in a foreign language. We're now going through a 3rd numerical methods course and this topic of errors has popped up since the first one. I never understood it well, in huge part due to the presentation of the material in a language I didn't grow up with. Your explanation here is so clear, and I already have a better grasp of what I poorly understood for the past couple of semesters. Thanks for this great teaching!

    • @jaisohnkim
      @jaisohnkim Месяц назад

      Thanks for the kind words! Good luck with your future courses!

  • @hannahyeng2365
    @hannahyeng2365 2 месяца назад

    Thank you for the clear explanation

  • @emanuelarturorivasescobar1085
    @emanuelarturorivasescobar1085 3 месяца назад

    Amazing explanation, thanks a lot

  • @user-gw2vz5gh2n
    @user-gw2vz5gh2n 3 месяца назад

    THANK YOU. the PowerPoint our doctor had didn't have a well established example.

  • @gabeweaver995
    @gabeweaver995 3 месяца назад

    the links to the code dont work

    • @jaisohnkim
      @jaisohnkim 3 месяца назад

      Just updated the links, thanks for letting me know!

  • @gggh-r6l9x
    @gggh-r6l9x 3 месяца назад

    nice

  • @ImTheDot
    @ImTheDot 3 месяца назад

    .

  • @jacobdavis1908
    @jacobdavis1908 4 месяца назад

    Do you have the videos for the rest of the course?

    • @jaisohnkim
      @jaisohnkim 3 месяца назад

      Hello, most videos on this channel are related to the course. I'm in the process of updating my Github to include a syllabus/video viewing sequence, but that probably won't be done for a while.

  • @nithin1729s
    @nithin1729s 4 месяца назад

    Thanks

  • @aadhavan5972
    @aadhavan5972 5 месяцев назад

    Please continue making more videos in this numerical analysis/ error analysis❤

  • @AngelloLGacer
    @AngelloLGacer 5 месяцев назад

    Excellent, thank you so much sir. Hoping to pass my quiz tomorrow.

    • @jaisohnkim
      @jaisohnkim 5 месяцев назад

      Hope it went well!

  • @tshegofatsotshego375
    @tshegofatsotshego375 6 месяцев назад

    Amazaing, thank you very much!

  • @nknsdj
    @nknsdj 6 месяцев назад

    Hallo, may i know your coding in "epidemic_master.m" ? Why i find eror when calling a function ?

    • @jaisohnkim
      @jaisohnkim 6 месяцев назад

      Please refer to the MathWorks debugging pages -- there could be many causes of this error. My code is attached in the video description and they should run error-free.

  • @agnesasopaj
    @agnesasopaj 7 месяцев назад

    Hello! Do you have the example for double mass-spring-damper system?

    • @jaisohnkim
      @jaisohnkim 7 месяцев назад

      Hello, I don't have any 2DOF mass-spring-damper examples, but MathWorks does (www.mathworks.com/help/simscape/ug/double-mass-spring-damper-in-simulink-and-simscape.html) and this page on the File Exchange seems reputable (www.mathworks.com/matlabcentral/fileexchange/159391-double-mass-damper-mechanical-system)

  • @bsb0
    @bsb0 8 месяцев назад

    Really surprised by the quality and delivery of this presentation, great work

    • @jaisohnkim
      @jaisohnkim 8 месяцев назад

      Thank you very much!

  • @Zizotron
    @Zizotron 8 месяцев назад

    I have a question. I tried to increment S0 to 100,000, however, the graph became illogical as all the people became sick in less than one day. I understand this happened because the infection rate is constant. How would we make it so that 'a', the infection rate, is dependent on when people start showing symptoms. Because obviously in a real world scenario, the infection rate isn't constant and people would start showing symptoms days later, therefore people getting sick would be more gradual and not so sudden (even if we increase population size)

    • @jaisohnkim
      @jaisohnkim 8 месяцев назад

      Check out this paper, which is a modification of the SIR Model: www.sciencedirect.com/science/article/pii/S2468042720300725 In particular, it demonstrates that the alpha/beta constants traditionally used in the SIR Model are not actually constant, and a change is proposed to encompass these findings. In essence, the alpha/beta parameters are changed to be a function of the population density, among other things. Perhaps you can make a similar modification.

  • @sarsax123
    @sarsax123 9 месяцев назад

    by far the best video on this topic on all of youtube

  • @techjo531
    @techjo531 9 месяцев назад

    Hello, I'm doing a MATLAB project for my programming class. I'm looking to apply some of the principles in my programming class and overlap them with some computations from the steam tables. Is it cool if I reference your video and program in my project? Thank you. Joel

    • @jaisohnkim
      @jaisohnkim 9 месяцев назад

      Absolutely! Good luck!

  • @_aligamers1477
    @_aligamers1477 10 месяцев назад

    you ,save me prof

  • @kaushikmk3250
    @kaushikmk3250 10 месяцев назад

    Please provide the data. Link is not working

    • @jaisohnkim
      @jaisohnkim 10 месяцев назад

      fixed

    • @kaushikmk3250
      @kaushikmk3250 10 месяцев назад

      @@jaisohnkim Thank you so much for the lectures. I work in the automotive domain and your concepts are very helpful for learning automotive in a mathematical perspective.

  • @rhshovan
    @rhshovan Год назад

    THANK YOU SO MUCH.

  • @zachh6868
    @zachh6868 Год назад

    The links in the description don't work anymore

  • @JetzYT
    @JetzYT Год назад

    Great video. It's been a few years since I took the relevant course and this really helped me get the intuitions back for a computational linear algebra course I've just started this semester.

  • @vaniaelvina
    @vaniaelvina Год назад

    is it possible to add noise in the simulation?

    • @jaisohnkim
      @jaisohnkim Год назад

      I haven't tried adding noise to the simulations myself. I will refer you to these pages which may be helpful: www.mathworks.com/matlabcentral/answers/1646055-what-is-the-way-of-solving-the-noise-added-differential-equations-in-matlab, stackoverflow.com/questions/10343868/differential-equation-with-gaussian-noise-matlab

  • @johanneshutten2184
    @johanneshutten2184 Год назад

    Very nice video! really good overview

  • @fernachilex235
    @fernachilex235 Год назад

    i know im a bit lat, but thanks for this. Incredible way to explain fprintf hahah

  • @dansedanse1173
    @dansedanse1173 Год назад

    Great explication !

  • @KelsonHughes
    @KelsonHughes Год назад

    Jaisohn Kim the Goat

  • @paintwithbristy2053
    @paintwithbristy2053 Год назад

    None of the links work. I needed the master file, could you provide?

    • @jaisohnkim
      @jaisohnkim Год назад

      The links seem to work on my end, try again?

  • @KelsonHughes
    @KelsonHughes Год назад

    Jaisohn Kim the Goat

  • @KelsonHughes
    @KelsonHughes Год назад

    Jaisohn Kim the Goat

  • @PorterDuhadway
    @PorterDuhadway Год назад

    Jaisohn Kim the GOAT

  • @KelsonHughes
    @KelsonHughes Год назад

    Jaisohn Kim the Goat

  • @KelsonHughes
    @KelsonHughes Год назад

    Jaisohn Kim The Goat

  • @fancyson8715
    @fancyson8715 Год назад

    Thank you Mr. GradeSaver!!!

  • @KelsonHughes
    @KelsonHughes Год назад

    Jaisohn Kim The Goat

    • @BrownMInc
      @BrownMInc 9 месяцев назад

      just came across in my search of vector norms and was astonished, 🐐. Makes me wonder why is it that some people can communicate ideas clearly without fluff but no loss of meaning while others can spend 40mins basically saying nothing

  • @ArchanPandya
    @ArchanPandya Год назад

    Great Explanation!!!!!

  • @KelsonHughes
    @KelsonHughes Год назад

    Jaisohn Kim the goat

  • @phunguyenhoang8242
    @phunguyenhoang8242 Год назад

    tks for this useful video can you make it into simulink thank you

    • @jaisohnkim
      @jaisohnkim Год назад

      Thanks for watching. Unfortunately, I don't plan to make any Simulink-related videos anytime soon :(

    • @crazycontraptions1249
      @crazycontraptions1249 Год назад

      @@jaisohnkim ayy it's okay man you've done good tutorials already :)

  • @baruahsarthak_
    @baruahsarthak_ Год назад

    Superb explanation

  • @ibrahimalali5949
    @ibrahimalali5949 Год назад

    thanks dude!

  • @pritom7298
    @pritom7298 Год назад

    Thanks,sir

  • @flwerdaaisy
    @flwerdaaisy Год назад

    how can I determine my parameters a and r with lsqnonlin?

    • @jaisohnkim
      @jaisohnkim Год назад

      I assume you already have the S, I, and R data and you are attempting to find the a and r parameters which best fit the data. This is off the top of my head so I haven't tested this out at all, but perhaps something like the following might be a useful starting point: a_and_r = lsqcurvefit(@sir, initial_parameter_guesses,t,SIRdata,<other arguments>) function y = sir(a_and_r,t) % set up system of ODEs dydt = @(t,y) [-a*y(1)*y(2); % ...and so forth] % ode45 call [~,y] = ode45(dydt,t,initial_SIR_values); end

  • @selamc20
    @selamc20 Год назад

    Thank you!

  • @zyggzag4154
    @zyggzag4154 Год назад

    Thank-you! I appreciate you!

  • @madison7754
    @madison7754 Год назад

    thank u i almost failed but didnt bc of u <3