{"id":18620330,"url":"https://github.com/natural-intelligence/data-science-interview-excercise","last_synced_at":"2025-07-21T12:35:34.037Z","repository":{"id":149504688,"uuid":"227286684","full_name":"Natural-Intelligence/data-science-interview-excercise","owner":"Natural-Intelligence","description":null,"archived":false,"fork":false,"pushed_at":"2020-01-15T11:31:23.000Z","size":1174,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":45,"default_branch":"master","last_synced_at":"2024-12-27T04:24:54.500Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Natural-Intelligence.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-11T05:49:58.000Z","updated_at":"2020-01-15T11:31:25.000Z","dependencies_parsed_at":"2023-07-02T10:45:17.269Z","dependency_job_id":null,"html_url":"https://github.com/Natural-Intelligence/data-science-interview-excercise","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"e0472a6c4fed43cbf0bf7cec05265deeb278afc6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Natural-Intelligence%2Fdata-science-interview-excercise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Natural-Intelligence%2Fdata-science-interview-excercise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Natural-Intelligence%2Fdata-science-interview-excercise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Natural-Intelligence%2Fdata-science-interview-excercise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Natural-Intelligence","download_url":"https://codeload.github.com/Natural-Intelligence/data-science-interview-excercise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239413531,"owners_count":19634263,"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":[],"created_at":"2024-11-07T04:05:46.312Z","updated_at":"2025-02-18T05:23:41.569Z","avatar_url":"https://github.com/Natural-Intelligence.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"As a marketing company we are always looking for search terms that will show up in high position. \nYou are given a dataset of our different google campaigns, their keywords, and average position\n\n\u003cpre\u003e\n  campaignname                           keyword  averageposition  impressions\n0       IDT US                best id protection              1.5            2\n1       IDT US      identity protection services              4.0            4\n2       IDT US        credit monitoring services              2.7          356\n3       IDT US         identity theft protection              5.0           58\n4       IDT US           identity theft services              3.0            1\n5       IDT US         fraud protection services              6.0            1\n6       IDT US      +credit +monitoring +reviews              2.3           10\n\u003c/pre\u003e\n\nwrite a model that - given a campaign name, and an n-gram will return an estimated position or the n-gram.\n\n### Example\nfor input (campaign: \"IDT US\", keyword: \"best social security number prevention service\") you might return average position 2.4 \n\nfor input (campaign: \"IDT US\", keyword: \"fraud service\") you might return average position 7.3\n\n## Guidelines\n\n1) Write the code according to clean-code best practices.\n2) Write a module that will be used by developers to estimate the positions of their ads,\n   Think about the usability of your API. how do you make it acessible to developers? \n3) How would you test your code?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatural-intelligence%2Fdata-science-interview-excercise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatural-intelligence%2Fdata-science-interview-excercise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatural-intelligence%2Fdata-science-interview-excercise/lists"}