Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
auto-sign
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guanzixin
auto-sign
Commits
e07dedee
Commit
e07dedee
authored
Sep 02, 2019
by
qinjiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
路径
parent
89b7a942
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
djangoSign3/dangoSign3/remark16.py
+2
-3
No files found.
djangoSign3/dangoSign3/remark16.py
View file @
e07dedee
...
...
@@ -65,9 +65,8 @@ def fit_and_predicted_use_CV(x_path, y_path, test_x, penalty='l2', solver='lbfgs
def
main
(
test_x
):
path
=
os
.
path
.
abspath
(
sys
.
argv
[
0
])
print
path
corpus
=
split_data_with_label
(
'path/../thu_data_all2.txt'
)
path
=
os
.
path
.
abspath
(
'thu_data_all2.txt'
)
corpus
=
split_data_with_label
(
path
)
input_x
,
y
=
corpus
count_vec
=
feature_extractor
()
train_x
=
count_vec
.
fit_transform
(
input_x
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment