Pinned Loading
-
Feature Ranking #python #DataScience
Feature Ranking #python #DataScience 1TOP_FEATURES = len(feature_list)
23forest = RandomForestClassifier(n_estimators=10,max_depth=6)#, random_state=3)
4forest.fit(l_mat[1],l_label[1])
5 -
Data Ingestion #python #DataScience
Data Ingestion #python #DataScience 1def get_data_lists(selected_col=[], indvGroupOnly=False):
23# Data input
4xls = pd.ExcelFile("final_data_NMR_DILC_comb.xlsx")
5day1_org = pd.read_excel(xls,"Day1")
-
Get all Tags Anki
Get all Tags Anki 1# WRITE CODE BLOCK IN DEBUG CONSOLE (cmd shift D in anki main window)
2# RUN CODE w Cmd Return
34#GET ALL TAGS
5from aqt import mw
-
Boruta and Classification #python #D...
Boruta and Classification #python #DataScience 1feat_true, feat_top_rank = boruta_MP(l_mat,l_label,l_title,l_features,nest='auto',top_rank=5)
23# TRUE Feat
45l_cv = 3,5,6,7
-
Profiling Python File RunTime #pytho...
Profiling Python File RunTime #pythonTips 1c_profiler -> gives times of functions
2line_profiler -> gives times of line by lie
34#@profile -> needed for linebyline
5def func():
-
SSH Commands #Shell
SSH Commands #Shell 1**General File/Directory Commands**
2rm _fileName_ -> remove file
3rm -rf _dirName_ -> remove folder
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.