Text this: Device Modeling Based on Cost-Sensitive Densely Connected Deep Neural Networks