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
cd projects/ | |
rm -rf googlex |
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
def test_list_closest(self, test_client: Client, test_dataset: Dataset): | |
n_clusters = 10 | |
clusterer = test_client.ClusterOps( | |
alias="new_clustering", | |
model=MiniBatchKMeans(n_clusters=n_clusters), | |
) | |
clusterer.run( | |
dataset_id=test_dataset.dataset_id, | |
vector_fields=["sample_1_vector_"], | |
) |
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
/* | |
* Libevent is a high-performance and portable asynchronous networking I/O library (http://libevent.org) | |
* This is small program to demonstrate the basic of libevent programming | |
* | |
* Copyright (C) 2012, Ardhan Madras <[email protected]> | |
*/ | |
#include <event.h> | |
#include <arpa/inet.h> | |
#include <netinet/in.h> |
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
#include <stdio.h> | |
int main(void) | |
{ | |
return puts("hello git!"); | |
} |