Skip to content

Instantly share code, notes, and snippets.

View shantoroy's full-sized avatar

Shanto Roy shantoroy

View GitHub Profile
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from sklearn.metrics import classification_report, confusion_matrix
import joblib
import os
def preprocess(dataset, x_iloc_list, y_iloc, testSize):
import getpass
import paramiko
import time
def execute_command_ssh(olt_ip, username, password):
try:
# Create an SSH client instance
ssh_client = paramiko.SSHClient()
# Automatically add the server's host key