What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-28 15:50:09
how to find the accuracy of linear regression model
# Simple Linear Regression # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Salary_Data.csv') X = dataset.iloc[:, :-1].values y = dataset.iloc[:, 1].values # Sp... Add solution -
TypeScript 2022-02-20 03:10:16
typescript class import csv file
// # csv file import csvData from './latlong.csv'; //# text import import textData from '../common/text/info.txt'; //# json import import jsonData from '../common/json/jsondata.json'; export const TextResource = textData; // not-work export const JsonRe... Add solution -
Other 2022-02-18 05:35:02
openssl_decrypt(): IV passed is 16 bytes long which is longer than the 8 expected by selected cipher, truncating in BF-CBC
$textToEncrypt = "My super secret information."; $encryptionMethod = "AES-256-CBC"; // AES is used by the U.S. gov't to encrypt top secret documents. $secretHash = "25c6c7ff35b9979b151f2136cd13b0ff"; //To encrypt $encrypted... Add solution