IT |
気になる、記になる… |
Anker、「楽天お買い物マラソン」で90製品以上を最大40%オフで販売するセールを開催中(3月28日まで) |
https://taisy0.com/2023/03/21/169813.html
|
anker |
2023-03-21 11:30:49 |
IT |
気になる、記になる… |
楽天市場、ポイントが最大44倍になる「お買い物マラソン」のキャンペーンを開始(3月28日まで) |
https://taisy0.com/2023/03/21/169810.html
|
楽天市場 |
2023-03-21 11:24:50 |
AWS |
lambdaタグが付けられた新着投稿 - Qiita |
Playwright testをLambdaコンテナ上でRICを使って動作させる |
https://qiita.com/octop162/items/aee61b15f82ea8315fe9
|
lambdarunt |
2023-03-21 20:25:33 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Pythonのasyncioでgraceful shutdown |
https://qiita.com/yota-p/items/f288dd8b4b10bad712c1
|
asyncio |
2023-03-21 20:13:06 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Office JavaScript APIを使用してみた 導入時の所感 |
https://qiita.com/t19106/items/22629e6aa6476179bf3a
|
officejavascriptapi |
2023-03-21 20:58:52 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
ChatGPTで過去ログ見れない障害が発生してるのでログ保存サービス作った |
https://qiita.com/LostMyCode/items/f2c5331566e74b503210
|
chatgpt |
2023-03-21 20:25:30 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【入門】JavaScriptループ大全 |
https://qiita.com/myTK/items/31d1bcb7529ea7cdf079
|
javascript |
2023-03-21 20:16:59 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
Playwright testをLambdaコンテナ上でRICを使って動作させる |
https://qiita.com/octop162/items/aee61b15f82ea8315fe9
|
lambdarunt |
2023-03-21 20:25:33 |
技術ブログ |
Developers.IO |
【書評】新しいゲノムの教科書 DNAから探る最新・生命科学入門 |
https://dev.classmethod.jp/articles/book-review-new-genome-textbook/
|
amazonomics |
2023-03-21 11:37:30 |
海外TECH |
MakeUseOf |
What Is a Hybrid Blockchain, and How Does It Differ from a Regular Blockchain? |
https://www.makeuseof.com/what-is-hybrid-blockchain-how-differ-from-regular-blockchain/
|
solution |
2023-03-21 11:45:16 |
海外TECH |
MakeUseOf |
How to Remove the Reading List From Google Chrome |
https://www.makeuseof.com/remove-google-reading-list/
|
placement |
2023-03-21 11:30:16 |
海外TECH |
MakeUseOf |
What Is the Head and Shoulders Pattern in Crypto Trading? |
https://www.makeuseof.com/what-is-head-shoulders-pattern-crypto-trading/
|
pattern |
2023-03-21 11:15:16 |
海外TECH |
DEV Community |
Build your first Data science project from your Netflix data |
https://dev.to/shittu_olumide_/build-your-first-data-science-project-from-your-netflix-data-4gi0
|
Build your first Data science project from your Netflix dataAre you new to Data science are you still trying to get your first project up and running if this is you you are in the right place In this article we will build a data science project together or should I say you will build your first data science project using your own Netflix data It is not always easy getting the right dataset for a data science project so why go through that stress when you can easily get your own data from Netflix and convert it into a dataset since Netflix allows you to download your complete watching history which you can actually use to build cool data science projects We will make use of some Python libraries Pandas and Matplotlib and at the end of this article you should have a project that can be added to your portfolio PrerequisitesBasic knowledge of Python Pandas and Matplotlib Pandas and Matplotlib installed on your computer but if you don t have them installed already pip install pandas amp pip install matplotlib to install them A Netflix account Get the raw dataFor us to be able to build this project we will need data We can get the raw data by following these steps Login to your Netflix account Navigate to the Get my info page and request your data A confirmation email will be sent to you make sure to confirm it An email will be sent to you that your download is ready Note this might take a while to come After you download the zip file you should see these directories Click on the CONTENT INTERACTION folder and open the ViewingActivity csv file this contains your full watching history Let s examine the dataWe will use our knowledge of Pandas to examine the data and see what we have But first let s import the ViewingActivity csv file into our notebook and read it as a Pandas dataframe import pandas as pddf pd read csv ViewingActivity csv Let s have a look at the first set of rows that we have df head Let s see the number of rows and columns that we are working with df shape output From the dataset we have columns Profile Name ー This shows the profiles of people sharing a Netflix account Title ー This column contains the names of the series a particular user is watching Start Time amp Duration ー This shows us when and also for how long did a user on the profile watch a movie Device TypeーThis contains the different devices used to watch these movies Country ー The location Country where the particular profile is watching from You can check out the remaining columns Before we can work with the data in more detail we need to understand the underlying data types df dtypesFrom the result we see that all the columns store the data in the object data type Getting the number of users on the Netflix accountWe can get the number of people that we share the same Netflix account with all we have to do is find the unique users within the Profile Name column df Profile Name unique Getting the number of devices watching on the Netflix accountIn the same way we found the number of users on the Netflix account we can also find the number of unique devices watching movies on the account df Device Type unique Getting the profile with the most viewing and activitiesWe can find out which of the users is interacting and watching the most amongst the whole users on the Netflix account We will use the DataFrame value counts method to count the number of row occurrences df Profile Name value counts Using Matplotlib we can easily visualize this matplotlib inlineimport matplotlibimport matplotlib pyplot as pltdf Profile Name value counts plot kind bar plt show The output looks like this Getting the profile with the most watched timeIn order to get the user that watched movies the most we have to go through several steps The first thing to do is to transform the Start Time and Duration columns into a DateTime format df Start Time pd to datetime df Start Time utc True df Duration pd to timedelta df Duration The next thing is to check the overall viewing duration for all profiles df Duration sum Let s find the viewing duration for each profile df loc df Profile Name Add your profile name Duration sum From the result we will notice that we have the same order as the profile with the most activities So that means that the profile with the most activities also has a higher watch time The visualization is not that easy because a Timedelta is nothing that can be plotted using Matplotlib So we have to perform another Transformation with NumPy s astype method df loc df Profile Name Your profile name Duration astype timedelta s sum So we can now create a dictionary to store the overall watch time per user in seconds watchTime watchTime update First Profile df loc df Profile Name First Profile Duration astype timedelta s sum watchTime update Second Profile df loc df Profile Name Second Profile Duration astype timedelta s sum watchTime update Third Profile df loc df Profile Name Third Profile Duration astype timedelta s sum The dictionary looks like this First Profile Second Profile Third Profile So we can now plot the bar chart matplotlib inlineimport matplotlibimport matplotlib pyplot as pltplt bar zip watchTime items plt show Getting the devices used by a user and which device is used the mostWe will first have a look at the Device Type column and see the devices used by each user they are actually plenty some were even used just once while some were used frequently df Device Type value counts We can again quickly plot this in a bar chart df Device Type value counts plot kind bar plt show We can now filter them based on each user just in case you want to know how many devices you used df device df loc df Profile Name Your profile name df device Device Type value counts We will see the see device name and the number of times it was used by that particular user So we can plot the bar chart now df device Device Type value counts plot kind bar plt show ConclusionIn this article we were able to cover a simple data science project download raw data from Netflix analyse and visualize the data As you can also see that we answered a number of questions using the dataset and trust me more questions can still be explored I am curious to know know what project ideas you get from this article and what you build In the meantime how about you answer these questions with the dataset The most popular watched title A movie watched by all users Recommend a movie for one user based on the common watching history of other users Let s connect on Twitter and on LinkedIn You can also subscribe to my YouTube channel Happy Coding |
2023-03-21 11:47:15 |
海外TECH |
Engadget |
ChatGPT briefly went offline after a bug revealed user chat histories |
https://www.engadget.com/chatgpt-briefly-went-offline-after-a-bug-revealed-user-chat-histories-115632504.html?src=rss
|
ChatGPT briefly went offline after a bug revealed user chat historiesChatGPT went offline and temporarily became inaccessible on Monday after some users discovered that they could see the titles of other people s chat histories People posted screenshots of their ChatGPT UI on social networks like Reddit and Twitter showing sidebars populated with chats they said weren t theirs While they could only see the titles and not the entirety of other people s conversations the incident still highlights the need to be mindful when it comes with sharing details with or writing up questions for the chatbot nbsp An OpenAI spokesperson told Bloomberg that the company temporarily disabled ChatGPT after it became aware of these reports Apparently a bug in an open source software that the company has yet to name had caused the issue but OpenAI is still investigating to figure out what triggered it exactly Based on the company s incident report it shut down ChatGPT on Monday morning and then fully restored the service hours later after rolling out a fix As of this writing though chat histories are still unavailable OpenAI posted a note saying as much on the sidebar along with an assurance that it s quot working to restore this feature as soon as possible quot The company has not announced an ETA for the feature s restoration nbsp This article originally appeared on Engadget at |
2023-03-21 11:56:32 |
海外TECH |
Engadget |
The Morning After: Xbox's mobile game store could arrive next year |
https://www.engadget.com/the-morning-after-xboxs-mobile-game-store-could-arrive-next-year-112026527.html?src=rss
|
The Morning After Xbox x s mobile game store could arrive next yearMicrosoft could launch an Xbox store on iOS and Android as early as next year according to a Financial Times interview with Phil Spencer Microsoft first revealed it was working on an Xbox store for mobile devices in a document filed with the UK s Competition and Markets Authority CMA last year The head of the company s gaming division said the plan depends on regulators approving Microsoft s billion acquisition of Activision Blizzard “The Digital Markets Act DMA that s coming those are the kinds of things that we are planning for he said “I think it s a huge opportunity Under the DMA major platforms the European Union designates as “gatekeepers will be required to open their devices to competing app stores Bloomberg reported last year that Apple was already preparing to make iOS compliant with this legislation ahead of its March deadline Spencer also noted in the interview it would be “pretty trivial for Microsoft to adapt its existing Xbox and Game Pass apps to sell games and subscriptions through mobile devices Mat SmithThe Morning After isn t just a newsletter it s also a daily podcast Get our daily audio briefings Monday through Friday by subscribing right here The biggest stories you might have missedThe best budget robot vacuums for How to organize your desk at homeApple s GB Mac Mini M is off right nowAmazon will lay off another employees in the coming weeksLG s iridescent Gram Style laptops start at Samsung s expanded OLED TV lineup includes a new lower priced series Acer is making an e bikeBecause why not AcerAcer is making a serious left turn Typically known for its PCs laptops and accessories the company has revealed the ebii an e bike for cities with AI features that learn riders personal preferences and change gears depending on road conditions It s about pounds making it lighter than most e bikes Acer claims it has a maximum assist speed of MPH and can go just under miles on one charge For now there s no date or price Continue reading Kamado Joe s new ceramic grill has smart features and one button ignitionA true ceramic grill with two big upgrades Ceramic kamado style grills have been some of the best grilling gear available for backyard cooks for a long time However it takes practice to master lighting them and maintain cooking temperatures But the new Konnected Joe has a push button charcoal igniter to get the grill going and a digitally controlled fan system to keep the heat level where you need it The inch diameter cooking surface gives you enough room for burgers four whole chickens or two pork butts the latter being my new favorite unit of measure for area Continue reading Netflix plans to add roughly more titles to its mobile game library this yearThe Monument Valley series will hit the service in Netflix continues to build up an incredible library of mobile games that surprisingly aren t awful Maybe because it s been buying established titles and developers Apparently Netflix is just getting started and plans to add around more games throughout the year The company has revealed a few of those titles including reverse city builder Terra Nil March th and Paper Trail in which you fold parts of the world to solve puzzles Netflix has also struck a deal with Ubisoft for three exclusive games Continue reading The next gen Digits robot gets a head and handsThe updated model can haul more weight and reach farther DigitsAgility Robotics announced an updated version of its bipedal Digits warehouse robot Designed to take on repetitive or injury risking tasks the new version adds a head with LED animated eyes and hands and it can handle a wider variety of demanding workloads than its predecessor The company is opening applications for spots in its Agility Partner Program APP which will be the only place to purchase them initially Pricing has yet to be announced but the first units should ship in early Continue reading BitDo game controllers now work with Apple devicesSix models are compatible now and more are incoming BitDo makers of some of our favorite and well priced smartphone gamepads has confirmed its controllers now officially support iPhones iPads and Macs thanks to firmware upgrades and Apple s recent iOS iPadOS tvOS and macOS updates The compatibility is limited to the Lite SE Pro Pro SN Pro SN Pro for Android and Ultimate Controller g but more models are quot incoming quot Continue reading This article originally appeared on Engadget at |
2023-03-21 11:20:26 |
海外TECH |
Engadget |
TikTok is revamping its community guidelines ahead of a potential US ban |
https://www.engadget.com/tiktok-is-revamping-its-community-guidelines-ahead-of-a-potential-us-ban-110054493.html?src=rss
|
TikTok is revamping its community guidelines ahead of a potential US banAs TikTok gears up for its latest fight to not get banned in the United States the company is again trying to increase transparency around how it operates TikTok revealed an updated set of community guidelines the sweeping set of rules that dictates what creators are allowed to post on its platform The changes come just days ahead of CEO Shou Zi Chew s first ever Congressional appearance where he will be grilled about allegations TikTok is a threat to national security The company has been on a charm offensive to fend off these claims and has recently made efforts to demystify its algorithm policies and moderation practices Likewise the newly updated community guidelines set to take effect next month contain more details about the platform s rules and how it enforces them Though TikTok calls it “the most comprehensive updates to our Community Guidelines to date many of the actual changes are tweaks to existing policies rather than completely new or rewritten guidelines One notable exception is that the new guidelines include an entire section dedicated to AI generated and “synthetic media While the company first came out with rules banning misleading manipulated media ahead of the presidential election the updated guidelines are much more explicit about how Ai generated content can be used on the platform “Synthetic media or manipulated media that shows realistic scenes must be clearly disclosed the new guidelines state “This can be done through the use of a sticker or caption such as synthetic fake not real or altered The rules also note that synthetic media of “any real private figure is prohibited and that AI generated content showing public figures like a celebrity cannot be used for political or commercial endorsements Of course TikTok is facing much bigger issues right now than the clarity of its community guidelines Federal officials have told parent company ByteDance that TikTok could face a total ban in the United States if the Chinese firm doesn t sell its stake in the app Meanwhile the company argued that a ban would hurt its million US users including small businesses and creators This article originally appeared on Engadget at |
2023-03-21 11:00:54 |
海外科学 |
NYT > Science |
The Surgeon General’s New Mission: Adolescent Mental Health |
https://www.nytimes.com/2023/03/21/health/surgeon-general-adolescents-mental-health.html
|
culture |
2023-03-21 11:12:44 |
海外TECH |
WIRED |
The Quest for Injectable Brain Implants Has Begun |
https://www.wired.com/story/injectable-brain-electrodes-bci-parkinsons/
|
invention |
2023-03-21 11:21:58 |
ニュース |
BBC News - Home |
Ofsted: Head teacher's family blames death on school inspection pressure |
https://www.bbc.co.uk/news/uk-england-berkshire-65021154?at_medium=RSS&at_campaign=KARANGA
|
intolerable |
2023-03-21 11:42:03 |
ニュース |
BBC News - Home |
Tesco to cut the value of Clubcard rewards scheme |
https://www.bbc.co.uk/news/business-65024091?at_medium=RSS&at_campaign=KARANGA
|
clubcard |
2023-03-21 11:10:58 |
ニュース |
BBC News - Home |
Bad Bunny sued for $40m by ex-girlfriend over 'Bad Bunny baby' recording |
https://www.bbc.co.uk/news/entertainment-arts-65024779?at_medium=RSS&at_campaign=KARANGA
|
puerto |
2023-03-21 11:00:45 |
ニュース |
BBC News - Home |
Met Police: Women and children failed by 'boys' club', review finds |
https://www.bbc.co.uk/news/uk-65015479?at_medium=RSS&at_campaign=KARANGA
|
baroness |
2023-03-21 11:10:01 |
ニュース |
BBC News - Home |
Casey report: Rape victim says no chance of reforming 'vile' Met Police |
https://www.bbc.co.uk/news/uk-england-london-65016253?at_medium=RSS&at_campaign=KARANGA
|
casey |
2023-03-21 11:31:49 |
コメント
コメントを投稿