Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rustc 1.0.0-dev (b2e65ee6e 2015-04-07) (built 2015-04-07) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling racer v0.0.1 (file:///Users/byronyi/.vim/bundle/racer) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling racer v0.0.1 (file:///Users/byronyi/.vim/bundle/racer) | |
src/racer/ast.rs:51:5: 53:7 error: mismatched types: | |
expected `syntax::ast::Crate`, | |
found `core::result::Result<syntax::ast::Crate, syntax::diagnostic::FatalError>` | |
(expected struct `syntax::ast::Crate`, | |
found enum `core::result::Result`) [E0308] | |
src/racer/ast.rs:51 with_error_checking_parse(source_str, |p| { | |
src/racer/ast.rs:52 p.parse_crate_mod() | |
src/racer/ast.rs:53 }) | |
src/racer/snippets.rs:34:19: 34:30 error: attempted access of field `node` on type `&core::result::Result<syntax::ptr::P<syntax::ast::ImplItem>, syntax::diagnostic::FatalError>`, but no field with that name was found |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fresh rustc-serialize v0.3.12 | |
Fresh toml v0.1.20 | |
Compiling racer v0.0.1 (file:///Users/byronyi/.vim/bundle/racer) | |
Running `rustc src/main.rs --crate-name racer --crate-type bin -C opt-level=3 -g --out-dir /Users/byronyi/.vim/bundle/racer/target/release --emit=dep-info,link -L dependency=/Users/byronyi/.vim/bundle/racer/target/release -L dependency=/Users/byronyi/.vim/bundle/racer/target/release/deps --extern toml=/Users/byronyi/.vim/bundle/racer/target/release/deps/libtoml-e4d393d734aaa578.rlib` | |
src/racer/ast.rs:51:5: 53:7 error: mismatched types: | |
expected `syntax::ast::Crate`, | |
found `core::result::Result<syntax::ast::Crate, syntax::diagnostic::FatalError>` | |
(expected struct `syntax::ast::Crate`, | |
found enum `core::result::Result`) [E0308] | |
src/racer/ast.rs:51 with_error_checking_parse(source_str, |p| { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>K-means 聚类分析</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from __future__ import division, print_function, unicode_literals | |
import os | |
from datetime import datetime | |
from tempfile import mkdtemp | |
import joblib | |
import tempfile | |
from joblib import Memory |