Whitespace Ignore whitespace Split Unified 11 changes: 1 addition & 10 deletions 11 langchain/LangChain_Usecases.ipynb Original file line numberDiff line numberDiff line change @@ -2176,7 +2176,7 @@ }, { "cell_type": "code", "execution_count": null, "execution_count": 1, "metadata...
{ "@babel/code-frame": "^7.8.3", "@babel/generator": "^7.8.4", "@babel/helper-function-name": "^7.8.3", "@babel/helper-split-export-declaration": "^7.8.3", "@babel/parser": "^7.8.4", "@babel/types": "^7.8.3", "debug": "^4.1.0", "globals": "^11.1.0", "lodash...
+ "from sklearn.model_selection import train_test_split\n", + "from sklearn.metrics import mean_squared_error, mean_absolute_error, median_absolute_error, r2_score\n", + "\n", + "from sklearn.linear_model import LogisticRegression\n", + "\n", + "np.random.seed(1)" + ] + }...
\n", + "fileID = 'projection=' + G['meta_data']['projection'].split('(')[0] + '_' + \\\n", + "'n_cubes=' + str(G['meta_data']['n_cubes']) + '_' + \\\n", + "'perc_overlap=' + str(G['meta_data']['perc_overlap']) + '_' + \\\n", + "'clusterer...