-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libsvmread can't open file in matlab #122
Comments
On linux I can read a file with your file name without problem:
> [y,x]=libsvmread('../heart_scale');
[y,x]=libsvmread('../heart_scale');
> !cp ../heart_scale ../train_data_scale.txt
!cp ../heart_scale ../train_data_scale.txt
> [y,x]=libsvmread('../train_data_scale.txt');
[y,x]=libsvmread('../train_data_scale.txt');
…>
On 2018-07-22 11:36, fishlao wrote:
Recently, there is a problem when i used libsvm in matlab.
when i used the function libsvmread, the filename used is not the same
as i input.
[1]
and then i copy the same file in path 'E:/test.txt', i can success in
loading the data in matlab.
the location of file is right,and i wonder how should i solve the
problem if i consist to use this long path.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [2], or mute the
thread [3]. [ { ***@***.***": "http://schema.org", ***@***.***":
"EmailMessage", "potentialAction": { ***@***.***": "ViewAction", "target":
"#122", "url":
"#122", "name": "View Issue" },
"description": "View this Issue on GitHub", "publisher": { ***@***.***":
"Organization", "name": "GitHub", "url": "https://github.com" } }, {
***@***.***": "MessageCard", ***@***.***": "http://schema.org/extensions",
"hideOriginalBody": "false", "originator":
"AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "libsvmread can't
open file in matlab (#122)", "sections": [ { "text": "",
"activityTitle": "**fishlao**", "activityImage":
"https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": ***@***.***", "facts": [ { "name": "Repository: ",
"value": "cjlin1/libsvm" }, { "name": "Issue #: ", "value": 122 } ] }
], "potentialAction": [ { "name": "Add a comment", ***@***.***":
"ActionCard", "inputs": [ { "isMultiLine": true, ***@***.***": "TextInput",
"id": "IssueComment", "isRequired": false } ], "actions": [ { "name":
"Comment", ***@***.***": "HttpPOST", "target": "https://api.github.com",
"body": "{\n\"commandName\":
\"IssueComment\",\n\"repositoryFullName\":
\"cjlin1/libsvm\",\n\"issueId\": 122,\n\"IssueComment\":
\"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue",
***@***.***": "HttpPOST", "target": "https://api.github.com", "body":
"{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\":
\"cjlin1/libsvm\",\n\"issueId\": 122\n}" }, { "targets": [ { "os":
"default", "uri": "#122" } ],
***@***.***": "OpenUri", "name": "View on GitHub" }, { "name":
"Unsubscribe", ***@***.***": "HttpPOST", "target":
"https://api.github.com", "body": "{\n\"commandName\":
\"MuteNotification\",\n\"threadId\": 359097372\n}" } ], "themeColor":
"26292E" } ]
Links:
------
[1]
https://user-images.githubusercontent.com/11990207/43041998-771a9f9a-8da3-11e8-822f-657bd8bcf557.png
[2] #122
[3]
https://github.com/notifications/unsubscribe-auth/AFGwnnG7Eo5ZjlrzIPwPWQPUy4oaxwhiks5uI_NOgaJpZM4VZ2Qc
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Recently, there is a problem when i used libsvm in matlab.
when i used the function libsvmread, the filename used is not the same as i input.
and then i copy the same file in path 'E:/test.txt', i can success in loading the data in matlab.
the location of file is right,and i wonder how should i solve the problem if i consist to use this long path.
The text was updated successfully, but these errors were encountered: