- How to Make Manual Predictions for ARIMA Models with Python
- How to Make Out-of-Sample Forecasts with ARIMA in Python
- How to Model Residual Errors to Correct Time Series Forecasts with Python
- How to Tune ARIMA Parameters in Python
- Sensitivity Analysis of History Size to Forecast Skill with ARIMA in Python
We can't make this file beautiful and searchable because it's too large.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title,label | |
"15 Highly Important Questions About Adulthood, Answered By Michael Ian Black",1 | |
250 Nuns Just Cycled All The Way From Kathmandu To New Delhi,1 | |
"Australian comedians ""could have been shot"" during APEC prank",0 | |
Lycos launches screensaver to increase spammers' bills,0 | |
Fußball-Bundesliga 2008–09: Goalkeeper Butt signs with Bayern Munich,0 | |
"In Afghanistan, Soldiers Bridge 2 Stages of War",0 | |
"After Fleeing North Korea, an Artist Parodies Its Propaganda",0 | |
Lessons (or Not) When a Start-Up Misses the Mark,0 | |
Court Issues Order Against 3 Car-Warranty Calling Firms,0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
from deepmoji import DeepMoji | |
# Instantiate the Emoji Model | |
emoji_model = DeepMoji() | |
# Read a file containing user opinions | |
df = pd.read_csv('https://bit.ly/2VbfNiM') | |
# Predict the emojis for the open-ended text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import string | |
from wordcloud import WordCloud | |
from collections import Counter | |
import matplotlib.pyplot as plt | |
class EmojiCloud: | |
def __init__(self, | |
font_path='Symbola.ttf', | |
color='yellow'): | |
self.font_path = font_path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import string | |
from wordcloud import WordCloud | |
from collections import Counter | |
import matplotlib.pyplot as plt | |
class EmojiCloud: | |
def __init__(self, | |
font_path='Symbola.ttf', | |
color='yellow'): | |
self.font_path = font_path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
emoji_cloud = EmojiCloud(font_path='./Symbola.ttf', color='yellow') | |
emoji_cloud.generate(emojis) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install git+https://github.com/nexxt-intelligence/DeepMoji@tf-keras | |
pip install wordcloud matplotlib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from zipfile import ZipFile | |
for annotator, subset in annotation_df.groupby('annotator'): | |
with ZipFile(f'{annotator}.zip', 'w') as z: | |
for path in subset['image_path']: | |
z.write(path, os.path.basename(path)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download button | |
st.download_button( | |
label="Download sample file here", | |
data=sample_file, | |
file_name='sample_data.csv', | |
mime='text/csv', | |
) |