Coder Social home page Coder Social logo

jiveyguy / big0time Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 831 KB

COSC2336 - Lab 3 Studdy the impact of O() on a problem solution and learn to design and tweak an experiment: 1 - Use the 3 different algorithms for Maximum Contiguous Subsequence Sum, you can copy the code from http://www.crazyforcode.com/maximum-sum-in-contiguous-subarray/ - Give credit. You will need to tweak the code to make it work. You can also simplify the code... 2 - Use StopWatch class from the book for timing 3 - Build a tester that: * Generates datasets randomly * Run all 3 algorithm with each generated dataset * You will need multiple test-runs to establish N such that value of T(N) are neither too short (Resolution is mili-second) or too long (Longer than ~ 1 day) * Initially loop multiplying the dataset size by 2 (Initial multiplier) every time 4 - Follow the analysis of experimental data from the book page 176. Plot the data using excel 5 - From this estimate a good starting N and increment such that your table will have at least 4 lines with all 3 results 6 - Run the test and repeat 10 times to obtain an average (you can test with other work-load present or computer idle) 7 - Build a table that shows N vs. average / minimum / maximum T(N) for all 3 algorithms 8 - Turn a professional looking report: a. describes the experiment b. include the code c. include a sample run d. explain the final set of numbers you used (starting size and multiplier and time cut-off) e. explain the findings f. estimate the constant factors for all 3 algorithms assuming aN-cube, bN-square, and cN. 9 - Turn in your code (.java) and the report via e-mail to [email protected]

Java 100.00%

big0time's Introduction

Hi ๐Ÿ‘‹, I'm Jason Ivey (jiveyguy)

A full-stack developer focusing on embedded systems from Texas currently studying in New Mexico and working in San Diego.

jiveyguy

jiveyguy

  • ๐Ÿ”ญ Iโ€™m currently working on Open NMSU

  • ๐ŸŒฑ Iโ€™m currently learning Rust, customTKInter, and edge computing.

  • ๐Ÿ“ซ How to reach me [email protected]

Connect with me:

jiveyguy#2081

Languages and Tools:

android arduino aws bash blender c cplusplus docker git gtk illustrator java linux matlab mysql nginx opencv pandas photoshop python pytorch rust scikit_learn seaborn sqlite tensorflow unreal

jiveyguy

ย jiveyguy

big0time's People

Contributors

jiveyguy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.