Jaisohn Kim VT
Jaisohn Kim VT
  • Видео 133
  • Просмотров 358 825
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: ...
Просмотров: 261

Видео

Binary Logistic Regression in MATLAB, Part 1: Data Exploration
Просмотров 3487 месяцев назад
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)
Просмотров 9952 года назад
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)
Просмотров 12 тыс.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,5 тыс.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)
Просмотров 8522 года назад
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)
Просмотров 8062 года назад
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)
Просмотров 9382 года назад
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)
Просмотров 8182 года назад
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)
Просмотров 2102 года назад
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)
Просмотров 8092 года назад
Numerical Integration Conceptual Example (Space Time Diagrams)
Numerical Integration Example (Shear-Moment Diagrams)
Просмотров 5422 года назад
Numerical Integration Example (Shear-Moment Diagrams)
Numerical Integration: Mechanical Work
Просмотров 9282 года назад
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)
Просмотров 6442 года назад
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)
Просмотров 4372 года назад
Numerical Methods: Root Finding Example 2 (Population Study)
How to Perform Manual Iterations of the Newton-Raphson Method
Просмотров 6232 года назад
How to Perform Manual Iterations of the Newton-Raphson Method
Finding the Fixed Points of an ODE via Newton-Raphson
Просмотров 8242 года назад
Finding the Fixed Points of an ODE via Newton-Raphson

Комментарии

  • @ShadowShinobi108
    @ShadowShinobi108 14 дней назад

    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!

    • @jaisohnkimVT
      @jaisohnkimVT 13 дней назад

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

  • @hannahyeng2365
    @hannahyeng2365 29 дней назад

    Thank you for the clear explanation

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

    Amazing explanation, thanks a lot

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

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

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

    the links to the code dont work

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

      Just updated the links, thanks for letting me know!

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

    nice

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

    .

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

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

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

      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 3 месяца назад

    Thanks

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

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

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

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

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

    Amazaing, thank you very much!

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

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

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

      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 6 месяцев назад

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

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

      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 7 месяцев назад

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

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

    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)

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

      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 8 месяцев назад

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

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

    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

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

    you ,save me prof

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

    Please provide the data. Link is not working

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

      fixed

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

      @@jaisohnkimVT 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 11 месяцев назад

    THANK YOU SO MUCH.

  • @zachh6868
    @zachh6868 11 месяцев назад

    The links in the description don't work anymore

  • @JetzYT
    @JetzYT 11 месяцев назад

    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.

    • @jaisohnkimVT
      @jaisohnkimVT 11 месяцев назад

      thanks, glad it helped!

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

    is it possible to add noise in the simulation?

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

      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?

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

      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 8 месяцев назад

      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

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

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

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

      @@jaisohnkimVT 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?

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

      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

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

    good job

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

    Great video thanks!!!!! but how would you plot the acceleration??

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

      Recall that m*xddot + c*xdot + k*x = u, so the acceleration (xddot) is: xddot = (-c/m)*xdot - (k/m)*x + (u/m) Hopefully this is familiar from when we put the system into state-space form. Therefore, you can do something like: [t,x,v] = ode45(stuff); a = (-c/m)*v - (k/m)*x + (u/m); figure plot(t,a) This is the most "proper" way in my mind. You could alternatively obtain the accel vector by numerically differentiating the velocity vector, although I am not a fan of this because it could introduce noise into the accel vector. Hope this helps!

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

    Hi there, I am doing a project on disease dynamics modelling, your explanation of matlab implementation for disease models is very clear. I am interesting in discussing my model with you so I would like to kindly request an email address to reach out to you. Thank you :)

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

      Hello, feel free to contact me at jais0hn@vt.edu, but please bear in mind that I cannot offer any consulting, model advice, debugging, etc.

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

      Hi, I have a question. Why when susceptible individuals are equal to recovered individuals the infected individuals are maximum

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

      The infected population doesn't always peak right when susceptible population = recovered population; it largely depends on the system parameters. I found this website (people.wku.edu/lily.popova.zhuhadar/) useful.

  • @0xdegen70
    @0xdegen70 Год назад

    thank you ............i find it really helpful