{"id":16457851,"url":"https://github.com/parth-paradkar/leastsquaremethod","last_synced_at":"2025-02-27T04:24:51.725Z","repository":{"id":144123025,"uuid":"163864922","full_name":"parth-paradkar/LeastSquareMethod","owner":"parth-paradkar","description":"This program plots(gives the points to be plotted) the best fitting linear graph from a set of readings.","archived":false,"fork":false,"pushed_at":"2019-03-13T02:35:58.000Z","size":1534,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-10T03:11:40.515Z","etag":null,"topics":["c","graph-algorithms"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parth-paradkar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-02T16:33:11.000Z","updated_at":"2020-09-06T10:25:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"87d556f4-9bab-40c9-a0ee-197fc8b79844","html_url":"https://github.com/parth-paradkar/LeastSquareMethod","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parth-paradkar%2FLeastSquareMethod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parth-paradkar%2FLeastSquareMethod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parth-paradkar%2FLeastSquareMethod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parth-paradkar%2FLeastSquareMethod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parth-paradkar","download_url":"https://codeload.github.com/parth-paradkar/LeastSquareMethod/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240977640,"owners_count":19887712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","graph-algorithms"],"created_at":"2024-10-11T10:43:41.955Z","updated_at":"2025-02-27T04:24:51.705Z","avatar_url":"https://github.com/parth-paradkar.png","language":"Python","readme":"### LeastSquareMethod\n***\n\nPlot a linear graph from a set of given coordinates that crosses the least number of squares on the graph.\n\n## How to install:\n\n1) Open a new terminal window and create a folder in the desired location\n\n```\nmkdir leastsquare\n````\n2) Clone this repository in this directory\n\n```\ngit clone https://github.com/parthmax99/LeastSquareMethod.git\n```\n3) You are good to go!\n\n## Usage\n\n1) If the data is stored in a CSV file, enter the file path(filename in case the file is present in the current directory as an argument)\n\n![Terminal command for CSV file](/images/terminal_command_csv.png)\n\n2) For a sample dataset the result will be as follows:\n\n![Example 1](/images/result.png)\n\n3) For a small number of points, you might prefer feeding the data through the terminal itself. The points must be in the format *[x,y]*\n\n![Terminal input](/images/terminal_command1.png)\n\n4) Output:\n\n![Example 2](/images/result2.png)\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparth-paradkar%2Fleastsquaremethod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparth-paradkar%2Fleastsquaremethod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparth-paradkar%2Fleastsquaremethod/lists"}