{"id":19158931,"url":"https://github.com/arnim/spearalgorithm.jl","last_synced_at":"2026-03-01T10:35:18.931Z","repository":{"id":9754960,"uuid":"11720571","full_name":"arnim/SpearAlgorithm.jl","owner":"arnim","description":"Julia implementation of the SPEAR ranking algorithm","archived":false,"fork":false,"pushed_at":"2013-10-01T08:41:20.000Z","size":128,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-09T10:36:38.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":false,"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/arnim.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}},"created_at":"2013-07-28T14:16:23.000Z","updated_at":"2019-08-07T11:43:41.000Z","dependencies_parsed_at":"2022-07-28T19:30:02.255Z","dependency_job_id":null,"html_url":"https://github.com/arnim/SpearAlgorithm.jl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arnim/SpearAlgorithm.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnim%2FSpearAlgorithm.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnim%2FSpearAlgorithm.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnim%2FSpearAlgorithm.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnim%2FSpearAlgorithm.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arnim","download_url":"https://codeload.github.com/arnim/SpearAlgorithm.jl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnim%2FSpearAlgorithm.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29966870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T09:33:09.965Z","status":"ssl_error","status_checked_at":"2026-03-01T09:25:48.915Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-09T08:45:42.071Z","updated_at":"2026-03-01T10:35:13.922Z","avatar_url":"https://github.com/arnim.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"SpearAlgorithm.jl\n=================\n\nImplementation of the [SPEAR ranking algorithm](http://www.michael-noll.com/projects/spear-algorithm/) in [Julia](http://julialang.org/)\n\nUsage\n-----\nStart with a chronological ordered list of user activities on resources and a credit scoring function as input to generate the adjacency matrix.\nThe first column of the activities matrix refers to the user the second to the resource. Each row of the matrix represents a single activity.\n\n    julia\u003e include(\"spear.jl\")\n\tjulia\u003e activities = [1 1\n\t                     2 1]\n\tjulia\u003e C(x) = x.^.5      # credit scoring function\n\tjulia\u003e A = generateAdjacencyMatrix(activities, C)\n\tjulia\u003e showall(A)        # display the adjacency matrix\n\t\nCalculate the user expertise scores and resource qualities\n\n\tjulia\u003e (expertise, quality) = runSpear(A)\n\tjulia\u003e showall(expertise) # print the expertise for each user\n\tx2 Float64 Array:\n\t0.585786  0.414214\n\tjulia\u003e showall(quality)   # print the quality for each resource\n\t1x1 Float64 Array:\n\t1.0\n\nAlternatively cd into demo and run\n\n    julia demo.jl \n    Users sorted by expertise \n    Odersky =\u003e  0.399\n    Alice =\u003e  0.326\n    Bob =\u003e  0.275\n    SomeOne =\u003e  0.0\n\n    Resources sorted by quality \n    http://www.scala-lang.org/ =\u003e  0.839\n    http://julialang.org/ =\u003e  0.161\n    http://www.shoppingportal.com =\u003e  0.0\n\t\nLicense \u0026 Copyright\n-------------------\nSpearAlgorithm.jl is licensed under the [MIT License](http://opensource.org/licenses/MIT).  \nCopyright (c) 2013: Arnim Bleier and other contributors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnim%2Fspearalgorithm.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnim%2Fspearalgorithm.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnim%2Fspearalgorithm.jl/lists"}