mirror of
https://github.com/gsi-upm/sitc
synced 2026-03-03 02:08:17 +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)
|
order = np.random.permutation(n_sample)
|
||||||
|
|
||||||
X = X[order]
|
X = X[order]
|
||||||
y = y[order].astype(np.float)
|
y = y[order].astype(float)
|
||||||
|
|
||||||
# do a cross validation
|
# do a cross validation
|
||||||
nighty_precent_of_sample = int(.9 * n_sample)
|
nighty_precent_of_sample = int(.9 * n_sample)
|
||||||
|
|||||||
Reference in New Issue
Block a user