Skip to content
This repository has been archived by the owner on Oct 24, 2019. It is now read-only.

Commit

Permalink
Remove in_memory module, as it is not CRUD compatible.
Browse files Browse the repository at this point in the history
  • Loading branch information
whydinkov committed Oct 13, 2019
1 parent 58d3d33 commit ad97c6f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion docs/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ Dataset can be found in [Kaggle](http://kaggle.com/yoandinkov/mediascan-bg-artic
under 3 different types *data is the same in all of the types*. They are as follows:
* `articles.json` - Can be used if
* `toxic_articles.zip` - MongoDB dump of the database, to set it up.
* `articles.pickle` - Used for _in_memory_ module, primary goal is a cached version of original database. as

# Data model
14 changes: 0 additions & 14 deletions src/data_retrieval/helpers/in_memory.py

This file was deleted.

2 changes: 0 additions & 2 deletions src/experiments/save_tuned_predictions.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import numpy as np
import pandas as pd

from src.data_retrieval.helpers import in_memory
from src.classifier.sklearn import pipelines
from src.evaluation.compare import compare_classifiers
from src.preprocessing.transformator import get_df
Expand All @@ -12,7 +11,6 @@
#db = database.MongoDB()

articles = list(db.get_articles())
#articles = in_memory.get_articles()
df = get_df(articles)

clf = LogisticRegression()
Expand Down

0 comments on commit ad97c6f

Please sign in to comment.