mirror of
https://github.com/gsi-upm/sitc
synced 2026-03-02 17:58:16 +00:00
Updated to Pandas 3.X and corrected typos
This commit is contained in:
@@ -35,7 +35,7 @@ def plot_svm(df):
|
||||
order = np.random.permutation(n_sample)
|
||||
|
||||
X = X[order]
|
||||
y = y[order].astype(np.float)
|
||||
y = y[order].astype(float)
|
||||
|
||||
# do a cross validation
|
||||
nighty_precent_of_sample = int(.9 * n_sample)
|
||||
|
||||
Reference in New Issue
Block a user