NewsRecommendationSystem

所属分类:数值算法/人工智能
开发工具:JavaScript
文件大小:21163KB
下载次数:0
上传日期:2018-04-17 02:16:07
上 传 者sh-1993
说明:  新闻推荐系统,这是一个实时的新闻抓取和推荐系统。该系统使用新闻管道来抓取最新的新闻...
(This is a real time news scraping and recommendation system. The system uses a news pipeline to scrape latest news from various of sources such CNN, BBC. To render the news, I built a single-page web application using React. In addition, in order to customize news list for users, I designed and built a training pipeline for news topic modeling)

文件列表:
tapNews.jpg (52190, 2018-04-17)
v1 (0, 2018-04-17)
v1\web_server (0, 2018-04-17)
v1\web_server\client (0, 2018-04-17)
v1\web_server\client\package-lock.json (360674, 2018-04-17)
v1\web_server\client\package.json (405, 2018-04-17)
v1\web_server\client\public (0, 2018-04-17)
v1\web_server\client\public\favicon.ico (3870, 2018-04-17)
v1\web_server\client\public\index.html (1662, 2018-04-17)
v1\web_server\client\public\manifest.json (317, 2018-04-17)
v1\web_server\client\src (0, 2018-04-17)
v1\web_server\client\src\App (0, 2018-04-17)
v1\web_server\client\src\App\App.css (138, 2018-04-17)
v1\web_server\client\src\App\App.js (482, 2018-04-17)
v1\web_server\client\src\App\logo.png (24837, 2018-04-17)
v1\web_server\client\src\Login (0, 2018-04-17)
v1\web_server\client\src\Login\LoginForm.css (103, 2018-04-17)
v1\web_server\client\src\Login\LoginForm.js (1805, 2018-04-17)
v1\web_server\client\src\Login\LoginPage.js (934, 2018-04-17)
v1\web_server\client\src\NewsCard (0, 2018-04-17)
v1\web_server\client\src\NewsCard\NewsCard.css (498, 2018-04-17)
v1\web_server\client\src\NewsCard\NewsCard.js (1325, 2018-04-17)
v1\web_server\client\src\NewsPanel (0, 2018-04-17)
v1\web_server\client\src\NewsPanel\NewsPanel.css (25, 2018-04-17)
v1\web_server\client\src\NewsPanel\NewsPanel.js (1805, 2018-04-17)
v1\web_server\client\src\SignUp (0, 2018-04-17)
v1\web_server\client\src\SignUp\SignUpForm.css (104, 2018-04-17)
v1\web_server\client\src\SignUp\SignUpForm.js (2133, 2018-04-17)
v1\web_server\client\src\SignUp\SignUpPage.js (1500, 2018-04-17)
v1\web_server\client\src\index.js (333, 2018-04-17)
v1\web_server\client\src\registerServiceWorker.js (4384, 2018-04-17)
v1\web_server\server (0, 2018-04-17)
v1\web_server\server\app.js (712, 2018-04-17)
v1\web_server\server\bin (0, 2018-04-17)
v1\web_server\server\bin\www (1592, 2018-04-17)
v1\web_server\server\node_modules (0, 2018-04-17)
... ...

# ms [![Build Status](https://travis-ci.org/zeit/ms.svg?branch=master)](https://travis-ci.org/zeit/ms) [![Slack Channel](http://zeit-slackin.now.sh/badge.svg)](https://zeit.chat/) Use this package to easily convert various time formats to milliseconds. ## Examples ```js ms('2 days') // 172800000 ms('1d') // 8***00000 ms('10h') // 36000000 ms('2.5 hrs') // 9000000 ms('2h') // 7200000 ms('1m') // 60000 ms('5s') // 5000 ms('1y') // 31557600000 ms('100') // 100 ``` ### Convert from milliseconds ```js ms(60000) // "1m" ms(2 * 60000) // "2m" ms(ms('10 hours')) // "10h" ``` ### Time format written-out ```js ms(60000, { long: true }) // "1 minute" ms(2 * 60000, { long: true }) // "2 minutes" ms(ms('10 hours'), { long: true }) // "10 hours" ``` ## Features - Works both in [node](https://nodejs.org) and in the browser. - If a number is supplied to `ms`, a string with a unit is returned. - If a string that contains the number is supplied, it returns it as a number (e.g.: it returns `100` for `'100'`). - If you pass a string with a number and a valid unit, the number of equivalent ms is returned. ## Caught a bug? 1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device 2. Link the package to the global module directory: `npm link` 3. Within the module you want to test your local development instance of ms, just link it to the dependencies: `npm link ms`. Instead of the default one from npm, node will now use your clone of ms! As always, you can run the tests using: `npm test`

近期下载者

相关文件


收藏者