Skip to content

Commit

Permalink
refactor: Modify package structure (#48)
Browse files Browse the repository at this point in the history
* refactor: Modify package structure

* refactor: Modify package structure

* refactor: Modify package structure
  • Loading branch information
kajanan1212 authored May 12, 2024
1 parent ead11ee commit b183fc1
Show file tree
Hide file tree
Showing 40 changed files with 19 additions and 15 deletions.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
<p align="center">
<img height="238" src="./docs/images/logo-1.png" alt="ibat_logo">
<img height="238" src="./asserts/images/logo-1.png" alt="ibat_logo">
</p>

<p align="center">
<img src="https://img.shields.io/badge/-Project-blue" alt="project">
<img src="https://img.shields.io/badge/-Research-yellowgreen" alt="research">
<b>iBAT</b> is a Python framework to enhance the real-time bus arrival/dwell time prediction in heterogenous traffic condition by addressing concept drift.
</p>

[//]: # (<p align="center">)

[//]: # ( <img src="https://img.shields.io/badge/-Project-blue" alt="project">)

[//]: # ( <img src="https://img.shields.io/badge/-Research-yellowgreen" alt="research">)

[//]: # (</p>)

<p align="center">
<img src="https://img.shields.io/badge/Bus%20arrival%20time%20prediction-8A2BE2" alt="batpre">
<img src="https://img.shields.io/badge/Bus%20arrival/dwell%20time%20prediction-8A2BE2" alt="batpre">
<img src="https://img.shields.io/badge/Hybrid%20batch%20processing-8A2BE2" alt="hbp">
<img src="https://img.shields.io/badge/Concept%20drift%20handling-8A2BE2" alt="cdrift">
<img src="https://img.shields.io/badge/Active%20strategy-8A2BE2" alt="active">
<img src="https://img.shields.io/badge/Incremental%20online%20learning-8A2BE2" alt="iol">
<img src="https://img.shields.io/badge/Incremental%20learning-8A2BE2" alt="iol">
</p>
<p align="center">
<!-- PyPI -->
Expand All @@ -20,22 +28,18 @@
</a>
<!-- PePy -->
<a href="https://pepy.tech/project/gps2gtfs">
<img src="https://static.pepy.tech/badge/gps2gtfs?label=PyPI%20downloads&style=flat-square" alt="pepy">
<img src="https://static.pepy.tech/badge/gps2gtfs?label=PyPI%20downloads&color=blue&style=flat-square" alt="pepy">
</a>
<!-- Black -->
<a href="https://github.com/psf/black">
<img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="black">
<img src="https://img.shields.io/badge/code%20style-black-000000.svg?color=blue" alt="black">
</a>
<!-- License -->
<a href="https://opensource.org/licenses/BSD-3-Clause">
<img src="https://img.shields.io/badge/License-BSD%203--Clause-blue.svg?style=flat-square" alt="bsd_3_license">
</a>
</p>

<p align="center">
<b>iBAT</b> is a Python framework to enhance the real-time bus arrival time prediction in heterogenous traffic condition by addressing concept drift.
</p>

## Description

<p align="justify">
Expand All @@ -45,7 +49,7 @@
## Architecture

<p align="center">
<img src="./docs/images/archi-dig.png" alt="archi-dig">
<img src="./asserts/images/archi-dig.png" alt="archi-dig">
</p>

## 🛠 Installation
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
Binary file added asserts/images/archi-dig-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added asserts/images/archi-dig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion examples/concept_drift_detector/adwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from src.concept_drift_detector.strategies import ADWIN


sorted_mean_arrival_time = pd.read_csv("../../docs/datasets/input.csv")
sorted_mean_arrival_time = pd.read_csv("../../asserts/datasets/input.csv")

stream = np.array(list(sorted_mean_arrival_time["arrival_time_in_seconds"]))

Expand Down
2 changes: 1 addition & 1 deletion examples/concept_drift_detector/ddm.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def split_train_test(split_date, df):
return before_missing_dates, after_missing_dates


sorted_mean_arrival_time = pd.read_csv("../../docs/datasets/input.csv")
sorted_mean_arrival_time = pd.read_csv("../../asserts/datasets/input.csv")

train, test = split_train_test("2022-03-01", sorted_mean_arrival_time)

Expand Down
2 changes: 1 addition & 1 deletion examples/concept_drift_detector/page_hinkley.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from src.concept_drift_detector.strategies import PageHinkley


sorted_mean_arrival_time = pd.read_csv("../../docs/datasets/input.csv")
sorted_mean_arrival_time = pd.read_csv("../../asserts/datasets/input.csv")

stream = np.array(list(sorted_mean_arrival_time["arrival_time_in_seconds"]))

Expand Down

0 comments on commit b183fc1

Please sign in to comment.