All Projects → MathBunny → Strava Wind Analysis

MathBunny / Strava Wind Analysis

Licence: gpl-3.0
Analytics and data visualization site for Strava

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Strava Wind Analysis

Hamming
Hamming distance and bit counting primitives in Go (golang)
Stars: ✭ 30 (-23.08%)
Mutual labels:  algorithms
Cs Book
计算机类常用电子书整理,并且附带下载链接,包括Java,Python,Linux,Go,C,C++,数据结构与算法,人工智能,计算机基础,面试,设计模式,数据库,前端等书籍
Stars: ✭ 9,264 (+23653.85%)
Mutual labels:  algorithms
Fragile
Framework for building algorithms based on FractalAI
Stars: ✭ 36 (-7.69%)
Mutual labels:  algorithms
Algos
Popular Algorithms and Data Structures implemented in popular languages
Stars: ✭ 966 (+2376.92%)
Mutual labels:  algorithms
Innovative Hacktober
Make a pull request. Let's hack the ocktober in an innovative way.
Stars: ✭ 34 (-12.82%)
Mutual labels:  algorithms
Mlcourse.ai
Open Machine Learning Course
Stars: ✭ 7,963 (+20317.95%)
Mutual labels:  algorithms
Coding Challenges
solutions to coding challenges and algorithm and data structure building blocks
Stars: ✭ 28 (-28.21%)
Mutual labels:  algorithms
Algorithms
Here is the my solutions for problems in {leetcode, hackerrank, geeksforgeeks}
Stars: ✭ 36 (-7.69%)
Mutual labels:  algorithms
Codewars Handbook
A Handbook of Codewars Challenges 👘⛩🥋
Stars: ✭ 34 (-12.82%)
Mutual labels:  algorithms
Algo Phantoms Backend
💻 Algo-Phantoms-Backend is an Application that provides pathways and quizzes along with a code editor to help you towards your DSA journey.📰🔥 This repository contains the REST APIs of the application.✨
Stars: ✭ 36 (-7.69%)
Mutual labels:  algorithms
Deepdatabase
A relational database engine using B+ tree indexing
Stars: ✭ 32 (-17.95%)
Mutual labels:  algorithms
Algorithm study
algorithms and data structures for coding contest (designed for 'copy & paste')
Stars: ✭ 33 (-15.38%)
Mutual labels:  algorithms
Lib9wada
Wonderful library with lots of useful functions, algorithms and data structures in C, link it with -l9wada
Stars: ✭ 35 (-10.26%)
Mutual labels:  algorithms
Algos And Data Structures
Collection of Test Specs and Implementation of various algorithms and data structures from the Princeton Coursera course: Intro to Algorithms part 1 and 2
Stars: ✭ 31 (-20.51%)
Mutual labels:  algorithms
Quant Finance Resources
Courses, Articles and many more which can help beginners or professionals.
Stars: ✭ 36 (-7.69%)
Mutual labels:  algorithms
Ds Algo Point
This repository contains codes for various data structures and algorithms in C, C++, Java, Python, C#, Go, JavaScript, PHP, Kotlin and Scala
Stars: ✭ 949 (+2333.33%)
Mutual labels:  algorithms
Machinelearning
ML.NET is an open source and cross-platform machine learning framework for .NET.
Stars: ✭ 7,755 (+19784.62%)
Mutual labels:  algorithms
Learn some algorithm and data structure
从零开始回顾一下最简单最基础的算法与数据结构
Stars: ✭ 38 (-2.56%)
Mutual labels:  algorithms
Blog
About math, programming and procedural generation
Stars: ✭ 37 (-5.13%)
Mutual labels:  algorithms
Algorithms Tutorial
Algorithms Tutorial
Stars: ✭ 35 (-10.26%)
Mutual labels:  algorithms

Strava Wind Analysis
Bringing machine learning analytics, data visualization and weather data to cycling activities and segments.

Build Status GitHub issues Uptime Robot ratio (7 days) node npm release GitHub license

Features

  • Strava OAuth authentication
  • Performance analytics on historical segment and aggregate data
  • Interactive charts using chart.js, Google Maps integration
  • Wind analysis using DarkSky API and vector manipulation algorithm
  • Individual modals with athlete-specific statistics on segment leaderboard
  • Linear regression and interpolation tools using scikit-learn
  • Segment and ride filtering options (distance, speed, etc.)
  • Content-based segment recommendation engine for scrolling feed
  • Improved performance with Redis caching
  • Integration with MongoDB including weather API throttling and user profiles
  • Legacy website support

Screenshots

Strava Wind Analysis Strava Wind Analysis Strava Wind Analysis Strava Wind Analysis Strava Wind Analysis Strava Wind Analysis Strava Wind Analysis

Build, Configure and Run

First, install the dependencies. Ensure you have Node.js installed and npm:

npm install

Now setup the configuration file in the root folder as follows (saved as config.js):

const clientID = 0;
const clientSecret = "0";
const callbackURL = "http://localhost:3000/login/callback";
const weatherKey = "YourDarkSkyWeatherKey";
const port = 3000;
const accessToken = "0";
const mlEndpoint = "YourMLEndPoint";
const defaultExpirationTime = 7200; // Redis cache expiration time
const mongoDBUrl = ''; // MongoDB url
const dailyDarkSkyLimit = 500; // Hard limit on API calls per day
const elasticsearchendpoint = 'YourElasticsearchEndpoint';

exports.clientID = clientID;
exports.clientSecret = clientSecret;
exports.callbackURL = callbackURL;
exports.port = port;
exports.weatherKey = weatherKey;
exports.accessToken = accessToken;
exports.mlEndpoint = mlEndpoint;
exports.defaultExpirationTime = defaultExpirationTime;
exports.mongoDBUrl = mongoDBUrl;
exports.dailyDarkSkyLimit = dailyDarkSkyLimit;
exports.elasticsearchendpoint = elasticsearchendpoint;

Now setup a Redis instance and direct it to localhost with port 6379 (default configuration).

Install and run the machine learning server with Flask:

FLASK_APP=app.py flask run

To start the server use:

npm start

Running Tests

You can run tests using Mocha and Chai:

npm test

Contributing

Feel free to submit a pull request. The coding conventions of this app follow the Airbnb base style guide.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].